diff options
author | lioux <lioux@FreeBSD.org> | 2002-07-04 03:15:17 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-07-04 03:15:17 +0800 |
commit | 454204bb8b2f5b90a2de545fc6a703034997b001 (patch) | |
tree | ae0a80efd63faba316fb1abe79782b22cedd731c /multimedia/mjpegtools | |
parent | 097a62797d4241e3e5fac68147f5752908ce8387 (diff) | |
download | freebsd-ports-graphics-454204bb8b2f5b90a2de545fc6a703034997b001.tar.gz freebsd-ports-graphics-454204bb8b2f5b90a2de545fc6a703034997b001.tar.zst freebsd-ports-graphics-454204bb8b2f5b90a2de545fc6a703034997b001.zip |
USE_REINPLACE
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index d59efbd423e..99241feb45b 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -20,6 +20,7 @@ LIB_DEPENDS= aviplay-0.7.0:${PORTSDIR}/graphics/avifile \ USE_GLIB= yes USE_GMAKE= yes +USE_REINPLACE= yes USE_XLIB= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \ @@ -122,25 +123,25 @@ pre-everything:: .endif post-patch: - @${PERL} -pi -e 's|^(pkgconfigdir = )\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \ + @${REINPLACE_CMD} -E -e 's|^(pkgconfigdir = )\$$\(libdir\)/(pkgconfig)|\1${PREFIX}/libdata/\2|' \ ${WRKSRC}/Makefile.in - @${PERL} -pi -e 's|stdint.h|sys/types.h|' \ + @${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \ ${WRKSRC}/lavtools/lav2divx.cpp \ ${WRKSRC}/lavtools/yuv2divx.cpp \ ${WRKSRC}/lavtools/divxdec.cpp - @${PERL} -pi -e 's@(-l(jpeg|openquicktime|png))@-L${LOCALBASE}/lib \1@; \ + @${REINPLACE_CMD} -E -e 's@(-l(jpeg|openquicktime|png))@-L${LOCALBASE}/lib \1@; \ s|(-I) (\$$with_quicktime)|\1\2/include/openquicktime|; \ s|(with_quicktime/)(openquicktime)(.h)|\1include/\2/\2\3|; \ s|-ldl||; \ s|(-ldv)|-L${LOCALBASE}/lib \1 ${PTHREAD_LIBS:S/"//g}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${PERL} -pi -e 's|SDL/|SDL11/|' \ + @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' \ ${WRKSRC}/lavtools/liblavplay.c \ ${WRKSRC}/lavtools/yuvplay.c .ifdef(WITH_QUICKTIME) - @${PERL} -pi -e 's|^(have_openquicktime=).+|\1true|' \ + @${REINPLACE_CMD} -E -e 's|^(have_openquicktime=).+|\1true|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - @${PERL} -pi -e 's|HAVE_OPENQUICKTIME|__FreeBSD__|' \ + @${REINPLACE_CMD} -e 's|HAVE_OPENQUICKTIME|__FreeBSD__|' \ ${WRKSRC}/lavtools/lav_io.h .endif |