From 744ecfac3352a5a89c9b0731e7782ef6aa337244 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 10 Oct 2002 12:59:36 +0000 Subject: 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) --- devel/cppadvio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel/cppadvio') 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 -- cgit v1.2.3