ports/security/nmap/files/patch-configure
Martin Wilke 7a1b9836bb - Update to 4.62
PR:		123401
Submitted by:	Daniel Roethlisberger <daniel@roe.ch> (maintainer)
2008-05-06 13:26:11 +00:00

33 lines
992 B
Text

--- configure.orig 2008-04-28 19:53:32.000000000 +0200
+++ configure 2008-05-04 20:25:47.000000000 +0200
@@ -1930,7 +1930,7 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
+set dummy ${ac_tool_prefix}$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_CC+set}" = set; then
@@ -7179,9 +7179,9 @@
no_lua="yes"
;;
*)
- CPPFLAGS="-I$with_liblua/include $CPPFLAGS"
- LDFLAGS="-L$with_liblua/lib $LDFLAGS"
- have_lua=yes
+ CPPFLAGS="-I${LUA_INCDIR} $CPPFLAGS"
+ LDFLAGS="-L${LUA_LIBDIR} $LDFLAGS"
+ #have_lua=yes
;;
esac
@@ -7189,7 +7189,7 @@
# They don't want lua
-if test $no_lua == yes; then
+if test $no_lua = yes; then
CXXFLAGS="-DNOLUA $CXXFLAGS"
LIBLUA_LIBS=""
LUA_DEPENDS=""