Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 10:02:37 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481618 - head/lang/php73
Message-ID:  <201810091002.w99A2bq2080280@repo.freebsd.org>

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



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