summaryrefslogtreecommitdiff
path: root/math/genius
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-27 20:35:48 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-27 20:35:48 +0000
commitecae5a70db78db2450551cbada94082300420f51 (patch)
tree57348ce5146cd75d8baddeb4ce9a9406011148cb /math/genius
parent1750f7c4d58b3100af4b846533deeb1029ebf090 (diff)
downloadpkgsrc-ecae5a70db78db2450551cbada94082300420f51.tar.gz
Drop -frename-registers. -finline-functions is the default for optimised
builds anyway.
Diffstat (limited to 'math/genius')
-rw-r--r--math/genius/distinfo4
-rw-r--r--math/genius/patches/patch-configure15
-rw-r--r--math/genius/patches/patch-configure.in15
3 files changed, 33 insertions, 1 deletions
diff --git a/math/genius/distinfo b/math/genius/distinfo
index d046d7a2c09..504c127a4d7 100644
--- a/math/genius/distinfo
+++ b/math/genius/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.18 2013/07/24 11:15:55 drochner Exp $
+$NetBSD: distinfo,v 1.19 2013/10/27 20:35:48 joerg Exp $
SHA1 (genius-1.0.17.tar.gz) = 884a12db62de68aa90b078ba9baa124f73c44f51
RMD160 (genius-1.0.17.tar.gz) = 17b6fa3fddf65f4bab8e0d7721f85ea8a666d838
Size (genius-1.0.17.tar.gz) = 3960909 bytes
+SHA1 (patch-configure) = a1431b1e521c35eea3df1acc16415806b54f58e7
+SHA1 (patch-configure.in) = 73fcc7ba580b7f575bd16fdcf12fe81518904379
SHA1 (patch-gtkextra_gtkplot.c) = 3ea37b0a15454b5d81d62b93dd4a70828259d97f
SHA1 (patch-gtkextra_gtkplotsurface.c) = 5f1e98dc7268ebef3a5edf04496a92b4f620114c
diff --git a/math/genius/patches/patch-configure b/math/genius/patches/patch-configure
new file mode 100644
index 00000000000..f33fb7b9374
--- /dev/null
+++ b/math/genius/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2013/10/27 20:35:48 joerg Exp $
+
+--- configure.orig 2013-10-18 21:37:24.000000000 +0000
++++ configure
+@@ -5097,10 +5097,6 @@ else
+ fi
+
+
+-if test "x$GCC" = "xyes" -a "x$use_extraopt" = "xyes" ; then
+- echo "Turning on extra gcc flags -finline-functions -frename-registers"
+- CFLAGS="-finline-functions -frename-registers $CFLAGS"
+-fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
+ $as_echo_n "checking for library containing strerror... " >&6; }
+ if ${ac_cv_search_strerror+:} false; then :
diff --git a/math/genius/patches/patch-configure.in b/math/genius/patches/patch-configure.in
new file mode 100644
index 00000000000..7dc3e626110
--- /dev/null
+++ b/math/genius/patches/patch-configure.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.in,v 1.1 2013/10/27 20:35:48 joerg Exp $
+
+--- configure.in.orig 2013-10-18 21:37:23.000000000 +0000
++++ configure.in
+@@ -26,10 +26,6 @@ AC_ARG_ENABLE(extra-gcc-optimization,
+ [ --disable-extra-gcc-optimization Compile without extra GCC optimization (if using GCC)],
+ use_extraopt="$enableval",use_extraopt=yes)
+ AC_PROG_CC
+-if test "x$GCC" = "xyes" -a "x$use_extraopt" = "xyes" ; then
+- echo "Turning on extra gcc flags -finline-functions -frename-registers"
+- CFLAGS="-finline-functions -frename-registers $CFLAGS"
+-fi
+ AC_ISC_POSIX
+ AC_HEADER_STDC
+ AM_PROG_LEX