ruby-1.9.pc; strange/harmful entry

Steve Wills swills at FreeBSD.org
Mon Feb 11 01:25:45 UTC 2013


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=/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 data.
>>> As it is now, the entry causes confusion (e.g. for a shell) when the above line is
>>> included verbatim into some compilation/link command like.
>>>
>>
>> I suspect this could be bmake related. What version of FreeBSD are you
>> using?
> 
> This is recent-ish head (r244281).
> 

Actually, this isn't bmake related at all, I'll try to come up with a
solution. Thanks for the report. If you have time, a PR would be handy,
just in case I forget.

Thanks,
Steve



More information about the freebsd-ruby mailing list