diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-10 12:59:36 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-10 12:59:36 +0000 |
commit | 744ecfac3352a5a89c9b0731e7782ef6aa337244 (patch) | |
tree | 066489f219d8ac0b5e6eb955366a5d1dd8bb53a7 /devel | |
parent | Correct 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)
Notes
Notes:
svn path=/head/; revision=67737
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 |