mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Fix the PREFIX-safeness fix.
This commit is contained in:
parent
b4846334d0
commit
c4899b7738
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147373
2 changed files with 2 additions and 6 deletions
|
@ -40,11 +40,9 @@ CONFIGURE_ARGS+=--disable-kig-python-scripting
|
||||||
PLIST_SUB+= BOOST_PYTHON="@comment "
|
PLIST_SUB+= BOOST_PYTHON="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
PYTHON_LIBDIR!= ${LOCALBASE}/bin/python -c 'import sys;print sys.prefix'
|
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${REINPLACE_CMD} \
|
${REINPLACE_CMD} \
|
||||||
-e 's|pylibdir in.*|pylibdir in "${PYTHON_LIBDIR}/lib" \\|g' \
|
-e 's|pylibdir in.*|pylibdir in "${LOCALBASE}/lib" \\|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -40,11 +40,9 @@ CONFIGURE_ARGS+=--disable-kig-python-scripting
|
||||||
PLIST_SUB+= BOOST_PYTHON="@comment "
|
PLIST_SUB+= BOOST_PYTHON="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
PYTHON_LIBDIR!= ${LOCALBASE}/bin/python -c 'import sys;print sys.prefix'
|
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${REINPLACE_CMD} \
|
${REINPLACE_CMD} \
|
||||||
-e 's|pylibdir in.*|pylibdir in "${PYTHON_LIBDIR}/lib" \\|g' \
|
-e 's|pylibdir in.*|pylibdir in "${LOCALBASE}/lib" \\|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue