svn commit: r461704 - head/devel/libarea
Antoine Brodin
antoine at FreeBSD.org
Tue Feb 13 13:01:05 UTC 2018
Author: antoine
Date: Tue Feb 13 13:01:04 2018
New Revision: 461704
URL: https://svnweb.freebsd.org/changeset/ports/461704
Log:
Rework previous fix, python3-config is not symlink friendly
Modified:
head/devel/libarea/Makefile
Modified: head/devel/libarea/Makefile
==============================================================================
--- head/devel/libarea/Makefile Tue Feb 13 13:00:34 2018 (r461703)
+++ head/devel/libarea/Makefile Tue Feb 13 13:01:04 2018 (r461704)
@@ -17,9 +17,12 @@ USE_GITHUB= yes
GH_ACCOUNT= Heeks
GH_TAGNAME= f1986ac
-BINARY_ALIAS= python=${PYTHON_CMD} \
- python-config=${PYTHON_CMD}-config
USES= cmake:outsource python
USE_LDCONFIG= yes
+
+post-patch:
+ @${REINPLACE_CMD} 's,COMMAND python ,COMMAND ${PYTHON_CMD} , ; \
+ s,COMMAND python-config ,COMMAND ${PYTHON_CMD}-config ,' \
+ ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list