--- Makefile (revision 509063) +++ Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= libtorrent PORTVERSION= 0.13.8 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= https://rtorrent.net/downloads/ @@ -15,6 +16,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug + CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\ ${OPENSSLINC}" USE_LDCONFIG= yes @@ -39,6 +41,10 @@ CONFIGURE_ARGS+=--disable-instrumentation .endif +post-configure: + ${REINPLACE_CMD} 's|PKG_CHECK_MODULES.*||g' \ + configure.ac # cause of "autoreconf" + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtorrent.so.21.0.0