ports/180246: [patch] lang/ruby20: update to 2.0.0p247
Mike Carlson
mike at bayphoto.com
Tue Jul 9 20:44:03 UTC 2013
On 7/8/2013 7:44 PM, Stanislav Sedov wrote:
> On Jul 8, 2013, at 11:30 PM, Mike Carlson <mike at bayphoto.com> wrote:
>
>> The patch I supplied above is not working as I thought...
>>
>> The problem seems to be with the lib/mkmf.rb patch, its installing=20
>> compiled so' in an invalid location.
>>
>> For example, installing databases/rubygem-pg installs the pg_ext.so here:=
>>
>>
>> /usr/local/lib/ruby/gems/2.0/gems/pg-0.15.1/lib/usr/local/lib/ruby/site_r=
>> uby/2.0/amd64-freebsd9/pg_ext.so
>>
>> instead of:
>> /usr/local/lib/ruby/gems/2.0/gems/pg-0.15.1/lib/pg_ext.so
> That's weird. Did they change the internal logic of mkmf.rb?
>
> --
> ST4096-RIPE
Yeah, I attempted to just use the same patch from 2.0.0p195, and it did
not apply cleanly. I removed the patch-lib_mkmf.rb and attempted to use
the upstream mkmf.rb, but the same issue came up, .so's would get
installed in the wrong location and loading the module would fail.
Our developer is requesting 2.0.0p247, so I did this in a quick attempt
to bump the port version. This seems to be more complex than I thought
and requires an expert set of eyes.
I can help test though.
Mike C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6054 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ruby/attachments/20130709/d9e404cf/attachment.bin>
More information about the freebsd-ruby
mailing list