pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ruby-raindrops Remove a quirky -march=i486 workaro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/41a90f588acf
branches: trunk
changeset: 600555:41a90f588acf
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Fri Mar 09 13:29:58 2012 +0000
description:
Remove a quirky -march=i486 workaround.
diffstat:
www/ruby-raindrops/Makefile | 3 +-
www/ruby-raindrops/distinfo | 3 +-
www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb | 19 +++++++++++++++
3 files changed, 23 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r 2fab3449994c -r 41a90f588acf www/ruby-raindrops/Makefile
--- a/www/ruby-raindrops/Makefile Fri Mar 09 13:11:05 2012 +0000
+++ b/www/ruby-raindrops/Makefile Fri Mar 09 13:29:58 2012 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2012/02/06 12:39:41 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2012/03/09 13:29:58 fhajny Exp $
DISTNAME= raindrops-0.8.0
+PKGREVISION= 1
CATEGORIES= www
MAINTAINER= pkgsrc%NetBSD.org@localhost
diff -r 2fab3449994c -r 41a90f588acf www/ruby-raindrops/distinfo
--- a/www/ruby-raindrops/distinfo Fri Mar 09 13:11:05 2012 +0000
+++ b/www/ruby-raindrops/distinfo Fri Mar 09 13:29:58 2012 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/02/06 12:39:41 fhajny Exp $
+$NetBSD: distinfo,v 1.2 2012/03/09 13:29:58 fhajny Exp $
SHA1 (raindrops-0.8.0.gem) = ca4cb3bdfae122a6a137cebe4ece550aa98019b9
RMD160 (raindrops-0.8.0.gem) = c685d7e25bc75200ef256166e3f6879e3e98bcfa
Size (raindrops-0.8.0.gem) = 70144 bytes
+SHA1 (patch-ext_raindrops_extconf.rb) = 698545a3c3547d1c3d48b8449a69d54a2a95477a
diff -r 2fab3449994c -r 41a90f588acf www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb Fri Mar 09 13:29:58 2012 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ext_raindrops_extconf.rb,v 1.1 2012/03/09 13:29:58 fhajny Exp $
+
+Avoid stumbling upon -march=i486.
+--- ext/raindrops/extconf.rb.orig 2012-02-27 22:41:38.588175948 +0000
++++ ext/raindrops/extconf.rb
+@@ -23,13 +23,6 @@ int main(int argc, char * const argv[])
+ SRC
+
+ if try_run(src)
+- # some systems target GCC for i386 and don't get the atomic builtins
+- # when building shared objects
+- arch = `#{CONFIG['CC']} -dumpmachine`.split(/-/)[0]
+- if arch == "i386" && $CFLAGS !~ /\b-march=/
+- $CFLAGS += " -march=i486 "
+- end
+-
+ $defs.push(format("-DHAVE_GCC_ATOMIC_BUILTINS"))
+ true
+ else
Home |
Main Index |
Thread Index |
Old Index