openbsd-ports/net/sing/patches/patch-configure
2001-05-22 18:18:50 +00:00

50 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2001/05/22 18:18:50 danh Exp $
--- configure.orig Tue May 22 14:00:01 2001
+++ configure Tue May 22 14:01:48 2001
@@ -1097,10 +1097,6 @@ else
fi
fi
-if test -n "$GCC"; then
- CFLAGS="-O3 -Wall"
-fi
-
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1106: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
@@ -1607,14 +1603,14 @@ fi
PCAP_CLEAN="pcap_clean"
PCAP_DISTCLEAN="pcap_distclean"
-CFLAGS="$CFLAGS -I$libpcapdir"
+CFLAGS="$CFLAGS"
if test $have_libpcap = yes; then
PCAP_COMPILE=""
LIBS="-L/usr/local/lib $LIBS"
else
PCAP_COMPILE="pcap_compile"
- LIBS="-L/usr/local/lib -L$libpcapdir $LIBS"
+ LIBS="-L/usr/local/lib $LIBS"
fi
@@ -1623,14 +1619,14 @@ fi
LIBNET_CLEAN="libnet_clean"
LIBNET_DISTCLEAN="libnet_distclean"
-CFLAGS="$CFLAGS -I$libnetdir"
+CFLAGS="$CFLAGS"
if test $have_libnet = yes; then
LIBNET_COMPILE=""
LIBS="-L/usr/local/lib $LIBS"
else
- LIBNET_COMPILE="libnet_compile"
- LIBS="-L/usr/local/lib -L$libnetdir/lib $LIBS"
+ LIBNET_COMPILE=""
+ LIBS="-L/usr/local/lib $LIBS"
fi