summaryrefslogtreecommitdiff
path: root/security/sudo/files/patch-aa
blob: efd7fe5517252e1ec423cbfc4211871e1e1e3b86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- /usr/ports/security/sudo/work2/sudo.v1.5.7p4/configure	Tue Nov 24 05:40:24 1998
+++ configure	Sat Jan  2 04:07:08 1999
@@ -667,8 +669,8 @@
 
 test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
 test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
-test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
+test "$sbindir" = '${exec_prefix}/sbin' || sbindir='$(exec_prefix)/sbin'
+test "$sysconfdir" = '${prefix}/etc' || sysconfdir='/etc'
 
 
 # Check whether --with-CC or --without-CC was given.
@@ -7170,7 +7188,7 @@
 fi
 
 if test "$with_skey" = "yes"; then
-    SUDO_LIBS="${SUDO_LIBS} -lskey"
+    SUDO_LIBS="${SUDO_LIBS} -lskey -lmd"
     if test -f /usr/include/skey.h -a -f /usr/lib/libskey.a; then
 	:
     elif test -f /usr/local/include/skey.h; then