www/rubygem-passenger creating slave ports

Dan Langille dan at langille.org
Fri Jan 12 15:19:47 UTC 2018


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