FreeBSD patches
Remi Guyomarch
rguyom at mail.dotcom.fr
Mon Jan 24 23:19:22 CET 2000
Hi,
I've two little patches which are more or less needed on my FreeBSD-3.4 box.
The first let 'configure' find installed packages such as gettext / libintl,
gdbm, etc.... This might also be needed on other *BSD systems.
Without the second patch 'make clean' sometimes fails if one of the
directories created by 'make check' was already (manually) deleted.
Index: configure.in
===================================================================
RCS file: /home/koch/cvs/gnupg/configure.in,v
retrieving revision 1.103.2.7
diff -u -u -r1.103.2.7 configure.in
--- configure.in 2000/01/13 18:27:33 1.103.2.7
+++ configure.in 2000/01/24 22:04:18
@@ -194,6 +194,12 @@
try_gdbm="no"
;;
+ *-*-freebsd*)
+ # FreeBSD
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ LDFLAGS="$LDFLAGS -L/usr/local/include"
+ ;;
+
*-*-hpux*)
if test -z "$GCC" ; then
CFLAGS="$CFLAGS -Ae -D_HPUX_SOURCE"
Index: checks/mkdemodirs
===================================================================
RCS file: /home/koch/cvs/gnupg/checks/mkdemodirs,v
retrieving revision 1.1.2.1
diff -u -u -r1.1.2.1 mkdemodirs
--- checks/mkdemodirs 1999/10/04 19:26:50 1.1.2.1
+++ checks/mkdemodirs 2000/01/24 22:04:18
@@ -8,9 +8,9 @@
Sierra Tango Uniform Victor Whisky XRay Yankee Zulu'
if [ "$1" = "--clean" ]; then
- for i in $NAMES; do
+ (for i in $NAMES; do
[ -d $i ] && rm -r $i
- done
+ done) || true
exit 0
fi
More information about the Gnupg-devel
mailing list