Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2015 00:46:12 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384951 - head/www/rubygem-passenger
Message-ID:  <201504290046.t3T0kCUJ026461@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504290046.t3T0kCUJ026461>