svn commit: r426876 - head/audio/idjc

Antoine Brodin antoine at FreeBSD.org
Tue Nov 22 22:03:30 UTC 2016


Author: antoine
Date: Tue Nov 22 22:03:29 2016
New Revision: 426876
URL: https://svnweb.freebsd.org/changeset/ports/426876

Log:
  Fix build when python symlink is not present

Modified:
  head/audio/idjc/Makefile

Modified: head/audio/idjc/Makefile
==============================================================================
--- head/audio/idjc/Makefile	Tue Nov 22 22:02:57 2016	(r426875)
+++ head/audio/idjc/Makefile	Tue Nov 22 22:03:29 2016	(r426876)
@@ -45,6 +45,10 @@ BROKEN_powerpc64=	Does not build
 PLIST_SUB+=		PORTVERSION="${PORTVERSION}"
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+
+post-patch:
+	${REINPLACE_CMD} 's,PYTHON=python,PYTHON=${PYTHON_CMD},' ${WRKSRC}/py-compile
+
 pre-install:
 	${REINPLACE_CMD} 's|libvorbis.so.0|libvorbis.so|' \
 		${WRKSRC}/python/format.py


More information about the svn-ports-all mailing list