ports/security/nmap/files/patch-configure
Martin Wilke 2f195e4f8d - Update to 4.52
PR:		119673
Submitted by:	Daniel Roethlisberger <daniel@roe.ch> (maintainer)
2008-03-14 21:30:23 +00:00

24 lines
727 B
Text

--- configure.orig Thu Nov 29 10:36:33 2007
+++ configure Sat Jan 12 16:57:04 2008
@@ -1488,7 +1488,7 @@
if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
+set dummy $CXX; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
@@ -6781,9 +6781,10 @@
no_lua="yes"
;;
*)
- CXXFLAGS="-I$with_liblua/include $CXXFLAGS"
- LDFLAGS="-L$with_liblua/lib $LDFLAGS"
+ CXXFLAGS="-I${LUA_INCDIR} $CXXFLAGS"
+ LDFLAGS="-L${LUA_LIBDIR} $LDFLAGS"
have_lua=yes
+ LIBLUA_LIBS="-llua"
;;
esac