summaryrefslogtreecommitdiffstats
path: root/audio/idjc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2016-11-22 22:03:29 +0000
committerantoine <antoine@FreeBSD.org>2016-11-22 22:03:29 +0000
commit623ec8e4f20e14429b031dedf22d7e7226a75614 (patch)
treed546b8a3ee6f069942a05b066e0fc090068886c5 /audio/idjc
parent30ccdfe877bf4774c5fb0b6a9485d2e5f95a5a4d (diff)
downloadFreeBSD-ports-623ec8e4f20e14429b031dedf22d7e7226a75614.zip
FreeBSD-ports-623ec8e4f20e14429b031dedf22d7e7226a75614.tar.gz
Fix build when python symlink is not present
Diffstat (limited to 'audio/idjc')
-rw-r--r--audio/idjc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/idjc/Makefile b/audio/idjc/Makefile
index 9c4d7ea..a37cae6 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
OpenPOWER on IntegriCloud