diff options
author | edwin <edwin@FreeBSD.org> | 2004-11-23 20:05:58 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-11-23 20:05:58 +0800 |
commit | 093b3f35338d12f0a0d194f0de0546cb294a4efc (patch) | |
tree | b5627f519b3b939eceb8242bb4cbc57785a9d189 /multimedia | |
parent | 6610c7d585c7420949b633f7f1f186cf737f4bc8 (diff) | |
download | freebsd-ports-graphics-093b3f35338d12f0a0d194f0de0546cb294a4efc.tar.gz freebsd-ports-graphics-093b3f35338d12f0a0d194f0de0546cb294a4efc.tar.zst freebsd-ports-graphics-093b3f35338d12f0a0d194f0de0546cb294a4efc.zip |
Make LOCALBASE proof
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mmpython/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/mmpython/Makefile b/multimedia/mmpython/Makefile index 69c1058562e..ada939b683f 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> |