1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/mail/elm+ME/files/patch-ac
Christian Weisgerber 2461e6f11d Update to 2.4.99b.
PR:		40937
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-07-28 20:26:39 +00:00

47 lines
1.0 KiB
Plaintext

--- Configure.orig Tue Jul 23 20:26:30 2002
+++ Configure Tue Jul 23 20:26:31 2002
@@ -94,10 +94,10 @@
yes)
;;
*)
- if test ! -t 0; then
- echo "Say 'sh Configure', not 'sh <Configure'"
- exit 1
- fi
+# if test ! -t 0; then
+# echo "Say 'sh Configure', not 'sh <Configure'"
+# exit 1
+# fi
;;
esac
@@ -2251,7 +2251,7 @@
echo "Found shlib directory"
fi
- $echo "Trying create chared library"
+ $echo "Trying create shared library"
LibLoc=`cd ..; pwd`/shlib
@@ -2544,7 +2544,10 @@
: see if crypt exists
echo " "
-if $contains '^crypt$' libc.list >/dev/null 2>&1; then
+if $test "$cryptlib" = -lcrypt; then
+ echo 'crypt() found.'
+ d_crypt="$define"
+elif $contains '^crypt$' libc.list >/dev/null 2>&1; then
echo 'crypt() found.'
d_crypt="$define"
cryptlib=''
@@ -3048,6 +3051,7 @@
$echo $n "Testing if inet_aton can be used ... $c"
$cat > try.c <<'EOF'
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>