summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-06-19 08:06:00 +0000
committerkris <kris@FreeBSD.org>2003-06-19 08:06:00 +0000
commit1f1e07f404deec0957e5ce63267e13bf8d0c8bff (patch)
treea42129cff27970e4a5a3a1b8eb8caeb4f8782cf5 /math
parent378ea8281eb569a8a61cd2f086a283573602c3a8 (diff)
downloadFreeBSD-ports-1f1e07f404deec0957e5ce63267e13bf8d0c8bff.zip
FreeBSD-ports-1f1e07f404deec0957e5ce63267e13bf8d0c8bff.tar.gz
Remove dependency on blas, and unbreak the build.
Submitted by: Sergei Kolobov <sergei@kolobov.com> PR; ports/53352
Diffstat (limited to 'math')
-rw-r--r--math/blitz++/Makefile7
-rw-r--r--math/blitz++/files/patch-bzconfig14
2 files changed, 15 insertions, 6 deletions
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile
index f3b434b..4255fec 100644
--- a/math/blitz++/Makefile
+++ b/math/blitz++/Makefile
@@ -15,16 +15,11 @@ DISTNAME= blitz-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ class library for scientific computing
-BROKEN= "Does not compile"
-
-LIB_DEPENDS= blas.1:${PORTSDIR}/math/blas
-
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= LDFLAGS="-lg2c"
-CONFIGURE_ARGS= --with-cxx=gcc --disable-debug --with-blas=${LOCALBASE}/lib
+CONFIGURE_ARGS= --with-cxx=gcc --enable-optimize --disable-debug
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/math/blitz++/files/patch-bzconfig b/math/blitz++/files/patch-bzconfig
new file mode 100644
index 0000000..1df9c25
--- /dev/null
+++ b/math/blitz++/files/patch-bzconfig
@@ -0,0 +1,14 @@
+--- compiler/bzconfig.orig Thu May 22 15:06:34 2003
++++ compiler/bzconfig Thu May 22 15:07:00 2003
+@@ -37,11 +37,6 @@
+ # to edit the next line
+ objextension='o'
+
+-if test ! -t 0; then
+- echo "Use 'sh bzconfig', not 'sh < bzconfig'"
+- exit 1
+-fi
+-
+ # clean="rm -f a.out core bztemp bztest bzjunk.cpp bzjunk.o bzjunk.ii bzjunk.int.c bzjunk.s"
+ clean="rm -f core"
+ trap '$clean; exit 1' 1 2 3 15
OpenPOWER on IntegriCloud