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 /devel/ptl | |
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 'devel/ptl')
-rw-r--r-- | devel/ptl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile index aff5fce..edb1330 100644 --- a/devel/ptl/Makefile +++ b/devel/ptl/Makefile @@ -31,7 +31,7 @@ DOCS= COPYING ChangeLog FAQ NEWS \ WISHLIST doc/manual.ps.gz post-patch: - ${PERL} -i -pe 's/-O[2-6]/${CFLAGS}/g' \ + ${PERL} -i -pe 's|-O[2-6]|${CFLAGS}|g' \ ${WRKSRC}/Util/Makefile.in \ ${WRKSRC}/Util/configure \ ${WRKSRC}/libaltsys/utils/configure |