aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mreport
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-10 20:59:36 +0800
committerknu <knu@FreeBSD.org>2002-10-10 20:59:36 +0800
commitaaeb4b1425bfe845ae22767084c03c14edda9e76 (patch)
tree5488959ef6189820e93ea19b660003c4298e2d8a /mail/mreport
parentff7ff3869c89ada09dd098161eecb50d2acda462 (diff)
downloadfreebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz
freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.zst
freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.zip
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 'mail/mreport')
-rw-r--r--mail/mreport/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mreport/Makefile b/mail/mreport/Makefile
index 1e51b056c77e..41a029f139e5 100644
--- a/mail/mreport/Makefile
+++ b/mail/mreport/Makefile
@@ -19,7 +19,7 @@ MAN8= mreport.8
post-patch:
@${REINPLACE_CMD} -e "s/^.TH mreport 1/.TH mreport 8/g; s/^.LO 1/.LO 8/g;" \
${WRKSRC}/mreport.1
- @${REINPLACE_CMD} -E -e "s/^CC.+//g; s/-Wall -c -O2/${CFLAGS} -c/g;" \
+ @${REINPLACE_CMD} -E -e "s/^CC.+//g; s|-Wall -c -O2|${CFLAGS} -c|g;" \
${WRKSRC}/Makefile
do-install: