Re: ruby-1.9.pc; strange/harmful entry

2013-02-12 Thread Andriy Gapon
on 11/02/2013 17:01 Steve Wills said the following: > Yep, I had wondered about that, but was initially hesitant to touch > configure.in. Thanks for taking a look. Try the attached patch, also > available here: > > http://meatwad.mouf.net/~swills/ruby_pc.diff2.txt > > This is build tested, but no

Re: ruby-1.9.pc; strange/harmful entry

2013-02-11 Thread Steve Wills
> >From a quick look at configure.in I see that there is a special case for freebsd| dragonflybsd: > > [freebsd*|dragonfly*], [ > ... > DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)' > > I think that this assignment should be removed. That's the only > occurrence of > -Wl,-soname in DLDFLAGS

Re: ruby-1.9.pc; strange/harmful entry

2013-02-11 Thread Andriy Gapon
on 11/02/2013 06:01 Steve Wills said the following: > The more I look at it, the more I think this may be a bug in Ruby or > configure. the file is generated by config.status like so: > > ./config.status --file=ruby-1.9.pc:./template/ruby.pc.in > > Try the attached patch, also available here: >

Re: ruby-1.9.pc; strange/harmful entry

2013-02-10 Thread Steve Wills
On 02/11/13 01:25, Steve Wills wrote: > On 02/10/13 21:30, Andriy Gapon wrote: >> on 10/02/2013 21:56 Steve Wills said the following: >>> On 02/04/13 15:41, Andriy Gapon wrote: $ pkgconf --libs ruby-1.9 -Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo -lpthread >>

Re: ruby-1.9.pc; strange/harmful entry

2013-02-10 Thread Steve Wills
On 02/10/13 21:30, Andriy Gapon wrote: > on 10/02/2013 21:56 Steve Wills said the following: >> On 02/04/13 15:41, Andriy Gapon wrote: >>> $ pkgconf --libs ruby-1.9 >>> -Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo >>> -lpthread >>> -lcrypt -lm -L/usr/local/lib -Wl,-rpath=/u

Re: ruby-1.9.pc; strange/harmful entry

2013-02-10 Thread Andriy Gapon
on 10/02/2013 21:56 Steve Wills said the following: > On 02/04/13 15:41, Andriy Gapon wrote: >> $ pkgconf --libs ruby-1.9 >> -Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo -lpthread >> -lcrypt -lm -L/usr/local/lib -Wl,-rpath=/usr/local/lib -pthread >> >> I am not sure if '(.TA

Re: ruby-1.9.pc; strange/harmful entry

2013-02-10 Thread Steve Wills
On 02/04/13 15:41, Andriy Gapon wrote: > $ pkgconf --libs ruby-1.9 > -Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo -lpthread > -lcrypt -lm -L/usr/local/lib -Wl,-rpath=/usr/local/lib -pthread > > I am not sure if '(.TARGET)' is supposed to be expanded. But I think that > -Wl

ruby-1.9.pc; strange/harmful entry

2013-02-04 Thread Andriy Gapon
$ pkgconf --libs ruby-1.9 -Wl,-soname,(.TARGET) -Wl,-R -Wl,/usr/local/lib -lruby19 -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib -Wl,-rpath=/usr/local/lib -pthread I am not sure if '(.TARGET)' is supposed to be expanded. But I think that -Wl,-soname should really have no place in pkgconf dat