diff options
author | joerg <joerg> | 2015-02-19 14:09:32 +0000 |
---|---|---|
committer | joerg <joerg> | 2015-02-19 14:09:32 +0000 |
commit | 3df3a0b391449ec8bfca38aab10a27d31059676b (patch) | |
tree | 9ad351b0460382a780da094c89d2b078e8dbcd3a /databases | |
parent | 771e48a7599f342b92d3ffbff1e338f9593d3322 (diff) | |
download | pkgsrc-3df3a0b391449ec8bfca38aab10a27d31059676b.tar.gz |
Don't use newer instructions because the build machine is new.
Bump revision.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/kyotocabinet/Makefile | 3 | ||||
-rw-r--r-- | databases/kyotocabinet/distinfo | 4 | ||||
-rw-r--r-- | databases/kyotocabinet/patches/patch-configure | 26 |
3 files changed, 24 insertions, 9 deletions
diff --git a/databases/kyotocabinet/Makefile b/databases/kyotocabinet/Makefile index 97ebf52caf7..4188afde5f3 100644 --- a/databases/kyotocabinet/Makefile +++ b/databases/kyotocabinet/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2014/11/21 11:29:52 obache Exp $ +# $NetBSD: Makefile,v 1.2 2015/02/19 14:09:32 joerg Exp $ # DISTNAME= kyotocabinet-1.2.76 +PKGREVISION= 1 CATEGORIES= databases MASTER_SITES= http://fallabs.com/kyotocabinet/pkg/ diff --git a/databases/kyotocabinet/distinfo b/databases/kyotocabinet/distinfo index a92c5016d62..48ae0bc633c 100644 --- a/databases/kyotocabinet/distinfo +++ b/databases/kyotocabinet/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2014/11/24 07:05:48 obache Exp $ +$NetBSD: distinfo,v 1.4 2015/02/19 14:09:32 joerg Exp $ SHA1 (kyotocabinet-1.2.76.tar.gz) = a4ec70d08ca6c8f510dbc329d5c27b55030d3521 RMD160 (kyotocabinet-1.2.76.tar.gz) = 3bc2feb6e01310764c422cc93d9a98ced1da2cfb Size (kyotocabinet-1.2.76.tar.gz) = 951930 bytes -SHA1 (patch-configure) = b443de68ff2865bf94780c2995302b6c42c5dc13 +SHA1 (patch-configure) = 67f2a01332236f7db88a5714ced8662b1c82a467 SHA1 (patch-kccommon.h) = 93a4c003aa6bf069cf65f2a943314f2a332790c6 SHA1 (patch-kcthread.cc) = d09d280cd9589b10bbc10b29dc51d40ce074cc7f diff --git a/databases/kyotocabinet/patches/patch-configure b/databases/kyotocabinet/patches/patch-configure index 4ec2dcf5af1..6d73c75cd92 100644 --- a/databases/kyotocabinet/patches/patch-configure +++ b/databases/kyotocabinet/patches/patch-configure @@ -1,6 +1,7 @@ -$NetBSD: patch-configure,v 1.1 2014/11/21 11:29:52 obache Exp $ +$NetBSD: patch-configure,v 1.2 2015/02/19 14:09:32 joerg Exp $ * prevent unwated overwrite variables +* don't use cpu-specific instructions --- configure.orig 2012-05-24 11:31:45.000000000 +0000 +++ configure @@ -34,10 +35,11 @@ $NetBSD: patch-configure,v 1.1 2014/11/21 11:29:52 obache Exp $ export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH -@@ -3977,15 +3974,6 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUI +@@ -3976,28 +3973,6 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUI + esac - # System-depending optimization +-# System-depending optimization -printf 'checking for 64-bit availability... ' -if printf 'main() {}' | $CC -xc -m64 -o config.tmp - >config.tmp 2>&1 -then @@ -47,6 +49,18 @@ $NetBSD: patch-configure,v 1.1 2014/11/21 11:29:52 obache Exp $ -else - printf 'no\n' -fi - if test "$enable_opt" != "no" - then - printf 'checking for CPU optimization availability... ' +-if test "$enable_opt" != "no" +-then +- printf 'checking for CPU optimization availability... ' +- if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1 +- then +- MYCFLAGS="-march=native $MYCFLAGS" +- MYCXXFLAGS="-march=native $MYCXXFLAGS" +- printf 'yes\n' +- else +- printf 'no\n' +- fi +-fi + printf 'checking for useless warnings... ' + if printf 'main() {}' | $CC -xc \ + -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -o config.tmp - >config.tmp 2>&1 |