svn commit: r481618 - head/lang/php73

Torsten Zuehlsdorff tz at FreeBSD.org
Tue Oct 9 10:02:38 UTC 2018


Author: tz
Date: Tue Oct  9 10:02:36 2018
New Revision: 481618
URL: https://svnweb.freebsd.org/changeset/ports/481618

Log:
  PHP 7.3: Convert PCRE2 dependency from BUILD to LIB_DEPENDS
  
  This fixes fallout located to PEAR.
  
  Reported by:	mat, antoine

Modified:
  head/lang/php73/Makefile
  head/lang/php73/Makefile.ext

Modified: head/lang/php73/Makefile
==============================================================================
--- head/lang/php73/Makefile	Tue Oct  9 09:38:39 2018	(r481617)
+++ head/lang/php73/Makefile	Tue Oct  9 10:02:36 2018	(r481618)
@@ -17,8 +17,8 @@ CPE_PRODUCT=	php
 NO_OPTIONS_SORT=yes
 
 .if !defined(PKGNAMESUFFIX)
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
-LIB_DEPENDS=	libargon2.so:security/libargon2
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2 \
+		libargon2.so:security/libargon2
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-layout=GNU \

Modified: head/lang/php73/Makefile.ext
==============================================================================
--- head/lang/php73/Makefile.ext	Tue Oct  9 09:38:39 2018	(r481617)
+++ head/lang/php73/Makefile.ext	Tue Oct  9 10:02:36 2018	(r481618)
@@ -73,7 +73,6 @@ CONFIGURE_ARGS+=--enable-exif
 .endif
 
 .if ${PHP_MODNAME} == "fileinfo"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 CONFIGURE_ARGS+=--enable-fileinfo \
 		--with-pcre-dir=${LOCALBASE}
 
@@ -81,7 +80,6 @@ PHP_HEADER_DIRS=	libmagic
 .endif
 
 .if ${PHP_MODNAME} == "filter"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 CONFIGURE_ARGS+=--enable-filter \
 		--with-pcre-dir=${LOCALBASE}
 .endif
@@ -142,7 +140,6 @@ USES+=	iconv:translit
 .endif
 
 .if ${PHP_MODNAME} == "imap"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 OPTIONS_DEFINE=	PANDA
 PANDA_DESC=	Uses the forked panda-cclient instead of the original cclient
 
@@ -216,7 +213,6 @@ USES+=	ssl
 .if ${PHP_MODNAME} == "opcache"
 # This is needed by Zend extensions, keep before everything.
 PHP_MOD_PRIO=	10
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 CONFIGURE_ARGS+=--enable-opcache
 USES+=	localbase
 .endif
@@ -278,14 +274,12 @@ USE_PHP=	pdo:build
 .endif
 
 .if ${PHP_MODNAME} == "pgsql"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 USES+=		pgsql
 
 CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
 .endif
 
 .if ${PHP_MODNAME} == "phar"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 CONFIGURE_ARGS+=--enable-phar \
 		--with-pcre-dir=${LOCALBASE}
 
@@ -323,7 +317,6 @@ CONFIGURE_ARGS+=--enable-shmop
 .endif
 
 .if ${PHP_MODNAME} == "simplexml"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 CONFIGURE_ARGS+=--enable-simplexml \
 		--with-pcre-dir=${LOCALBASE} \
 		--with-libxml-dir=${LOCALBASE}
@@ -439,7 +432,6 @@ USE_PHP=	dom:build xml:build
 .endif
 
 .if ${PHP_MODNAME} == "zip"
-BUILD_DEPENDS=	pcre2>=2.31:devel/pcre2
 LIB_DEPENDS+=	libzip.so:archivers/libzip
 
 CONFIGURE_ARGS+=--enable-zip \


More information about the svn-ports-all mailing list