From a7a900904718f864cc45af6501378c41924f6191 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 19 Feb 2015 14:09:32 +0000 Subject: Don't use newer instructions because the build machine is new. Bump revision. --- databases/kyotocabinet/Makefile | 3 ++- databases/kyotocabinet/distinfo | 4 ++-- databases/kyotocabinet/patches/patch-configure | 26 ++++++++++++++++++++------ 3 files changed, 24 insertions(+), 9 deletions(-) (limited to 'databases') 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 -- cgit v1.2.3