www/rubygem-passenger creating slave ports
Dan Langille
dan at langille.org
Sat Jan 13 01:02:13 UTC 2018
Hello Sergey,
The proposed solution is a short term solution which goes away when FLAVORS are done for ruby. This is not soon.
We (feld@ & I) choose this solution as it has very little affect on the existing port.
The need arose today & we hope to proceed quickly with whatever can be done.
How do you suggest we proceed with the work?
Thank you
--
Dan Langille
http://langille.org/
> On Jan 12, 2018, at 7:33 PM, Sergey A. Osokin <osa at FreeBSD.org> wrote:
>
> Hi Dan,
>
> I don't see any reason to create two separate ports in this case and support
> them then cause potentially it's possible to modify the existing port to get
> the same result.
>
> --
> Sergey A. Osokin
>
>> On Fri, Jan 12, 2018 at 10:18:37AM -0500, Dan Langille wrote:
>> Sergey,
>>
>> We have a need to use rubygem-passenger with both Nginx and with Apache (on different servers).
>>
>> I propose to create two new slave ports:
>>
>> * www/rubygem-passenger-nginx
>> * www/rubygem-passenger-passenger
>>
>> To do this, I would like to make a one-line change to the master port:
>>
>>
>> Index: Makefile
>> ===================================================================
>> --- Makefile (revision 458852)
>> +++ Makefile (working copy)
>> @@ -24,7 +24,7 @@
>> APACHE22_DESC= Build with apache22 support
>> NGINX_DESC= Build with nginx support
>> SYMLINK_DESC= Create passenger symlink
>> -OPTIONS_DEFAULT= APACHE22
>> +OPTIONS_DEFAULT=? APACHE22
>>
>> USE_RUBY= yes
>> RAKE_BIN= ${LOCALBASE}/bin/rake
>>
>> This will allow the slave port to set OPTIONS_DEFAULT and build for the desired web server.
>>
>> If you agree, I am happen to make the commit / submit a patch for your approval.
>>
>> Thank you.
>>
>> --
>> Dan Langille - BSDCan / PGCon
>> dan at langille.org
>>
>>
More information about the freebsd-ports
mailing list