diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-09-26 12:05:12 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-09-26 12:05:12 +0000 |
commit | 201bc6c998f9f49a14968e0055f88d16ff17434a (patch) | |
tree | 628725851b1fbf16e0768cc901b0a24aeddb28ae /security/nmap/files/patch-configure | |
parent | Add nsswitch support, required when running on -CURRENT. (diff) |
add patches forgotten in previous commit
Submitted by: maintainer
Pointy hat to: leeym
Notes
Notes:
svn path=/head/; revision=89446
Diffstat (limited to 'security/nmap/files/patch-configure')
-rw-r--r-- | security/nmap/files/patch-configure | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/security/nmap/files/patch-configure b/security/nmap/files/patch-configure new file mode 100644 index 000000000000..d7fcf9719220 --- /dev/null +++ b/security/nmap/files/patch-configure @@ -0,0 +1,112 @@ +--- configure.orig Sat Sep 20 09:06:56 2003 ++++ configure Wed Sep 24 23:09:21 2003 +@@ -1302,7 +1302,7 @@ + fi + if test -d /usr/local/include; then + CFLAGS="$CFLAGS -I/usr/local/include" +- CXXFLAGS="$CFLAGS -I/usr/local/include" ++ CXXFLAGS="$CXXFLAGS -I/usr/local/include" + fi + fi + +@@ -3299,7 +3299,7 @@ + + + +-for ac_header in string.h getopt.h strings.h memory.h sys/param.h sys/sockio.h bstring.h sys/time.h pwd.h unistd.h ++for ac_header in string.h strings.h memory.h sys/param.h sys/sockio.h bstring.h sys/time.h pwd.h unistd.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` + if eval "test \"\${$as_ac_Header+set}\" = set"; then +@@ -4319,7 +4319,7 @@ + ;; + *) + specialssldir="$with_openssl" +- CXXFLAGS="$CXXFLAGS -I$with_openssl/include" ++ CPPFLAGS="$CPPFLAGS -I$with_openssl/include" + LDFLAGS="$LDFLAGS -L$with_openssl/lib" + ;; + esac +@@ -5105,10 +5105,10 @@ + + ;; + *) +- _cppflags=$CXXFLAGS ++ _cppflags=$CPPFLAGS + _ldflags=$LDFLAGS + +- CXXFLAGS="-I$with_libpcap/include $CXXFLAGS" ++ CPPFLAGS="-I$with_libpcap/include $CPPFLAGS" + LDFLAGS="-L$with_libpcap/lib $LDFLAGS" + + if test "${ac_cv_header_pcap_h+set}" = set; then +@@ -5307,7 +5307,7 @@ + + + LDFLAGS=$_ldflags +- CXXFLAGS=$_cppflags ++ CPPFLAGS=$_cppflags + ;; + esac + +@@ -5323,10 +5323,10 @@ + + if test $have_libpcap = yes; then + if test "${LIBPCAP_INC+set}" = "set"; then +- _cflags=$CXXFLAGS ++ _cppflags=$CPPFLAGS + _ldflags=$LDFLAGS + +- CXXFLAGS="-I$LIBPCAP_INC $CXXFLAGS" ++ CPPFLAGS="-I$LIBPCAP_INC $CPPFLAGS" + LDFLAGS="-L$LIBPCAP_LIB $LDFLAGS" + fi + +@@ -5336,6 +5336,8 @@ + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6; have_libpcap=no + else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lpcap $LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line $LINENO "configure" + /* confdefs.h. */ +@@ -5391,6 +5393,7 @@ + echo "${ECHO_T}no" >&6; have_libpcap=no + fi + rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS + fi + fi + +@@ -5406,10 +5409,10 @@ + else + if test "${LIBPCAP_INC+set}" = "set"; then + LDFLAGS="-L$libpcapdir $_ldflags" +- CXXFLAGS="$_cflags -I$libpcapdir" ++ CPPFLAGS="$_cppflags -I$libpcapdir" + else + LDFLAGS="-L$libpcapdir $LDFLAGS" +- CXXFLAGS="$CXXFLAGS -I$libpcapdir" ++ CPPFLAGS="$CPPFLAGS -I$libpcapdir" + fi + PCAP_DEPENDS='$(LIBPCAPDIR)/libpcap.a' + PCAP_CLEAN="pcap_clean" +@@ -5433,7 +5436,7 @@ + yes) + ;; + *) +- CXXFLAGS="-I$with_libpcre/include $CXXFLAGS" ++ CPPFLAGS="-I$with_libpcre/include $CPPFLAGS" + LDFLAGS="-L$with_libpcre/lib $LDFLAGS" + have_pcre=yes + ;; +@@ -5844,7 +5847,7 @@ + + subdirs="$subdirs libpcre " + +- CXXFLAGS="-I$LIBPCREDIR $CXXFLAGS" ++ CPPFLAGS="-I$LIBPCREDIR $CPPFLAGS" + LIBPCRE_LIB="$LIBPCREDIR" + LIBS="$LIBS $LIBPCRE_LIB/libpcre.a" + PCRE_DEPENDS="$LIBPCRE_LIB/libpcre.a" |