--- Makefile 2015-02-27 14:51:19.156396465 +0100 +++ Makefile 2015-02-27 18:04:16.475598875 +0100 @@ -14,7 +14,7 @@ LIB_DEPENDS?= libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ libGeoIP.so:${PORTSDIR}/net/GeoIP -USES+= compiler:c++11-lang libtool pathfix pkgconfig iconv +USES+= compiler:c++11-lang libtool pathfix pkgconfig iconv:wchar_t USE_OPENSSL= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes @@ -69,11 +69,11 @@ post-install: .if ${PORT_OPTIONS:MSTRIP} - ${STRIP_CMD} \ - ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.${SHLIB_VER} +.if defined(SLAVE_PORT) && ${SLAVE_PORT:tl} == "yes" && defined(USE_PYTHON) + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/libtorrent.so .else - ${STRIP_CMD} \ - ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages/libtorrent.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtorrent-rasterbar.so.${SHLIB_VER} +.endif .endif .if ${PORT_OPTIONS:MDOCS}