[DRE-maint] Bug#756129: gem2deb: dh_ruby should allow extra parameters to extconf.rb

Gilles Filippini pini at debian.org
Mon May 11 07:58:26 UTC 2015


Hi Lucas,

Lucas Nussbaum a écrit le 08/05/2015 08:14 :
> On 26/07/14 at 17:56 +0200, Gilles Filippini wrote:
>> Package: gem2deb
>> Version: 0.7.5
>> Severity: wishlist
>>
>> Hi,
>>
>> Sometimes the maintainer needs passing hints to extconf.rb, such as
>> --with-<feature>=<directory>
>>
>> I tried:
>> 	dh_auto_install -- --with-<feature>=<directory>
>>         dh_ruby --install -- --with-<feature>=<directory>
>>         dh_ruby --install --with-<feature>=<directory>
>> without success, and looking at the dh_ruby.rb source code it seems
>> there is no way to do that.
>>
>> Then the only solution I found is to quilt patch extconf.rb to hard
>> code the hints, which isn't satisfactory.
>>
>> Thanks in advance,
> 
> Hi Gilles,
> 
> Could you provide an example package that needs this?

Please see the patch attached to #756696.

Thanks,

_g.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150511/0d5f2092/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list