1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/ntop/files/patch-configure.in
Sylvio Cesar Teixeira 0d4a59a417 - Update to 5.0.1
2013-01-10 13:00:15 +00:00

57 lines
2.0 KiB
Plaintext

--- configure.in.orig 2012-08-13 04:35:26.000000000 -0300
+++ configure.in 2013-01-09 13:11:12.000000000 -0200
@@ -472,7 +472,7 @@
dnl> Add /usr/local/ /opt/local
CFLAGS="${CFLAGS} -I/usr/local/include -I/opt/local/include"
CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/local/include"
-LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/local/lib"
+LDFLAGS="${LDFLAGS}-L/usr/local/lib -L/opt/local/lib"
PWD=`pwd`
@@ -560,7 +560,7 @@
test -d ${TMP_ROOT} &&
test -r ${TMP_ROOT}/libpcap.a; then
PCAP_ROOT=${TMP_ROOT}
- CORELIBS="${CORELIBS} -L${TMP_ROOT} -L${HOME}/PF_RING/userland/lib -lpfring -lpcap "
+ CORELIBS="${CORELIBS}-L${TMP_ROOT}-L${HOME}/PF_RING/userland/lib -lpfring -lpcap "
INCS="${INCS} -I ${PCAP_ROOT}"
AC_MSG_RESULT([found in $PCAP_ROOT])
elif test ".${PCAP_ROOT}" != .; then
@@ -568,7 +568,7 @@
test -r $PCAP_ROOT/lib/libpcap.a &&
test -r $PCAP_ROOT/include/pcap.h; then
PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
- CORELIBS="${CORELIBS} -L ${PCAP_ROOT}/lib -lpcap"
+ CORELIBS="${CORELIBS}-L${PCAP_ROOT}/lib -lpcap"
INCS="${INCS} -I ${PCAP_ROOT}/include"
AC_MSG_RESULT([found in $PCAP_ROOT])
else
@@ -584,7 +584,7 @@
test -r /usr/local/lib/libpcap.a &&
test -r /usr/local/include/pcap.h; then
PCAP_ROOT="/usr/local"
- CORELIBS="${CORELIBS} -L$PCAP_ROOT/lib -lpcap"
+ CORELIBS="${CORELIBS}-L$PCAP_ROOT/lib -lpcap"
INCS="${INCS} -I$PCAP_ROOT/include"
AC_MSG_RESULT([found in $PCAP_ROOT])
dnl>
@@ -1744,8 +1744,6 @@
else
if test -f "3rd_party/GeoLiteCity.dat.gz"; then
cp 3rd_party/GeoLiteCity.dat.gz .
- else
- wget http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
fi
gunzip GeoLiteCity.dat.gz
@@ -1758,8 +1756,6 @@
else
if test -f "3rd_party/GeoIPASNum.dat.gz"; then
cp 3rd_party/GeoIPASNum.dat.gz .
- else
- wget http://www.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
fi
gunzip GeoIPASNum.dat.gz