aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mmpython
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-11-23 12:05:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-11-23 12:05:58 +0000
commitbe05f9c26269e82a60a6bee205b5600f7031e5f3 (patch)
tree0579c47bdb61b8e230d90f5dcf5a303603542bbc /multimedia/mmpython
parent76f9758906729c843daa4e20640258604de3aa9a (diff)
downloadports-be05f9c26269e82a60a6bee205b5600f7031e5f3.tar.gz
ports-be05f9c26269e82a60a6bee205b5600f7031e5f3.zip
Notes
Diffstat (limited to 'multimedia/mmpython')
-rw-r--r--multimedia/mmpython/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/mmpython/Makefile b/multimedia/mmpython/Makefile
index 69c1058562ef..ada939b683f6 100644
--- a/multimedia/mmpython/Makefile
+++ b/multimedia/mmpython/Makefile
@@ -23,6 +23,9 @@ USE_PYDISTUTILS=yes
USE_REINPLACE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} \
+ -e 's,/usr/local/,${LOCALBASE}/,g' \
+ -e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' \
+ ${WRKSRC}/setup.py
.include <bsd.port.mk>