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

Collapse All | Expand All

(-)Makefile (-16 / +2 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 compiler
22
USES=		tar:bzip2 gmake cpe
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
24
25
OPTIONS_SUB=	yes
25
OPTIONS_SUB=	yes
Lines 54-68 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
59
# fix for gcc from ports
60
.if ${CHOSEN_COMPILER_TYPE} == gcc
61
GCCLIBDIR_CMDS=	${CC} -print-file-name=libstdc++.so | ${SED} -e 's/libstdc++.so//'
62
CONFIGURE_ARGS+=LDFLAGS="-L$$(${GCCLIBDIR_CMDS})"
63
NOT_BASE_CC=	true
64
.endif
65
66
# XXX limit results if we do a grep in the sources!
57
# XXX limit results if we do a grep in the sources!
67
post-extract:
58
post-extract:
68
	@${RM} -rf ${WRKSRC}/mswin32
59
	@${RM} -rf ${WRKSRC}/mswin32
Lines 78-86 Link Here
78
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
69
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
79
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
70
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
80
71
81
# gcc from ports is in use
72
.include <bsd.port.mk>
82
.if defined(NOT_BASE_CC)
83
	@${ECHO_MSG} do not forget to adjust libnmap.conf
84
.endif
85
86
.include <bsd.port.post.mk>

Return to bug 200558