openbsd-ports/net/amap/patches/patch-configure

47 lines
1.0 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.1.1.1 2004/06/26 05:56:20 mjc Exp $
--- configure.orig 2003-10-29 14:50:05.000000000 -0800
+++ configure 2004-06-21 16:50:22.000000000 -0700
@@ -13,9 +13,9 @@ if [ "$1" = "--help" ]; then
exit 0
fi
-cd pcre-3.9 || exit 1
-./configure || exit 1
-cd ..
+#cd pcre-3.9 || exit 1
+#./configure || exit 1
+#cd ..
echo
echo
@@ -27,7 +27,7 @@ SSL_IPATH=""
CRYPTO_PATH=""
NSL_PATH=""
SOCKET_PATH=""
-MANDIR=""
+#MANDIR=""
LIBDIRS=`cat /etc/ld.so.conf 2> /dev/null`
PREFIX=`echo "$1"|sed 's/.*--prefix=//'`
echo
@@ -152,11 +152,6 @@ if [ -n "$RESOLV_PATH" ]; then
XLIBS="$XLIBS -lresolv"
fi
-for i in /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do
- if [ -d $i ]; then
- MANDIR=$i
- fi
-done
if [ "X" = "X$MANDIR" ]; then
MANDIR="/usr/local/man"
fi
@@ -168,7 +163,7 @@ if [ -d /usr/kerberos/include ]; then
fi
if [ -n "$PREFIX" ]; then
- XDEFINES="$XDEFINES -DAMAP_PREFIX=$PREFIX"
+ XDEFINES="$XDEFINES -DAMAP_PREFIX=\\\"$PREFIX\\\""
else
PREFIX="/usr/local"
fi