From f3e29ba44935cd6ce4ae60f5c059e69c6c25619c Mon Sep 17 00:00:00 2001 From: lofi Date: Sat, 5 Nov 2005 02:51:21 +0000 Subject: Make PREFIX-safe. --- misc/kdeedu3/Makefile | 7 +++++++ misc/kdeedu4/Makefile | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'misc') 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 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 -- cgit