diff options
author | knu <knu@FreeBSD.org> | 2002-10-10 12:59:36 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-10-10 12:59:36 +0000 |
commit | aaeb4b1425bfe845ae22767084c03c14edda9e76 (patch) | |
tree | 5488959ef6189820e93ea19b660003c4298e2d8a /textproc/p5-XML-Parser | |
parent | ff7ff3869c89ada09dd098161eecb50d2acda462 (diff) | |
download | FreeBSD-ports-aaeb4b1425bfe845ae22767084c03c14edda9e76.zip FreeBSD-ports-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz |
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 'textproc/p5-XML-Parser')
-rw-r--r-- | textproc/p5-XML-Parser/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile index aace492..0721b82 100644 --- a/textproc/p5-XML-Parser/Makefile +++ b/textproc/p5-XML-Parser/Makefile @@ -47,7 +47,7 @@ post-patch: .endif post-configure: - @${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \ - -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile + @${PERL} -i -pe 's|^(CC = ).*|$$1 ${CC}|;' \ + -e 's|^(CCFLAGS = ).*|$$1 ${CFLAGS}|' ${WRKSRC}/Expat/Makefile .include <bsd.port.mk> |