diff options
author | knu <knu@FreeBSD.org> | 2002-10-10 20:59:36 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-10-10 20:59:36 +0800 |
commit | aaeb4b1425bfe845ae22767084c03c14edda9e76 (patch) | |
tree | 5488959ef6189820e93ea19b660003c4298e2d8a /x11-toolkits | |
parent | ff7ff3869c89ada09dd098161eecb50d2acda462 (diff) | |
download | freebsd-ports-graphics-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz freebsd-ports-graphics-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.zst freebsd-ports-graphics-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 'x11-toolkits')
-rw-r--r-- | x11-toolkits/p5-Tk/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile index 152114fe203..6c4729e468c 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> |