aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdread
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-03 19:15:17 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-03 19:15:17 +0000
commit6bbf6dab165a729301f9432ab7e8ec4609dde2d7 (patch)
treecdd777297ced0b449b13b17da430bc5f5caeea29 /multimedia/libdvdread
parent3eae406cebbf2ed89cefe245cd0b2557186f84b6 (diff)
downloadports-6bbf6dab165a729301f9432ab7e8ec4609dde2d7.tar.gz
ports-6bbf6dab165a729301f9432ab7e8ec4609dde2d7.zip
USE_REINPLACE
Notes
Notes: svn path=/head/; revision=62387
Diffstat (limited to 'multimedia/libdvdread')
-rw-r--r--multimedia/libdvdread/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index b2868a2fb51e..352e0d2c3b38 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -16,6 +16,7 @@ LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/graphics/libdvdcss
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
DOC_FILES= AUTHORS COPYING NEWS README TODO
@@ -27,11 +28,11 @@ DVDCSS_LIBVERSION= 2
post-patch:
.for p in Makefile.in dvdread/Makefile.in src/Makefile.in
- @${PERL} -pi -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \
+ @${REINPLACE_CMD} -E -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \
s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p}
.endfor
# update this in sync with libdvdcss shared library version
- @${PERL} -pi -e 's|(libdvdcss.so).2|\1.${DVDCSS_LIBVERSION}|' \
+ @${REINPLACE_CMD} -E -e 's|(libdvdcss.so).2|\1.${DVDCSS_LIBVERSION}|' \
${WRKSRC}/dvdread/dvd_input.c
post-configure: