View | Details | Raw Unified | Return to bug 196065 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +5 lines)
Lines 19-25 Link Here
19
19
20
LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
20
LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
21
21
22
USES=		tar:bzip2 gmake cpe
22
USES=		tar:bzip2 gmake cpe compiler
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
24
25
OPTIONS_SUB=	yes
25
OPTIONS_SUB=	yes
Lines 54-61 Link Here
54
		--with-liblua=included \
54
		--with-liblua=included \
55
		--without-nmap-update
55
		--without-nmap-update
56
56
57
.include <bsd.port.pre.mk>
58
57
# fix for gcc from ports
59
# fix for gcc from ports
58
.if ${CC} != "cc" && ${CC} !="clang" && !${CC:M*ccache/cc}
60
.if ${CHOSEN_COMPILER_TYPE} == gcc
59
GCCLIBDIR_CMDS=	${CC} -print-file-name=libstdc++.so | ${SED} -e 's/libstdc++.so//'
61
GCCLIBDIR_CMDS=	${CC} -print-file-name=libstdc++.so | ${SED} -e 's/libstdc++.so//'
60
CONFIGURE_ARGS+=LDFLAGS="-L$$(${GCCLIBDIR_CMDS})"
62
CONFIGURE_ARGS+=LDFLAGS="-L$$(${GCCLIBDIR_CMDS})"
61
NOT_BASE_CC=	true
63
NOT_BASE_CC=	true
Lines 81-84 Link Here
81
	@${ECHO_MSG} do not forget to adjust libnmap.conf
83
	@${ECHO_MSG} do not forget to adjust libnmap.conf
82
.endif
84
.endif
83
85
84
.include <bsd.port.mk>
86
.include <bsd.port.post.mk>

Return to bug 196065