summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-10-10 12:59:36 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-10-10 12:59:36 +0000
commit744ecfac3352a5a89c9b0731e7782ef6aa337244 (patch)
tree066489f219d8ac0b5e6eb955366a5d1dd8bb53a7 /x11-toolkits
parentCorrect intl shlib version number. (diff)
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 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Tk/Makefile4
1 files changed, 2 insertions, 2 deletions
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 <bsd.port.mk>