Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2018 13:01:04 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461704 - head/devel/libarea
Message-ID:  <201802131301.w1DD14b1057035@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802131301.w1DD14b1057035>