summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-29 01:03:38 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-29 01:03:38 +0800
commit4643466e2d968db561a5670ef0d5af8c4bee3af2 (patch)
tree2f527c1746b4700db876487e0af4089e663cc540
parent2f621c2329890ce9307965e71bda791a2b212033 (diff)
downloadmarcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.tar
marcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.tar.gz
marcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.tar.bz2
marcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.tar.lz
marcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.tar.xz
marcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.tar.zst
marcuscom-ports-4643466e2d968db561a5670ef0d5af8c4bee3af2.zip
Fix the fix, which was incomplete to fix the build post python shuffle :)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18970 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--security/libpwquality/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
index 104e6d5dd..47b60ff22 100644
--- a/security/libpwquality/Makefile
+++ b/security/libpwquality/Makefile
@@ -29,6 +29,7 @@ OPTIONS_DEFAULT=PYTHON
.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON= yes
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
CONFIGURE_ARGS+=--enable-python-bindings
PLIST_SUB+= PYTHON=""
.else
@@ -40,4 +41,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|python setup.py build|${PYTHON_VERSION} setup.py build|g' \
${WRKSRC}/python/Makefile.in
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpwquality.so.1
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality.so
+
.include <bsd.port.mk>