summaryrefslogtreecommitdiff
path: root/math/linalg/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-05-28 04:05:30 +0000
committerSteve Price <steve@FreeBSD.org>2000-05-28 04:05:30 +0000
commit69ed7d4abbed4e68f0c0f1c65dafbc7ec37d69bd (patch)
tree5a6507501dcf5ae35743e1ae3b7489645b903998 /math/linalg/Makefile
parentFix this port after the recent PORT{NAME,VERSION} changes. portlint(1) (diff)
Don't try to use eg++ as the C++ compiler and honor CXXFLAGS.
Notes
Notes: svn path=/head/; revision=28823
Diffstat (limited to 'math/linalg/Makefile')
-rw-r--r--math/linalg/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/linalg/Makefile b/math/linalg/Makefile
index 2f5534e0b24e..5e89a5c0742f 100644
--- a/math/linalg/Makefile
+++ b/math/linalg/Makefile
@@ -17,7 +17,9 @@ ALL_TARGET= lib
INSTALL_TARGET= lib
USE_GMAKE= yes
-BROKEN= "Tries to run eg++"
+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++ )
post-install:
$(INSTALL_DATA) ${WRKSRC}/libla.a ${PREFIX}/lib