$NetBSD: patch-configure,v 1.1 2018/05/19 11:47:11 youri Exp $

Use thunarx-3.

--- configure.orig	2018-05-19 11:34:57.000000000 +0000
+++ configure
@@ -597,7 +597,7 @@ PACKAGE_STRING='thunar-vcs-plugin 0.1.5'
 PACKAGE_BUGREPORT='thunar-dev@xfce.org'
 PACKAGE_URL=''
 
-ac_default_prefix=$(pkg-config --variable prefix thunarx-2 || echo /usr/local)
+ac_default_prefix=$(pkg-config --variable prefix thunarx-3 || echo /usr/local)
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
@@ -14049,22 +14049,22 @@ fi
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thunarx-2 >= 1.2.0" >&5
-$as_echo_n "checking for thunarx-2 >= 1.2.0... " >&6; }
-  if $PKG_CONFIG "--atleast-version=1.2.0" "thunarx-2" >/dev/null 2>&1; then
-    THUNARX_VERSION=`$PKG_CONFIG --modversion "thunarx-2"`
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thunarx-3 >= 1.2.0" >&5
+$as_echo_n "checking for thunarx-3 >= 1.2.0... " >&6; }
+  if $PKG_CONFIG "--atleast-version=1.2.0" "thunarx-3" >/dev/null 2>&1; then
+    THUNARX_VERSION=`$PKG_CONFIG --modversion "thunarx-3"`
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THUNARX_VERSION" >&5
 $as_echo "$THUNARX_VERSION" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking THUNARX_CFLAGS" >&5
 $as_echo_n "checking THUNARX_CFLAGS... " >&6; }
-    THUNARX_CFLAGS=`$PKG_CONFIG --cflags "thunarx-2"`
+    THUNARX_CFLAGS=`$PKG_CONFIG --cflags "thunarx-3"`
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THUNARX_CFLAGS" >&5
 $as_echo "$THUNARX_CFLAGS" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking THUNARX_LIBS" >&5
 $as_echo_n "checking THUNARX_LIBS... " >&6; }
-    THUNARX_LIBS=`$PKG_CONFIG --libs "thunarx-2"`
+    THUNARX_LIBS=`$PKG_CONFIG --libs "thunarx-3"`
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THUNARX_LIBS" >&5
 $as_echo "$THUNARX_LIBS" >&6; }
 
@@ -14076,15 +14076,15 @@ $as_echo "$THUNARX_LIBS" >&6; }
 
 
 
-  elif $PKG_CONFIG --exists "thunarx-2" >/dev/null 2>&1; then
-    xdt_cv_version=`$PKG_CONFIG --modversion "thunarx-2"`
+  elif $PKG_CONFIG --exists "thunarx-3" >/dev/null 2>&1; then
+    xdt_cv_version=`$PKG_CONFIG --modversion "thunarx-3"`
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
 $as_echo "found, but $xdt_cv_version" >&6; }
 
 
-      echo "*** The required package thunarx-2 was found on your system,"
+      echo "*** The required package thunarx-3 was found on your system,"
       echo "*** but the installed version ($xdt_cv_version) is too old."
-      echo "*** Please upgrade thunarx-2 to atleast version 1.2.0, or adjust"
+      echo "*** Please upgrade thunarx-3 to atleast version 1.2.0, or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you installed"
       echo "*** the new version of the package in a nonstandard prefix so"
       echo "*** pkg-config is able to find it."
@@ -14095,8 +14095,8 @@ $as_echo "found, but $xdt_cv_version" >&
 $as_echo "not found" >&6; }
 
 
-      echo "*** The required package thunarx-2 was not found on your system."
-      echo "*** Please install thunarx-2 (atleast version 1.2.0) or adjust"
+      echo "*** The required package thunarx-3 was not found on your system."
+      echo "*** Please install thunarx-3 (atleast version 1.2.0) or adjust"
       echo "*** the PKG_CONFIG_PATH environment variable if you"
       echo "*** installed the package in a nonstandard prefix so that"
       echo "*** pkg-config is able to find it."
