From 744ecfac3352a5a89c9b0731e7782ef6aa337244 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA 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) --- x11-toolkits/p5-Tk/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile index 152114fe2037..6c4729e468c1 100644 --- a/x11-toolkits/p5-Tk/Makefile +++ b/x11-toolkits/p5-Tk/Makefile @@ -128,8 +128,8 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} post-configure: @${PERL} -i -p \ - -e 's/^(CC = ).*/$$1 ${CC}/;' \ - -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' \ + -e 's|^(CC = ).*|$$1 ${CC}|;' \ + -e 's|^(CCFLAGS = ).*|$$1 ${CFLAGS}|' \ `${FIND} ${WRKSRC} -name Makefile` .include -- cgit v1.2.3