aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2015-06-15 13:34:30 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2015-06-15 13:34:30 +0000
commitc272c82ae1b7ac0ee5ff65cc248c4212be245d16 (patch)
treef6dbaf61983443aaca9b97357925adf1a478e6a3 /net-p2p/libtorrent-rasterbar
parent87eb8f7a276739b105d725a09e6579af0b8b2394 (diff)
downloadports-c272c82ae1b7ac0ee5ff65cc248c4212be245d16.tar.gz
ports-c272c82ae1b7ac0ee5ff65cc248c4212be245d16.zip
Notes
Diffstat (limited to 'net-p2p/libtorrent-rasterbar')
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 87e85033b339..821f4b9835a5 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -69,8 +69,13 @@ post-patch:
${WRKSRC}/Jamfile
post-install:
+.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "yes" && defined(USE_PYTHON)
+ ${STRIP_CMD} \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/libtorrent.so
+.else
${STRIP_CMD} \
${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.${SHLIB_VER}
+.endif
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR2}