svn commit: r430935 - head/www/tengine

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Jan 9 10:03:49 UTC 2017


Author: amdmi3
Date: Mon Jan  9 10:03:47 2017
New Revision: 430935
URL: https://svnweb.freebsd.org/changeset/ports/430935

Log:
  - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
  - Always check NGINX_OPENSSL after it is defined
  
  Approved by:	portmgr blanket

Modified:
  head/www/tengine/Makefile

Modified: head/www/tengine/Makefile
==============================================================================
--- head/www/tengine/Makefile	Mon Jan  9 10:02:39 2017	(r430934)
+++ head/www/tengine/Makefile	Mon Jan  9 10:03:47 2017	(r430935)
@@ -730,20 +730,15 @@ CONFIGURE_ARGS+=--without-http_rewrite_m
 		--without-pcre
 .endif
 
-.if defined(NGINX_OPENSSL)
-USE_OPENSSL=	yes
-.if ${PORT_OPTIONS:MSPDY}
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000028
-WITH_OPENSSL_PORT=	yes
-.endif
-.endif
-.endif
-
 .if defined(WITH_HTTP_SSL)
 NGINX_OPENSSL=	yes
 CONFIGURE_ARGS+=--with-http_ssl_module
 .endif
 
+.if defined(NGINX_OPENSSL)
+USES+=		ssl
+.endif
+
 .if ${PORT_OPTIONS:MHTTP_SSL}
 WITH_HTTP_SSL=	yes
 .endif


More information about the svn-ports-head mailing list