diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-03-09 13:29:58 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-03-09 13:29:58 +0000 |
commit | a87b9026fd8603096190f573bf3d35cf8798fbb6 (patch) | |
tree | 50ecd0851a5ff6ed9aeb44ad73acaa9c6ce7816f /www | |
parent | 34442c24cc6a6912b347362ee7198605fbc247f0 (diff) | |
download | pkgsrc-a87b9026fd8603096190f573bf3d35cf8798fbb6.tar.gz |
Remove a quirky -march=i486 workaround.
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-raindrops/Makefile | 3 | ||||
-rw-r--r-- | www/ruby-raindrops/distinfo | 3 | ||||
-rw-r--r-- | www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb | 19 |
3 files changed, 23 insertions, 2 deletions
diff --git a/www/ruby-raindrops/Makefile b/www/ruby-raindrops/Makefile index b501b0b4a2c..f51b1ffccfa 100644 --- a/www/ruby-raindrops/Makefile +++ b/www/ruby-raindrops/Makefile @@ -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 diff --git a/www/ruby-raindrops/distinfo b/www/ruby-raindrops/distinfo index 625946f4142..4d2e9e8c7e4 100644 --- a/www/ruby-raindrops/distinfo +++ b/www/ruby-raindrops/distinfo @@ -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 --git a/www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb b/www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb new file mode 100644 index 00000000000..fbb95ee1932 --- /dev/null +++ b/www/ruby-raindrops/patches/patch-ext_raindrops_extconf.rb @@ -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 |