svn commit: r481618 - head/lang/php73

Mathieu Arnold mat at FreeBSD.org
Tue Oct 9 17:22:07 UTC 2018


On Tue, Oct 09, 2018 at 10:02:37AM +0000, Torsten Zuehlsdorff wrote:
> 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.

Mmmm, you need to bump PORTREVISION so that it gets rebuilt.

>   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 \
> 
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20181009/f9a68418/attachment.sig>


More information about the svn-ports-head mailing list