source: trunk/dports/ruby/rb-mp3taglib/files/patch-extconf.rb @ 9868

Last change on this file since 9868 was 9868, checked in by tristan, 15 years ago

new port

  • Property svn:eol-style set to native
File size: 552 bytes
Line 
1--- extconf.rb  Wed Aug 27 07:02:53 2003
2+++ ../mp3taglib-0.6-patched/extconf.rb Sat Dec 18 01:19:07 2004
3@@ -3,15 +3,16 @@
4 require 'mkmf'
5 create_makefile("c_mp3tag")
6 
7+=begin
8 arr=Array::new
9 File::open("Makefile","r"){|f|
10   arr=f.readlines
11     arr.map!{|l|
12     if l=~/^LDSHARED/
13-      "LDSHARED = g++ -shared"
14+      "LDSHARED = g++ "
15     else
16       if l=~/^LIBS/
17-       "LIBS = $(LIBRUBY_A) -lc -ldl -lcrypt -lm -lid3 -lz "
18+       "LIBS = $(LIBRUBY) -lc -ldl -lm -lid3 -lz "
19       else
20        l
21       end
22@@ -24,4 +25,4 @@
23     f.puts(l)
24   }
25 }
26-
27+=end
Note: See TracBrowser for help on using the repository browser.