summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-10 12:59:36 +0000
committerknu <knu@FreeBSD.org>2002-10-10 12:59:36 +0000
commitaaeb4b1425bfe845ae22767084c03c14edda9e76 (patch)
tree5488959ef6189820e93ea19b660003c4298e2d8a /graphics
parentff7ff3869c89ada09dd098161eecb50d2acda462 (diff)
downloadFreeBSD-ports-aaeb4b1425bfe845ae22767084c03c14edda9e76.zip
FreeBSD-ports-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz
CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in
them when using a non-default compiler/linker, so do not use `/' as delimiter for s///. (I picked `|' instead)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/avidemux/Makefile2
-rw-r--r--graphics/seejpeg/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/avidemux/Makefile b/graphics/avidemux/Makefile
index 2d8b79b..40799ec 100644
--- a/graphics/avidemux/Makefile
+++ b/graphics/avidemux/Makefile
@@ -35,6 +35,6 @@ CONFIGURE_ARGS= --with-xvid-as-decoder
USE_GMAKE= yes
post-patch:
- @${REINPLACE_CMD} 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/graphics/seejpeg/Makefile b/graphics/seejpeg/Makefile
index d2c2480..bb00bf3 100644
--- a/graphics/seejpeg/Makefile
+++ b/graphics/seejpeg/Makefile
@@ -29,6 +29,6 @@ post-extract:
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
- ${SED} "s/-O3/${CFLAGS}/g" ${WRKSRC}/Makefile.prev > ${WRKSRC}/Makefile
+ ${SED} "s|-O3|${CFLAGS}|g" ${WRKSRC}/Makefile.prev > ${WRKSRC}/Makefile
.include <bsd.port.mk>
OpenPOWER on IntegriCloud