aboutsummaryrefslogtreecommitdiff
path: root/misc/kdeedu4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-11-05 02:51:21 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-11-05 02:51:21 +0000
commit01e545bfe1355a041a6413312b9349f2b003c90e (patch)
treeb425a24b405bd4f615df1ba59fae9ef735112c41 /misc/kdeedu4
parent8c8981f56f1de641236b51298860a806eaddc4a9 (diff)
downloadports-01e545bfe1355a041a6413312b9349f2b003c90e.tar.gz
ports-01e545bfe1355a041a6413312b9349f2b003c90e.zip
Notes
Diffstat (limited to 'misc/kdeedu4')
-rw-r--r--misc/kdeedu4/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/kdeedu4/Makefile b/misc/kdeedu4/Makefile
index 28284dbc46a7..f53f5fa42e75 100644
--- a/misc/kdeedu4/Makefile
+++ b/misc/kdeedu4/Makefile
@@ -41,4 +41,11 @@ CONFIGURE_ARGS+=--disable-kig-python-scripting
PLIST_SUB+= BOOST_PYTHON="@comment "
.endif
+PYTHON_LIBDIR!= ${LOCALBASE}/bin/python -c 'import sys;print sys.prefix'
+
+pre-configure:
+ ${REINPLACE_CMD} \
+ -e 's|pylibdir in.*|pylibdir in "${PYTHON_LIBDIR}/lib" \\|g' \
+ ${WRKSRC}/configure
+
.include <bsd.port.post.mk>