aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php71
diff options
context:
space:
mode:
authortz <tz@FreeBSD.org>2017-11-23 19:38:59 +0800
committertz <tz@FreeBSD.org>2017-11-23 19:38:59 +0800
commitfda4e0b8da8b2eee33e47b76d8906523a6d11d38 (patch)
tree130057342a56e4872405c46d759663780433d33e /lang/php71
parenta3185abc9426c401a4c64982d5214653e9842441 (diff)
downloadfreebsd-ports-gnome-fda4e0b8da8b2eee33e47b76d8906523a6d11d38.tar.gz
freebsd-ports-gnome-fda4e0b8da8b2eee33e47b76d8906523a6d11d38.tar.zst
freebsd-ports-gnome-fda4e0b8da8b2eee33e47b76d8906523a6d11d38.zip
lang/php70 and lang/php71: Add mail header patch
While here to some improvements: - Remove CONFLICTS of no longer existing PHP 5.5 - Add CONFLICTS to PHP 7.2 - Remove IPV6_DESC in order to use default one PR: 219321 Submitted by: Karsten Schmidt <bsd@guggemand.dk>
Diffstat (limited to 'lang/php71')
-rw-r--r--lang/php71/Makefile13
-rw-r--r--lang/php71/distinfo4
2 files changed, 13 insertions, 4 deletions
diff --git a/lang/php71/Makefile b/lang/php71/Makefile
index 40cc363c2bba..1333ec12a4ad 100644
--- a/lang/php71/Makefile
+++ b/lang/php71/Makefile
@@ -37,7 +37,7 @@ CONFIGURE_ARGS+=--with-layout=GNU \
USE_GNOME= libxml2
-OPTIONS_DEFINE+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 LINKTHR ZTS
+OPTIONS_DEFINE+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS
OPTIONS_DEFAULT=CLI CGI FPM LINKTHR DTRACE
# Bug 197128: No ASM code for MIPS/MIPS64, disable FPM
@@ -57,16 +57,23 @@ EMBED_DESC= Build embedded library
DEBUG_DESC= Enable debug
PHPDBG_DESC= Interactive PHP debugger
DTRACE_DESC= Enable DTrace support
-IPV6_DESC= Enable ipv6 support
+MAILHEAD_DESC= Enable mail header patch
LINKTHR_DESC= Link thread lib (for threaded extensions)
ZTS_DESC= Force Zend Thread Safety (ZTS) build
-CONFLICTS= php56-* php70-*
+CONFLICTS= php56-* php70-* php72-*
DESTDIRNAME= INSTALL_ROOT
.include <bsd.port.pre.mk>
+PATCH_DIST_STRIP= -p1
+
+.if ${PORT_OPTIONS:MMAILHEAD}
+PATCHFILES+= php-7.1.x-mail-header.patch:mail
+PATCH_SITES+= http://choon.net/opensource/php/:mail
+.endif
+
.if ${PORT_OPTIONS:MCLI}
PHP_SAPI+= cli
.else
diff --git a/lang/php71/distinfo b/lang/php71/distinfo
index 498e15795ffd..aca20d41ee34 100644
--- a/lang/php71/distinfo
+++ b/lang/php71/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1509003128
+TIMESTAMP = 1511432195
SHA256 (php-7.1.11.tar.xz) = 074093e9d7d21afedc5106904218a80a47b854abe368d2728ed22184c884893e
SIZE (php-7.1.11.tar.xz) = 12169884
+SHA256 (php-7.1.x-mail-header.patch) = 8f173d89672f7ebfabfcc3c5d7f8dec1c4243aba665db4b4046e67c34d9d4dc7
+SIZE (php-7.1.x-mail-header.patch) = 4504