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 /devel | |
parent | ff7ff3869c89ada09dd098161eecb50d2acda462 (diff) | |
download | freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.zst freebsd-ports-gnome-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 'devel')
-rw-r--r-- | devel/cppadvio/Makefile | 2 | ||||
-rw-r--r-- | devel/gnustep-make/Makefile | 2 | ||||
-rw-r--r-- | devel/ptl/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/devel/cppadvio/Makefile b/devel/cppadvio/Makefile index 661456da4dd0..91e657578e34 100644 --- a/devel/cppadvio/Makefile +++ b/devel/cppadvio/Makefile @@ -20,7 +20,7 @@ USE_GMAKE= yes post-patch: @( cd ${WRKSRC}; ${MV} c++ c++.orig; \ - ${SED} -e 's/^ *gcc/${CXX} ${CXXFLAGS}/' c++.orig > c++; ${CHMOD} +x c++ ) + ${SED} -e 's|^ *gcc|${CXX} ${CXXFLAGS}|' c++.orig > c++; ${CHMOD} +x c++ ) do-install: $(INSTALL_DATA) ${WRKSRC}/libcppadvio.a ${PREFIX}/lib diff --git a/devel/gnustep-make/Makefile b/devel/gnustep-make/Makefile index 6d4d5ad06940..1f23c31af938 100644 --- a/devel/gnustep-make/Makefile +++ b/devel/gnustep-make/Makefile @@ -43,7 +43,7 @@ post-patch: .endfor post-configure: - ${SED} -e "s/\(objc_threaded:=\).*/\1 ${PTHREAD_LIBS}/" \ + ${SED} -e "s|\(objc_threaded:=\).*|\1 ${PTHREAD_LIBS}|" \ < ${WRKSRC}/config.make > ${WRKSRC}/config.make.new ${MV} ${WRKSRC}/config.make.new ${WRKSRC}/config.make diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile index aff5fce8c45d..edb1330df00f 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 |