pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php70 On Darwin, allow native iconv when Command ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/152d2e6b53d9
branches: trunk
changeset: 355611:152d2e6b53d9
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 06 08:53:48 2016 +0000
description:
On Darwin, allow native iconv when Command Line Tools are not installed.
diffstat:
lang/php70/distinfo | 4 ++--
lang/php70/patches/patch-acinclude.m4 | 24 +++++++++++++++++++++---
2 files changed, 23 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r d8f9c892dab7 -r 152d2e6b53d9 lang/php70/distinfo
--- a/lang/php70/distinfo Tue Dec 06 08:14:22 2016 +0000
+++ b/lang/php70/distinfo Tue Dec 06 08:53:48 2016 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.21 2016/11/12 15:38:29 taca Exp $
+$NetBSD: distinfo,v 1.22 2016/12/06 08:53:48 adam Exp $
SHA1 (php-7.0.13.tar.bz2) = eb81c83dc4aa711926c870b4bf2f4e6ebc8ffbbb
RMD160 (php-7.0.13.tar.bz2) = 9f6402077a57d33a99aeb3766fcfc42c25b8c88f
SHA512 (php-7.0.13.tar.bz2) = 53276fbd35855b9337120fd74f6932e70822b8e5508b6bed068a78805049d36960300e781ec5640f4a90f2d4a09e506084a865341d151bc5c87b7777cb5ff6a3
Size (php-7.0.13.tar.bz2) = 15239442 bytes
-SHA1 (patch-acinclude.m4) = b682280fd89950c082c2226bdb7364b0dc475bad
+SHA1 (patch-acinclude.m4) = 81a8f33a536500978ea5a9aa2d2875c61c843e56
SHA1 (patch-configure) = a129e19ef87338f6e53ccc967c40ddcde7c7357c
SHA1 (patch-ext_gd_config.m4) = bde93678626592cdcee619189bfc6532d0913a76
SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92
diff -r d8f9c892dab7 -r 152d2e6b53d9 lang/php70/patches/patch-acinclude.m4
--- a/lang/php70/patches/patch-acinclude.m4 Tue Dec 06 08:14:22 2016 +0000
+++ b/lang/php70/patches/patch-acinclude.m4 Tue Dec 06 08:53:48 2016 +0000
@@ -1,8 +1,10 @@
-$NetBSD: patch-acinclude.m4,v 1.1 2015/12/06 15:17:31 taca Exp $
+$NetBSD: patch-acinclude.m4,v 1.2 2016/12/06 08:53:48 adam Exp $
+
+On Darwin, allow native iconv when Command Line Tools are not installed.
---- acinclude.m4.orig 2015-06-23 17:33:33.000000000 +0000
+--- acinclude.m4.orig 2016-11-09 01:22:57.000000000 +0000
+++ acinclude.m4
-@@ -2354,7 +2354,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
+@@ -2355,7 +2355,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
if test "$found_openssl" = "no"; then
if test "$PHP_OPENSSL_DIR" = "yes"; then
@@ -11,3 +13,19 @@
fi
for i in $PHP_OPENSSL_DIR; do
+@@ -2489,7 +2489,15 @@ AC_DEFUN([PHP_SETUP_ICONV], [
+ done
+
+ if test -z "$ICONV_DIR"; then
++ case $host_alias in
++ *darwin*)
++ ICONV_DIR=/usr
++ iconv_lib_name=iconv
++ ;;
++ *)
+ AC_MSG_ERROR([Please specify the install prefix of iconv with --with-iconv=<DIR>])
++ ;;
++ esac
+ fi
+
+ if test -f $ICONV_DIR/$PHP_LIBDIR/lib$iconv_lib_name.a ||
Home |
Main Index |
Thread Index |
Old Index