summaryrefslogtreecommitdiffstats
path: root/multimedia/libdvdread
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-07-03 19:15:17 +0000
committerlioux <lioux@FreeBSD.org>2002-07-03 19:15:17 +0000
commit454204bb8b2f5b90a2de545fc6a703034997b001 (patch)
treeae0a80efd63faba316fb1abe79782b22cedd731c /multimedia/libdvdread
parent097a62797d4241e3e5fac68147f5752908ce8387 (diff)
downloadFreeBSD-ports-454204bb8b2f5b90a2de545fc6a703034997b001.zip
FreeBSD-ports-454204bb8b2f5b90a2de545fc6a703034997b001.tar.gz
USE_REINPLACE
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 b2868a2..352e0d2 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:
OpenPOWER on IntegriCloud