From ea48b93ab91757d113d1cdc15dc8be003117070e Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Sat, 23 Dec 2000 05:04:22 +0000 Subject: Check libdes.a to use DES. Submitted by: Brook Schofield PR: ports/17652 (for net/netatalk) --- net/netatalk-asun/files/patch-aa | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'net') diff --git a/net/netatalk-asun/files/patch-aa b/net/netatalk-asun/files/patch-aa index 2134d37ae0d5..b194552db0b2 100644 --- a/net/netatalk-asun/files/patch-aa +++ b/net/netatalk-asun/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Sun Feb 7 12:15:46 1999 -+++ Makefile Mon Mar 8 09:42:21 1999 +--- Makefile.orig Sun Feb 7 20:15:46 1999 ++++ Makefile Sat Dec 23 13:31:49 2000 @@ -1,15 +1,15 @@ # Root of installation. Subdirectories will be ${DESTDIR}/etc, # ${DESTDIR}/bin, and ${DESTDIR}/lib. @@ -19,7 +19,7 @@ # for configuration files (AppleVolumes.system, etc.) ETCDIR=$(DESTDIR)/etc # for include files -@@ -27,22 +27,27 @@ +@@ -27,22 +27,29 @@ #MANDIR=/usr/man # Location of the Berkeley v2 db library and include files. @@ -32,7 +32,9 @@ # don't want Randnum Exchange and 2-Way Randnum Exchange as allowable UAMs # for afpd. We expect libdes.a in $DESDIR/lib and des.h in $DESDIR/include. -DESDIR=/usr/local ++.if exists(/usr/lib/libdes.a) +DESDIR=/usr ++.endif # Location of the tcp wrapper library and include files. Comment this out # if you don't want tcp wrapper support. having tcp wrapper support is @@ -52,7 +54,7 @@ # Location of the AFS and Kerberos libraries and include files. Uncomment # and edit these if you want to include AFS or Kerberos support in afpd -@@ -77,12 +82,13 @@ +@@ -77,12 +84,13 @@ ETCDIR="${ETCDIR}" LIBDIR="${LIBDIR}" INCDIR="${INCDIR}" \ DESTDIR="${DESTDIR}" MANDIR="${MANDIR}" \ TCPWRAPDIR="${TCPWRAPDIR}" PAMDIR="${PAMDIR}" DB2DIR="${DB2DIR}" \ -- cgit v1.2.3