Date: Sun, 8 Dec 2013 12:48:42 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335879 - in head/audio/boodler: . files Message-ID: <201312081248.rB8Cmgna064327@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Sun Dec 8 12:48:42 2013 New Revision: 335879 URL: http://svnweb.freebsd.org/changeset/ports/335879 Log: - Fix the usage of 'python' to get rid of the implicit lang/python dependency - Limit the port to the supported python version Approved by: portmgr (blanket) Modified: head/audio/boodler/Makefile (contents, props changed) head/audio/boodler/files/patch-aa (contents, props changed) Modified: head/audio/boodler/Makefile ============================================================================== --- head/audio/boodler/Makefile Sun Dec 8 12:47:19 2013 (r335878) +++ head/audio/boodler/Makefile Sun Dec 8 12:48:42 2013 (r335879) @@ -16,7 +16,7 @@ RESTRICTED_FILES= boodler-snd-021902.tar NO_STAGE= yes USES= gmake -USE_PYTHON= yes +USE_PYTHON= 2 DRIVER?= oss WRKSRC= ${WRKDIR}/${PORTNAME} BHOME= ${PREFIX}/share/boodler @@ -44,6 +44,7 @@ PIC= --PIC .endif post-patch: + ${REINPLACE_CMD} -e "s|python|${PYTHON_CMD}|" ${WRKSRC}/Makefile ${REINPLACE_CMD} -e "s|^booroot=.*|booroot=${PREFIX}/share/boodler|" ${WRKSRC}/wrapper/boodler @${RMDIR} ${WRKDIR}/boodler-snd/string Modified: head/audio/boodler/files/patch-aa ============================================================================== --- head/audio/boodler/files/patch-aa Sun Dec 8 12:47:19 2013 (r335878) +++ head/audio/boodler/files/patch-aa Sun Dec 8 12:48:42 2013 (r335879) @@ -9,4 +9,4 @@ diff -ruN wrapper.orig/boodler wrapper/b +export BOODLER_SOUND_PATH=${booroot}/boodler-snd/ +export BOODLER_EFFECTS_PATH=${booroot}/effects/ + -+python ${booroot}/boodler.py "$@" ++python2 ${booroot}/boodler.py "$@"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081248.rB8Cmgna064327>