Allow any ruby*-passenger-* gem work with with nginx

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Allow any ruby*-passenger-* gem work with with nginx

Jeremy Evans-5
I'm not sure if it is OK to have multiple * in a package spec, but
it seems to work. packages-specs(7) doesn't specifically forbid it.

This should make it so we don't need to manually update the RDEP and
bump the passenger subpackage for new ruby versions in the future.

OKs?

Thanks,
Jeremy

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.115
diff -u -p -r1.115 Makefile
--- Makefile 14 Nov 2017 16:43:09 -0000 1.115
+++ Makefile 14 Nov 2017 17:19:10 -0000
@@ -31,7 +31,7 @@ PKGNAME-headers_more= nginx-headers-more
 PKGNAME-perl= nginx-perl-${VERSION}
 PKGNAME-passenger= nginx-passenger-${VERSION}
 
-REVISION-passenger= 0
+REVISION-passenger= 1
 
 MASTER_SITES= https://nginx.org/download/
 MASTER_SITES0= https://github.com/simpl/ngx_devel_kit/archive/
@@ -95,7 +95,7 @@ RUN_DEPENDS-lua= www/nginx,-main=${VERSI
 RUN_DEPENDS-headers_more=www/nginx,-main=${VERSION}
 RUN_DEPENDS-perl= www/nginx,-main=${VERSION}
 RUN_DEPENDS-passenger= www/nginx,-main=${VERSION} \
- ruby23-passenger-*|ruby24-passenger-*:www/ruby-passenger
+ ruby*-passenger-*:www/ruby-passenger
 
 NGINX_DIR= /var/www
 SUBST_VARS= NGINX_DIR