diff options
author | joerg <joerg> | 2013-10-27 20:35:48 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-10-27 20:35:48 +0000 |
commit | 2e3d29a79c2f156a1f19a4c4e98006acf2117e5b (patch) | |
tree | 57348ce5146cd75d8baddeb4ce9a9406011148cb /math/genius | |
parent | 45fe13196ab546e73bfd8242d5211dc17e644b3c (diff) | |
download | pkgsrc-2e3d29a79c2f156a1f19a4c4e98006acf2117e5b.tar.gz |
Drop -frename-registers. -finline-functions is the default for optimised
builds anyway.
Diffstat (limited to 'math/genius')
-rw-r--r-- | math/genius/distinfo | 4 | ||||
-rw-r--r-- | math/genius/patches/patch-configure | 15 | ||||
-rw-r--r-- | math/genius/patches/patch-configure.in | 15 |
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 |