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
d...@langille.org


_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to