aboutsummaryrefslogtreecommitdiffstats
path: root/math/spar
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-09 06:51:04 +0800
committerkris <kris@FreeBSD.org>2002-09-09 06:51:04 +0800
commitb3532a2cabd20e531cf26bc42340c4f1b1f7c290 (patch)
treedfea333e95bea44593aaeb1a42da060d9e081367 /math/spar
parentb236ba81eee3f91297ba8cef886545d70b1d1f8d (diff)
downloadfreebsd-ports-gnome-b3532a2cabd20e531cf26bc42340c4f1b1f7c290.tar.gz
freebsd-ports-gnome-b3532a2cabd20e531cf26bc42340c4f1b1f7c290.tar.zst
freebsd-ports-gnome-b3532a2cabd20e531cf26bc42340c4f1b1f7c290.zip
Fix build on -current by adding USE_LIBTOOL, and respect CFLAGS
Diffstat (limited to 'math/spar')
-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