aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2018-02-13 21:01:04 +0800
committerantoine <antoine@FreeBSD.org>2018-02-13 21:01:04 +0800
commit332244de7da019535ffa6d8481aa4c701d020699 (patch)
treecaf0765db7ab499cb9233518bc1ea8b16d893f45
parent3c93f0b5b9d953cb41d7db83219625e29b69b0bf (diff)
downloadfreebsd-ports-gnome-332244de7da019535ffa6d8481aa4c701d020699.tar.gz
freebsd-ports-gnome-332244de7da019535ffa6d8481aa4c701d020699.tar.zst
freebsd-ports-gnome-332244de7da019535ffa6d8481aa4c701d020699.zip
Rework previous fix, python3-config is not symlink friendly
-rw-r--r--devel/libarea/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/libarea/Makefile b/devel/libarea/Makefile
index 848fdbe86494..3dedb8785890 100644
--- a/devel/libarea/Makefile
+++ b/devel/libarea/Makefile
@@ -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>