Index: head/devel/pear/Makefile =================================================================== --- head/devel/pear/Makefile (revision 455313) +++ head/devel/pear/Makefile (revision 455314) @@ -1,45 +1,46 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pear PORTVERSION= 1.10.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://mirror.bsdproject.de/ MAINTAINER= joneum@FreeBSD.org COMMENT= PEAR framework for PHP LICENSE= PHP301 USES= cpe php:cli tar:bzip2 CPE_VENDOR= php NO_BUILD= yes NO_ARCH= yes USE_PHP= pcre:build xml:build zlib:build PEARDIR= ${PREFIX}/share/pear post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \ -e "s|%%BUNDLEDIR%%|${WRKSRC}/go-pear-bundle|" \ -e "s|%%TMPDIR%%|/tmp/pear|" \ ${WRKSRC}/go-pear @cd ${WRKSRC}/go-pear-bundle && ${MKDIR} tmp && ${TAR} -C tmp -xf PEAR-${PORTVERSION}.tar @cd ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION} && ${PATCH} -s -p0 < ${FILESDIR}/extra-patch-PEAR-Config.php @${RM} ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php.orig @${MD5} -q ${WRKSRC}/go-pear-bundle/tmp/PEAR-${PORTVERSION}/PEAR/Config.php > ${WRKSRC}/Config.php.md5 @cd ${WRKSRC}/go-pear-bundle/tmp && ${TAR} -cf ../PEAR-${PORTVERSION}.tar PEAR-${PORTVERSION} package.xml do-install: @cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${LOCALBASE}/bin/php -q ./go-pear @${SED} -i "" "s| Index: head/devel/pear/files/patch-php72 =================================================================== --- head/devel/pear/files/patch-php72 (nonexistent) +++ head/devel/pear/files/patch-php72 (revision 455314) @@ -0,0 +1,24 @@ +From 85ebf1e6190681820634c891af624bacde49a017 Mon Sep 17 00:00:00 2001 +From: Andy Thompson +Date: Sun, 11 Jun 2017 09:25:12 +0100 +Subject: [PATCH] Remove unneeded by-reference on built-in fuction + +PHP 7.2 is complaining about this. It also doesn't appear to be +needed, as the argument array items aren't being passed by-reference. +--- + Archive/Tar.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Archive/Tar.php b/Archive/Tar.php +index 202fffb..0bd1c6c 100644 +--- go-pear-bundle/Tar.php ++++ go-pear-bundle/Tar.php +@@ -659,7 +659,7 @@ public function setAttribute() + } + + // ----- Get the arguments +- $v_att_list = & func_get_args(); ++ $v_att_list = func_get_args(); + + // ----- Read the attributes + $i = 0; Property changes on: head/devel/pear/files/patch-php72 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property