Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 22:03:29 +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: r426876 - head/audio/idjc
Message-ID:  <201611222203.uAMM3ThA073694@repo.freebsd.org>

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



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