From be05f9c26269e82a60a6bee205b5600f7031e5f3 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 23 Nov 2004 12:05:58 +0000 Subject: Make LOCALBASE proof --- multimedia/mmpython/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'multimedia') 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 -- cgit v1.2.3