pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php56 On Darwin, allow native iconv when Command ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb8373b4cf47
branches: trunk
changeset: 355594:cb8373b4cf47
user: adam <adam%pkgsrc.org@localhost>
date: Mon Dec 05 18:17:11 2016 +0000
description:
On Darwin, allow native iconv when Command Line Tools are not installed.
diffstat:
lang/php56/distinfo | 4 ++--
lang/php56/patches/patch-acinclude.m4 | 22 ++++++++++++++++++++--
2 files changed, 22 insertions(+), 4 deletions(-)
diffs (50 lines):
diff -r 883e472b0ed1 -r cb8373b4cf47 lang/php56/distinfo
--- a/lang/php56/distinfo Mon Dec 05 17:09:57 2016 +0000
+++ b/lang/php56/distinfo Mon Dec 05 18:17:11 2016 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.36 2016/11/12 15:34:00 taca Exp $
+$NetBSD: distinfo,v 1.37 2016/12/05 18:17:11 adam Exp $
SHA1 (php-5.6.28.tar.bz2) = 57fa0f8a69ecebc6da4fb79162ed8b1f9a6248db
RMD160 (php-5.6.28.tar.bz2) = 8444619a3dd44d6db049d8783fc77b86f42a2cca
SHA512 (php-5.6.28.tar.bz2) = 57efbbf422b74d74cdbc701ada03e3eb517bbc543169de642bada5843f612e2f1a43f1654b0ab92d015d3d1e777ac15c630d05f98f0ee259f2e3c0ba63b9dbc2
Size (php-5.6.28.tar.bz2) = 14987935 bytes
-SHA1 (patch-acinclude.m4) = b38fc34c3a3847dc317e8e286612b21ec8fd5ce8
+SHA1 (patch-acinclude.m4) = 34d38d2538cc00932cdfcc80d1d4a91632cd15d0
SHA1 (patch-configure) = 5d76f71aa903efa3c3491b908ff76419aa4af27c
SHA1 (patch-ext_gd_config.m4) = b92ab4c7fe8aceaef7787a607a7d2eac258fee19
SHA1 (patch-ext_imap_config.m4) = 9c6ed6966366c4fe1b7cfd34b5910e2ff0e68577
diff -r 883e472b0ed1 -r cb8373b4cf47 lang/php56/patches/patch-acinclude.m4
--- a/lang/php56/patches/patch-acinclude.m4 Mon Dec 05 17:09:57 2016 +0000
+++ b/lang/php56/patches/patch-acinclude.m4 Mon Dec 05 18:17:11 2016 +0000
@@ -1,6 +1,8 @@
-$NetBSD: patch-acinclude.m4,v 1.1 2014/11/24 15:37:08 taca Exp $
+$NetBSD: patch-acinclude.m4,v 1.2 2016/12/05 18:17:11 adam Exp $
---- acinclude.m4.orig 2014-11-12 13:52:21.000000000 +0000
+On Darwin, allow native iconv when Command Line Tools are not installed.
+
+--- acinclude.m4.orig 2016-11-09 01:22:57.000000000 +0000
+++ acinclude.m4
@@ -2354,7 +2354,7 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
if test "$found_openssl" = "no"; then
@@ -11,3 +13,19 @@
fi
for i in $PHP_OPENSSL_DIR; do
+@@ -2488,7 +2488,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