1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/sudo/files/patch-aa

54 lines
1.8 KiB
Plaintext
Raw Normal View History

--- configure.orig Sun Sep 20 04:25:10 1998
+++ configure Fri Oct 23 00:17:09 1998
@@ -48,6 +48,8 @@
1996-09-06 13:41:04 +00:00
ac_help="$ac_help
--with-csops add CSOps standard options"
ac_help="$ac_help
1996-09-06 13:41:04 +00:00
+ --with-fbsdops add FreeBSD standard options"
+ac_help="$ac_help
--enable-log-host Log the hostname in the log file
--disable-log-host Do not log hostname in the log file (default)"
ac_help="$ac_help
@@ -579,8 +581,8 @@
1996-02-05 16:37:53 +00:00
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
-test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/etc'
-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
+test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/etc'
+test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc'
1996-09-06 13:41:04 +00:00
# Check whether --with-CC or --without-CC was given.
@@ -940,7 +942,20 @@
1998-05-29 08:30:27 +00:00
fi
-
1996-09-06 13:41:04 +00:00
+# Check whether --with-fbsdops or --without-fbsdops was given.
+if test "${with_fbsdops+set}" = set; then
+ withval="$with_fbsdops"
+ case $with_fbsdops in
+ yes) OPTIONS="${OPTIONS} -DIGNORE_DOT_PATH -DENV_EDITOR -DUSE_TTY_TICKETS"
+ sbindir='$(exec_prefix)/sbin'
+ echo 'fbsdops--adding options: IGNORE_DOT_PATH ENV_EDITOR USE_TTY_TICKETS'
+ ;;
+ no) ;;
+ *) echo "Ignoring unknown argument to --with-csops: $with_csops"
+ ;;
+ esac
1998-05-29 08:30:27 +00:00
+fi
+
1998-05-29 08:30:27 +00:00
# Extract the first word of "egrep", so it can be a program name with args.
set dummy egrep; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -5008,7 +5023,7 @@
1998-05-29 08:30:27 +00:00
fi
if test "$with_skey" = "yes"; then
- SUDO_LIBS="${SUDO_LIBS} -lskey"
1998-05-29 08:54:47 +00:00
+ SUDO_LIBS="${SUDO_LIBS} -lskey -lmd"
1998-05-29 08:30:27 +00:00
if test -f /usr/include/skey.h -a -f /usr/lib/libskey.a; then
:
elif test -f /usr/local/include/skey.h; then