diff options
-rw-r--r-- | security/nmap/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile index 8b7b31a2e43d..7c90da8841d2 100644 --- a/security/nmap/Makefile +++ b/security/nmap/Makefile @@ -7,7 +7,7 @@ PORTNAME= nmap PORTVERSION= 5.51 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security ipv6 MASTER_SITES= http://nmap.org/dist/ \ LOCAL/ohauer @@ -32,6 +32,13 @@ CONFIGURE_ARGS= --without-localdirs \ --with-liblua=${LOCALBASE} CONFIGURE_ENV= LUA_INCDIR="${LUA_INCDIR}" LUA_LIBDIR="${LUA_LIBDIR}" +# fix for gcc from ports +.if ${CC} != "cc" +GCCLIBDIR_CMDS= ${CC} -print-file-name=libstdc++.so | ${SED} -e 's/libstdc++.so//' +CONFIGURE_ARGS+=LDFLAGS="-L$$(${GCCLIBDIR_CMDS})" +NDCC= true +.endif + MANLANG= "" de es fr hr hu it jp pl pt_BR pt_PT ro ru sk zh MAN1= nmap.1 MAN1_EN= ncat.1 nping.1 @@ -71,5 +78,8 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR} . endfor .endif +.if defined(NDCC) + @${ECHO_MSG} do not forget to adjust libnmap.conf +.endif .include <bsd.port.mk> |