svn commit: r384951 - head/www/rubygem-passenger
Sergey A. Osokin
osa at FreeBSD.org
Wed Apr 29 00:46:12 UTC 2015
Author: osa
Date: Wed Apr 29 00:46:11 2015
New Revision: 384951
URL: https://svnweb.freebsd.org/changeset/ports/384951
Log:
Enable check for passenger third-party module compiled in nginx.
Modified:
head/www/rubygem-passenger/Makefile
Modified: head/www/rubygem-passenger/Makefile
==============================================================================
--- head/www/rubygem-passenger/Makefile Wed Apr 29 00:42:06 2015 (r384950)
+++ head/www/rubygem-passenger/Makefile Wed Apr 29 00:46:11 2015 (r384951)
@@ -36,11 +36,18 @@ USE_APACHE= 22+
.if ${PORT_OPTIONS:MNGINX}
NGINXVERSION!= ${PKG_INFO} -qO www/nginx-devel 2>/dev/null; ${ECHO_CMD}
+NGXPASSENGER!= nginx -V 2>&1 | sed 's/.*passenger-\(.*\)\/ext.*/\1/g' | tail -1
.if empty(NGINXVERSION)
BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx
.else
BUILD_DEPENDS+= nginx:${PORTSDIR}/www/nginx-devel
.endif
+.if empty(NGXPASSENGER)
+IGNORE= rebuild nginx with latest passenger module
+.endif
+.if (${NGXPASSENGER} != ${PORTVERSION})
+IGNORE= rebuild nginx with third-party ${PORTVERSION} module, current verion is ${NGXPASSENGER}
+.endif
.endif
LIB_DEPENDS+= libeio.so:${PORTSDIR}/devel/libeio \
More information about the svn-ports-head
mailing list