[Midnightbsd-cvs] mports [22480] trunk/lang/php71/Makefile.ext: fix openssl

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 11 14:48:46 EDT 2017


Revision: 22480
          http://svnweb.midnightbsd.org/mports/?rev=22480
Author:   laffer1
Date:     2017-06-11 14:48:46 -0400 (Sun, 11 Jun 2017)
Log Message:
-----------
fix openssl

Modified Paths:
--------------
    trunk/lang/php71/Makefile.ext

Modified: trunk/lang/php71/Makefile.ext
===================================================================
--- trunk/lang/php71/Makefile.ext	2017-06-11 18:43:04 UTC (rev 22479)
+++ trunk/lang/php71/Makefile.ext	2017-06-11 18:48:46 UTC (rev 22480)
@@ -1,8 +1,11 @@
 COMMENT=	The ${PHP_MODNAME} shared extension for php
 
 USES+=	php:ext
+USE_PHP=      yes
+USE_PHPEXT=   yes
 PHP_MODNAME=	${PKGNAMESUFFIX:S/-//}
 PHP_VER=	71
+PHP_DEFAULT=	7.1
 IGNORE_WITH_PHP=	55 56 70
 
 EXTSUBDIR=	${DISTNAME}/ext/${PHP_MODNAME}
@@ -86,7 +89,7 @@
 		--with-openssl-dir=${OPENSSLBASE}
 
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
-USES+=		ssl
+USE_OPENSSL=	yes
 .endif
 
 .if ${PHP_MODNAME} == "gd"
@@ -143,15 +146,9 @@
 		--with-imap-ssl=${OPENSSLBASE}
 
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
-USES+=	ssl
+USE_OPENSSL=	yes
 .endif
 
-.if ${PHP_MODNAME} == "interbase"
-CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
-
-USES+=	firebird
-.endif
-
 .if ${PHP_MODNAME} == "intl"
 CONFIGURE_ARGS+=--with-intl=${LOCALBASE}
 LIB_DEPENDS=	libicui18n.so:devel/icu
@@ -209,7 +206,7 @@
 CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
 
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
-USES+=	ssl
+USE_OPENSSL=	yes
 .endif
 
 .if ${PHP_MODNAME} == "opcache"
@@ -335,7 +332,7 @@
 
 LIB_DEPENDS+=	libnetsnmp.so:net-mgmt/net-snmp
 LDFLAGS+=	-L${OPENSSLLIB} -lcrypto -lssl
-USES+=	ssl
+USE_OPENSSL=	yes
 .endif
 
 .if ${PHP_MODNAME} == "soap"



More information about the Midnightbsd-cvs mailing list