pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php70



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Dec  6 08:53:48 UTC 2016

Modified Files:
        pkgsrc/lang/php70: distinfo
        pkgsrc/lang/php70/patches: patch-acinclude.m4

Log Message:
On Darwin, allow native iconv when Command Line Tools are not installed.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/php70/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php70/patches/patch-acinclude.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php70/distinfo
diff -u pkgsrc/lang/php70/distinfo:1.21 pkgsrc/lang/php70/distinfo:1.22
--- pkgsrc/lang/php70/distinfo:1.21     Sat Nov 12 15:38:29 2016
+++ pkgsrc/lang/php70/distinfo  Tue Dec  6 08:53:48 2016
@@ -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

Index: pkgsrc/lang/php70/patches/patch-acinclude.m4
diff -u pkgsrc/lang/php70/patches/patch-acinclude.m4:1.1 pkgsrc/lang/php70/patches/patch-acinclude.m4:1.2
--- pkgsrc/lang/php70/patches/patch-acinclude.m4:1.1    Sun Dec  6 15:17:31 2015
+++ pkgsrc/lang/php70/patches/patch-acinclude.m4        Tue Dec  6 08:53:48 2016
@@ -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 $
 
---- acinclude.m4.orig  2015-06-23 17:33:33.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],[
+@@ -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 @@ $NetBSD: patch-acinclude.m4,v 1.1 2015/1
      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