aboutsummaryrefslogtreecommitdiffstats
path: root/www/rubygem-passenger/Makefile
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2011-04-04 15:59:12 +0800
committerosa <osa@FreeBSD.org>2011-04-04 15:59:12 +0800
commit304c414261974e0d676e5770f74d449c0e827af5 (patch)
tree0a1c7dcd2826a5c6f8f2c4181a192806d261ff27 /www/rubygem-passenger/Makefile
parent01001bb98c43a0d119592f0b75e136075a6fb8c6 (diff)
downloadfreebsd-ports-gnome-304c414261974e0d676e5770f74d449c0e827af5.tar.gz
freebsd-ports-gnome-304c414261974e0d676e5770f74d449c0e827af5.tar.zst
freebsd-ports-gnome-304c414261974e0d676e5770f74d449c0e827af5.zip
Update from 3.0.5 to 3.0.6:
o) www/rubygem-passenger; [*] o) passenger support for www/nginx and www/nginx-devel. More accurate for detect dependence of nginx ports. [*] Approved by: maintainer [*]
Diffstat (limited to 'www/rubygem-passenger/Makefile')
-rw-r--r--www/rubygem-passenger/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile
index 569f6217ce4a..025931b473e2 100644
--- a/www/rubygem-passenger/Makefile
+++ b/www/rubygem-passenger/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= passenger
-PORTVERSION= 3.0.5
+PORTVERSION= 3.0.6
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMEPREFIX= rubygem-
@@ -34,7 +34,12 @@ USE_APACHE= 2.2+
.endif
.if defined(WITH_NGINXPORT)
-BUILD_DEPENDS+= nginx>=0.8.54:${PORTSDIR}/www/nginx
+NGINXVERSION!= ${PKG_INFO} -qO www/nginx-devel 2>/dev/null || true
+.if empty(NGINXVERSION)
+BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx
+.else
+BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx-devel
+.endif
.endif
LIB_DEPENDS+= ev.3:${PORTSDIR}/devel/libev \