diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2016-11-22 22:03:29 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2016-11-22 22:03:29 +0000 |
commit | b5592cac36813cfd92e498b07aa216fd231ee387 (patch) | |
tree | d546b8a3ee6f069942a05b066e0fc090068886c5 /audio/idjc | |
parent | 36f5faeb5911cee8fb582c46baa3342040651789 (diff) | |
download | ports-b5592cac36813cfd92e498b07aa216fd231ee387.tar.gz ports-b5592cac36813cfd92e498b07aa216fd231ee387.zip |
Fix build when python symlink is not present
Notes
Notes:
svn path=/head/; revision=426876
Diffstat (limited to 'audio/idjc')
-rw-r--r-- | audio/idjc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/idjc/Makefile b/audio/idjc/Makefile index 9c4d7ea9e136..a37cae645989 100644 --- a/audio/idjc/Makefile +++ b/audio/idjc/Makefile @@ -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 |