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 56-68
Link Here
|
56 |
|
56 |
|
57 |
.include <bsd.port.pre.mk> |
57 |
.include <bsd.port.pre.mk> |
58 |
|
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! |
59 |
# XXX limit results if we do a grep in the sources! |
67 |
post-extract: |
60 |
post-extract: |
68 |
@${RM} -rf ${WRKSRC}/mswin32 |
61 |
@${RM} -rf ${WRKSRC}/mswin32 |
Lines 78-86
Link Here
|
78 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
71 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
79 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
72 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
80 |
|
73 |
|
81 |
# gcc from ports is in use |
|
|
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> |
74 |
.include <bsd.port.post.mk> |