diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kdeedu3/Makefile | 7 | ||||
-rw-r--r-- | misc/kdeedu4/Makefile | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/misc/kdeedu3/Makefile b/misc/kdeedu3/Makefile index 28284dbc46a..f53f5fa42e7 100644 --- a/misc/kdeedu3/Makefile +++ b/misc/kdeedu3/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> diff --git a/misc/kdeedu4/Makefile b/misc/kdeedu4/Makefile index 28284dbc46a..f53f5fa42e7 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> |