1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Fix build at 11.x [1]

- Use LIB_DEPENDS? instead of LIB_DEPENDS, because
  Master port have had overwritten the LIB_DEPENDS [1]
- Use USES=compiler:c++11-lib instead of compiler:c++11-lang [1]
- Use CONFIGURE_ARGS instead of CONFIGURE_ARGS+ [2]
- Break lines around 80 characters [2]

Reported by:	swills [1], danfe [2]
This commit is contained in:
Rusmir Dusko 2014-01-14 18:32:32 +00:00
parent ddc70f06b2
commit da7310bcae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339706

View File

@ -13,15 +13,15 @@ COMMENT?= C++ library implementing a BitTorrent client
LICENSE= BSD LICENSE= BSD
LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ LIB_DEPENDS?= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
libGeoIP.so:${PORTSDIR}/net/GeoIP libGeoIP.so:${PORTSDIR}/net/GeoIP
USES= compiler:c++11-lang pathfix pkgconfig iconv USES= compiler:c++11-lib pathfix pkgconfig iconv
USE_OPENSSL= yes USE_OPENSSL= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
CONFIGURE_ARGS+= --disable-debug \ CONFIGURE_ARGS= --disable-debug \
--disable-static \ --disable-static \
--enable-dht \ --enable-dht \
--enable-encryption \ --enable-encryption \
@ -69,6 +69,7 @@ post-install:
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk> .include <bsd.port.mk>