summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-08 22:51:04 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-08 22:51:04 +0000
commitff53534b5acfdefdf9dec132d7f29526ae9c3b2c (patch)
tree04155c5248e1718ef83e2fee0f9dce1609f196cd /math
parentFix build in -current (build/link C++ code with ${CXX}) (diff)
Fix build on -current by adding USE_LIBTOOL, and respect CFLAGS
Notes
Notes: svn path=/head/; revision=65861
Diffstat (limited to 'math')
-rw-r--r--math/spar/Makefile1
-rw-r--r--math/spar/files/patch-configure10
2 files changed, 11 insertions, 0 deletions
diff --git a/math/spar/Makefile b/math/spar/Makefile
index e0e18ffdbde0..3c8d65aa63db 100644
--- a/math/spar/Makefile
+++ b/math/spar/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
+USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
INSTALLS_SHLIB= yes
diff --git a/math/spar/files/patch-configure b/math/spar/files/patch-configure
new file mode 100644
index 000000000000..ce43259d9db6
--- /dev/null
+++ b/math/spar/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Tue Jun 26 05:46:47 2001
++++ configure Sun Sep 8 15:42:06 2002
+@@ -1580,7 +1563,6 @@
+ exec 5>>./config.log
+
+
+-CFLAGS="-Wall -O2"
+ if test "$CC" = "gcc"; then
+ CFLAGS="$CFLAGS -pipe"
+ fi