/[gentoo-x86]/dev-ruby/sary-ruby/files/sary-ruby-1.2.0-gentoo.patch
Gentoo

Contents of /dev-ruby/sary-ruby/files/sary-ruby-1.2.0-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Apr 18 17:11:35 2014 UTC (5 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
dev-ruby/sary-ruby removal. See bug #434064.

1 diff -Naur sary-ruby-1.2.0.orig/extconf.rb sary-ruby-1.2.0/extconf.rb
2 --- sary-ruby-1.2.0.orig/extconf.rb 2005-03-30 07:48:09.000000000 +0900
3 +++ sary-ruby-1.2.0/extconf.rb 2008-09-23 09:16:23.000000000 +0900
4 @@ -5,8 +5,8 @@
5
6 # use_sary_config = enable_config('sary-config')
7 # if use_sary_config || use_sary_config == nil
8 -# $CFLAGS += ' ' + `#{sary_config} --cflags`.chomp
9 -# $LDFLAGS += ' ' + `#{sary_config} --libs`.chomp
10 +# $CFLAGS += ' ' + `#{sary_config} --cflags`.chomp
11 +# $LIBS += ' ' + `#{sary_config} --libs`.chomp
12 # end
13
14 pkg_config = 'pkg-config'
15 @@ -15,8 +15,8 @@
16 ENV['PKG_CONFIG_PATH'] = '/usr/local/lib/pkgconfig/'
17 end
18
19 -$CFLAGS += ' ' + `#{pkg_config} sary --cflags`.chomp
20 -$LDFLAGS += ' ' + `#{pkg_config} sary --libs`.chomp
21 +$CFLAGS += ' ' + `#{pkg_config} sary --cflags`.chomp
22 +$LIBS += ' ' + `#{pkg_config} sary --libs`.chomp
23
24 if have_header('sary.h') &&
25 have_library('sary')

  ViewVC Help
Powered by ViewVC 1.1.20