aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdnav
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2003-03-24 15:21:48 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2003-03-24 15:21:48 +0000
commit26e794c61a87593364b37248f1a07b971e2f15bc (patch)
tree14af2c27fb0fca0935f0c02049fd79ac1b7bf2c3 /multimedia/libdvdnav
parentc928f4bc0fdeee1f23133ad822d854fcbacd11b3 (diff)
downloadports-26e794c61a87593364b37248f1a07b971e2f15bc.tar.gz
ports-26e794c61a87593364b37248f1a07b971e2f15bc.zip
Use ${REINPLACE_CMD} instead of ${PERL}.
Pointed out by: kris
Notes
Notes: svn path=/head/; revision=77395
Diffstat (limited to 'multimedia/libdvdnav')
-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 ; \