aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-11-05 22:03:59 +0800
committerlofi <lofi@FreeBSD.org>2005-11-05 22:03:59 +0800
commit637e5d11a830cf94eba8f56d171f8c4b1aaaa266 (patch)
tree380ac096dcee743e8417d304890b5093104fc1fc /misc
parent57286fe1226c671a0eb2ebb661773d9dc6f8ea24 (diff)
downloadfreebsd-ports-gnome-637e5d11a830cf94eba8f56d171f8c4b1aaaa266.tar.gz
freebsd-ports-gnome-637e5d11a830cf94eba8f56d171f8c4b1aaaa266.tar.zst
freebsd-ports-gnome-637e5d11a830cf94eba8f56d171f8c4b1aaaa266.zip
Fix the PREFIX-safeness fix.
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeedu3/Makefile4
-rw-r--r--misc/kdeedu4/Makefile4
2 files changed, 2 insertions, 6 deletions
diff --git a/misc/kdeedu3/Makefile b/misc/kdeedu3/Makefile
index ff03ea61548a..5f620905cd85 100644
--- a/misc/kdeedu3/Makefile
+++ b/misc/kdeedu3/Makefile
@@ -40,11 +40,9 @@ 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' \
+ -e 's|pylibdir in.*|pylibdir in "${LOCALBASE}/lib" \\|g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>
diff --git a/misc/kdeedu4/Makefile b/misc/kdeedu4/Makefile
index ff03ea61548a..5f620905cd85 100644
--- a/misc/kdeedu4/Makefile
+++ b/misc/kdeedu4/Makefile
@@ -40,11 +40,9 @@ 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' \
+ -e 's|pylibdir in.*|pylibdir in "${LOCALBASE}/lib" \\|g' \
${WRKSRC}/configure
.include <bsd.port.post.mk>