- Convert to new options helper

This commit is contained in:
Sunpoet Po-Chuan Hsieh
2015-08-19 01:39:50 +00:00
parent c14c8470e6
commit 3189b50ba8

View File

@@ -36,15 +36,12 @@ DAP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
DOXYGEN_CONFIGURE_OFF= --disable-doxygen
DOXYGEN_CONFIGURE_ON= --enable-doxygen
DOXYGEN_PORTDOCS= *
SZIP_LIB_DEPENDS= libsz.so:${PORTSDIR}/science/szip
SZIP_LIBS= -lsz
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOXYGEN}
PORTDOCS= *
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-ldl ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|mmap|_&|g' ${WRKSRC}/nc_test/tst_diskless.c ${WRKSRC}/nc_test/tst_diskless3.c