aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxride <xride@FreeBSD.org>2009-05-31 23:33:00 +0800
committerxride <xride@FreeBSD.org>2009-05-31 23:33:00 +0800
commita3e585ef60d7dd75b3dda2d22a45fe254401e4e2 (patch)
tree916291817afbf0df13ba40b77a992f620c2f218d
parent26fe241e469af6ac45b0f6ec2fafe9557eda0ef4 (diff)
downloadfreebsd-ports-gnome-a3e585ef60d7dd75b3dda2d22a45fe254401e4e2.tar.gz
freebsd-ports-gnome-a3e585ef60d7dd75b3dda2d22a45fe254401e4e2.tar.zst
freebsd-ports-gnome-a3e585ef60d7dd75b3dda2d22a45fe254401e4e2.zip
Fix PREFIX
Obtained from: QAT
-rw-r--r--audio/py-vorbis/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/py-vorbis/Makefile b/audio/py-vorbis/Makefile
index 7e1702bb8aca..927b717db0ab 100644
--- a/audio/py-vorbis/Makefile
+++ b/audio/py-vorbis/Makefile
@@ -25,6 +25,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyvorbis
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
+ ${WRKSRC}/config_unix.py
+
do-configure:
@cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py