ports/print/cups/files/patch-configure
Jan Beich 7277ec6a16 Assume "pkg-config libusb*" works after 9.x EOL
FreeBSD appears to use different pkg-config name for 0.1.x API but it
doesn't matter much as 0.1, 1.0 and 2.0 share CFLAGS/LIBS.
2017-01-05 22:58:02 +00:00

25 lines
464 B
Text

--- configure.orig 2016-02-05 17:22:09 UTC
+++ configure
@@ -5656,7 +5663,6 @@ if test "${with_dbusdir+set}" = set; the
fi
-DBUSDIR=""
DBUS_NOTIFIER=""
DBUS_NOTIFIERLIBS=""
@@ -8684,13 +8690,7 @@ fi
PAMLIBS="-lpam"
fi
- # Find the PAM configuration directory, if any...
- for dir in /private/etc/pam.d /etc/pam.d; do
- if test -d $dir; then
- PAMDIR=$dir
- break;
- fi
- done
+ PAMDIR=/usr/local/etc/pam.d
fi
LIBS="$SAVELIBS"