pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/php56



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jan 16 11:28:09 UTC 2018

Modified Files:
        pkgsrc/lang/php56: Makefile distinfo
        pkgsrc/lang/php56/patches: patch-configure

Log Message:
php56: Convert libgcc fix to a patch to mirror php7*.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/php56/Makefile
cvs rdiff -u -r1.44 -r1.45 pkgsrc/lang/php56/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php56/patches/patch-configure

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

Modified files:

Index: pkgsrc/lang/php56/Makefile
diff -u pkgsrc/lang/php56/Makefile:1.15 pkgsrc/lang/php56/Makefile:1.16
--- pkgsrc/lang/php56/Makefile:1.15     Fri Oct 27 08:45:06 2017
+++ pkgsrc/lang/php56/Makefile  Tue Jan 16 11:28:09 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2017/10/27 08:45:06 taca Exp $
+# $NetBSD: Makefile,v 1.16 2018/01/16 11:28:09 jperkin Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -47,12 +47,6 @@ INSTALLATION_DIRS+=  ${CGIDIR} ${PHP_EXTE
 CFLAGS+=       -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC
 .endif
 
-.include "../../mk/compiler.mk"
-
-.if ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "clang"
-CONFIGURE_ARGS+=       --disable-libgcc
-.endif
-
 post-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php
        ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \

Index: pkgsrc/lang/php56/distinfo
diff -u pkgsrc/lang/php56/distinfo:1.44 pkgsrc/lang/php56/distinfo:1.45
--- pkgsrc/lang/php56/distinfo:1.44     Fri Jan  5 03:08:36 2018
+++ pkgsrc/lang/php56/distinfo  Tue Jan 16 11:28:09 2018
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.44 2018/01/05 03:08:36 taca Exp $
+$NetBSD: distinfo,v 1.45 2018/01/16 11:28:09 jperkin Exp $
 
 SHA1 (php-5.6.33.tar.bz2) = c101b6af3486bb907e1c7a54dc41a3bbd9c33eaa
 RMD160 (php-5.6.33.tar.bz2) = 30332f36e233db5784b35c50cb87f1da6d10a1b4
 SHA512 (php-5.6.33.tar.bz2) = d57d87bf5ceb4b8b72908dc9d4236533697ba7055c25bdd299b35ff42b9d0258020241953a6f2c448929742c73fb2e3c67aa630c556af8fccbbe312ec51f1576
 Size (php-5.6.33.tar.bz2) = 15057552 bytes
 SHA1 (patch-acinclude.m4) = 34d38d2538cc00932cdfcc80d1d4a91632cd15d0
-SHA1 (patch-configure) = 5d76f71aa903efa3c3491b908ff76419aa4af27c
+SHA1 (patch-configure) = a5623b0cbb3331fd0a537b26c0ae48315d52dbe2
 SHA1 (patch-ext_gd_config.m4) = b92ab4c7fe8aceaef7787a607a7d2eac258fee19
 SHA1 (patch-ext_imap_config.m4) = 9c6ed6966366c4fe1b7cfd34b5910e2ff0e68577
 SHA1 (patch-ext_mssql_php__mssql.c) = c4fa9231dc539ffb027f1beb6f182f21ddb94a3c

Index: pkgsrc/lang/php56/patches/patch-configure
diff -u pkgsrc/lang/php56/patches/patch-configure:1.3 pkgsrc/lang/php56/patches/patch-configure:1.4
--- pkgsrc/lang/php56/patches/patch-configure:1.3       Mon May  2 13:08:00 2016
+++ pkgsrc/lang/php56/patches/patch-configure   Tue Jan 16 11:28:09 2018
@@ -1,8 +1,20 @@
-$NetBSD: patch-configure,v 1.3 2016/05/02 13:08:00 taca Exp $
+$NetBSD: patch-configure,v 1.4 2018/01/16 11:28:09 jperkin Exp $
 
---- configure.orig     2016-04-28 00:53:20.000000000 +0000
+Don't automatically add libgcc on SunOS.
+
+--- configure.orig     2018-01-03 00:28:11.000000000 +0000
 +++ configure
-@@ -8315,27 +8315,6 @@ EOF
+@@ -5459,9 +5459,6 @@ fi
+ case $host_alias in
+   *solaris*)
+     CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
+-    if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
+-      enable_libgcc=yes
+-    fi
+     ;;
+   *dgux*)
+     CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR"
+@@ -8315,27 +8312,6 @@ EOF
      ;;
    esac
  
@@ -30,7 +42,7 @@ $NetBSD: patch-configure,v 1.3 2016/05/0
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
  
-@@ -9139,27 +9118,6 @@ EOF
+@@ -9139,27 +9115,6 @@ EOF
      ;;
    esac
  
@@ -58,7 +70,7 @@ $NetBSD: patch-configure,v 1.3 2016/05/0
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
  
-@@ -24712,7 +24670,7 @@ fi
+@@ -24712,7 +24667,7 @@ fi
      if test "$found_openssl" = "no"; then
  
      if test "$PHP_OPENSSL_DIR" = "yes"; then
@@ -67,7 +79,7 @@ $NetBSD: patch-configure,v 1.3 2016/05/0
      fi
  
      for i in $PHP_OPENSSL_DIR; do
-@@ -26868,7 +26826,7 @@ $as_echo "yes" >&6; }
+@@ -26868,7 +26823,7 @@ $as_echo "yes" >&6; }
      PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
  
  
@@ -76,7 +88,7 @@ $NetBSD: patch-configure,v 1.3 2016/05/0
  
  
    unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'`
-@@ -37985,7 +37943,7 @@ fi
+@@ -37985,7 +37940,7 @@ fi
      if test "$found_openssl" = "no"; then
  
      if test "$PHP_OPENSSL_DIR" = "yes"; then
@@ -85,7 +97,7 @@ $NetBSD: patch-configure,v 1.3 2016/05/0
      fi
  
      for i in $PHP_OPENSSL_DIR; do
-@@ -49597,7 +49555,7 @@ fi
+@@ -49597,7 +49552,7 @@ fi
      if test "$found_openssl" = "no"; then
  
      if test "$PHP_OPENSSL_DIR" = "yes"; then
@@ -94,7 +106,7 @@ $NetBSD: patch-configure,v 1.3 2016/05/0
      fi
  
      for i in $PHP_OPENSSL_DIR; do
-@@ -107117,12 +107075,7 @@ old_CC=$CC
+@@ -107120,12 +107075,7 @@ old_CC=$CC
  if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
    CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
    INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"



Home | Main Index | Thread Index | Old Index