svn commit: r480960 - head/devel/libosmocore

Antoine Brodin antoine at FreeBSD.org
Sun Sep 30 14:43:40 UTC 2018


Author: antoine
Date: Sun Sep 30 14:43:39 2018
New Revision: 480960
URL: https://svnweb.freebsd.org/changeset/ports/480960

Log:
  Fix build without the python metaport

Modified:
  head/devel/libosmocore/Makefile

Modified: head/devel/libosmocore/Makefile
==============================================================================
--- head/devel/libosmocore/Makefile	Sun Sep 30 14:43:23 2018	(r480959)
+++ head/devel/libosmocore/Makefile	Sun Sep 30 14:43:39 2018	(r480960)
@@ -38,7 +38,8 @@ post-patch:
 	${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
 	@${REINPLACE_CMD} -e '/#pragma GCC diagnostic/d' \
 		${WRKSRC}/src/application.c
-	${REINPLACE_CMD} -e 's/python2/${PYTHON_VERSION}/' \
+	@${REINPLACE_CMD} -e 's/python2/${PYTHON_VERSION}/' \
+		-e 's,(AM_V_GEN)python ,(AM_V_GEN)${PYTHON_VERSION} ,' \
 		${WRKSRC}/include/Makefile.am \
 		${WRKSRC}/src/gsm/Makefile.am \
 		${WRKSRC}/tests/Makefile.am


More information about the svn-ports-all mailing list