From 744ecfac3352a5a89c9b0731e7782ef6aa337244 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA <knu@FreeBSD.org> Date: Thu, 10 Oct 2002 12:59:36 +0000 Subject: 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) --- mail/mreport/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mreport') 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: -- cgit v1.2.3