diff options
Diffstat (limited to 'www/rubygem-passenger/Makefile')
-rw-r--r-- | www/rubygem-passenger/Makefile | 9 |
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 \ |