aboutsummaryrefslogtreecommitdiffstats
path: root/math/linalg
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-10 20:59:36 +0800
committerknu <knu@FreeBSD.org>2002-10-10 20:59:36 +0800
commitaaeb4b1425bfe845ae22767084c03c14edda9e76 (patch)
tree5488959ef6189820e93ea19b660003c4298e2d8a /math/linalg
parentff7ff3869c89ada09dd098161eecb50d2acda462 (diff)
downloadfreebsd-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 'math/linalg')
-rw-r--r--math/linalg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/linalg/Makefile b/math/linalg/Makefile
index 41275671ab9e..e4a25153f7ed 100644
--- a/math/linalg/Makefile
+++ b/math/linalg/Makefile
@@ -19,8 +19,8 @@ INSTALL_TARGET= lib
USE_GMAKE= yes
post-patch:
- @( cd ${WRKSRC}; ${SED} -e 's/%%CXXFLAGS%%/${CXXFLAGS}/g' \
- -e 's/%%CXX%%/${CXX}/g' c++ > c++.sed; mv c++.sed c++; ${CHMOD} +x c++ )
+ @( cd ${WRKSRC}; ${SED} -e 's|%%CXXFLAGS%%|${CXXFLAGS}|g' \
+ -e 's|%%CXX%%|${CXX}|g' c++ > c++.sed; mv c++.sed c++; ${CHMOD} +x c++ )
post-install:
$(INSTALL_DATA) ${WRKSRC}/libla.a ${PREFIX}/lib