aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdnav/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdvdnav/Makefile')
-rw-r--r--multimedia/libdvdnav/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile
index 5357e478f2ba..387ccd3b4602 100644
--- a/multimedia/libdvdnav/Makefile
+++ b/multimedia/libdvdnav/Makefile
@@ -20,9 +20,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
THREAD_LIBS="${PTHREAD_LIBS}"
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e \
+ @${REINPLACE_CMD} -e \
's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \