SF.net SVN: gar:[26404] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Apr 13 12:13:48 CEST 2018


Revision: 26404
          http://sourceforge.net/p/gar/code/26404
Author:   dmichelsen
Date:     2018-04-13 10:13:47 +0000 (Fri, 13 Apr 2018)
Log Message:
-----------
php7: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/php7/
    csw/mgar/pkg/php7/trunk/
    csw/mgar/pkg/php7/trunk/Makefile
    csw/mgar/pkg/php7/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/php7/branches/php-5.5.x/
    csw/mgar/pkg/php7/branches/php-5.6.x/
    csw/mgar/pkg/php7/trunk/
    csw/mgar/pkg/php7/trunk/Makefile
    csw/mgar/pkg/php7/trunk/checksums

Deleted: csw/mgar/pkg/php7/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/branches/php-5.6.x/Makefile	2016-08-25 10:05:54 UTC (rev 25900)
+++ csw/mgar/pkg/php7/trunk/Makefile	2018-04-13 10:13:47 UTC (rev 26404)
@@ -1,501 +0,0 @@
-NAME = php
-VERSION = 5.6.24
-GARTYPE = v2
-
-BUNDLE = php5
-
-DESCRIPTION = A high-level scripting language.
-define BLURB
-PHP is a widely-used Open Source general-purpose scripting language that is
-especially suited for Web development and can be embedded into HTML. Its
-syntax draws upon C, Java, and Perl, and is easy to learn. PHP runs on many
-different platforms and can be used as a standalone executable or as a
-module under a variety of Web servers. It has excellent support for
-databases, XML, LDAP, IMAP, Java, various Internet protocols, and general
-data manipulation, and is extensible via its powerful API. It is actively
-developed and supported by a talented and energetic international team.
-Numerous Open Source and commercial PHP-based application packages are
-available.
-endef
-
-EXTRA_MODULATORS = SAPI
-MODULATIONS_SAPI += ap24
-MODULATIONS_SAPI += ap2
-# MODULATIONS_SAPI += cgi
-MERGE_SCRIPTS_isa-default-sapi-cgi = copy-all
-MERGE_SCRIPTS_isa-default-sapi-ap2 = copy-all
-MERGE_SCRIPTS_isa-default-sapi-ap24 = copy-all
-
-# turn on the build scripts to enable/disable modules
-# use the SVR4 class 'build' 
-PHP5_EXT = 1
-# this triggers <garhome>/bin/ap2mod_build_scripts
-AP2_MODS-ap2 = 1
-AP2_MODFILES-ap2 = *libphp5.so
-AP2_MODS += $(AP2_MODS-$(SAPI))
-AP2_MODFILES += $(AP2_MODFILES-$(SAPI))
-
-# at least for a decent echo used during build.
-PATH := /opt/csw/gnu:/opt/csw/bin:$(PATH)
-
-MASTER_SITES += http://de1.php.net/distributions/
-MASTER_SITES += http://downloads.php.net/tyrael/
-MASTER_SITES += http://snaps.php.net/
-# SF_PROJECT  = $(shell echo $(NAME) | sed -e 's/[0-9]//g')
-
-EXTRA_INSTALL_ENV  = INSTALL_ROOT=$(DESTDIR)
-EXTRA_TEST_ENV  = NO_INTERACTION=1
-
-VENDOR_URL = http://www.php.net/
-LICENSE = LICENSE
-
-DISTNAME = $(NAME)-$(VERSION)
-DISTFILES += $(DISTNAME).tar.xz
-DISTFILES += phpext 
-DISTFILES += pear.conf.CSW 
-DISTFILES += CSWphp5.postinstall
-DISTFILES += CSWphp5.cswreleasenotes
-DISTFILES += CSWap24-modphp5.cswreleasenotes
-DISTFILES += CSWap24-modphp5.postinstall
-DISTFILES += CSWap24-modphp5.preremove
-DISTFILES += CSWap2-modphp5.cswreleasenotes
-DISTFILES += CSWap2-modphp5.postinstall
-DISTFILES += CSWap2-modphp5.preremove
-DISTFILES += httpd-php5.conf
-DISTFILES += map.solaris10
-DISTFILES += php.ini.patch
-
-PATCHFILES += 0001-Strip-usr-ucblib-references.patch
-PATCHFILES += 0003-Do-not-activate-php5-module-during-package-build.patch
-
-# TBD: Where specifically do these come from?
-PATCHFILES += 0001-Undef-disturbing-definition-of-SS-on-Solaris.patch
-PATCHFILES += 0002-Undef-ES-on-Solaris.patch
-
-PATCHFILES += 0004-Do-not-add-Wno-write-strings-unconditionally.patch
-PATCHFILES += 0005-Remove-another-Wno.patch
-# our apache24 has threaded and prefork MPM, needs 'autoreconf'
-PATCHFILES += 0006-disable-zts-build
-
-BUILD_DEP_PKGS += CSWlibgdbm-dev CSWlibidn-dev CSWlibgd-dev CSWcoreutils
-BUILD_DEP_PKGS += CSWlibxml2-dev CSWlibexpat1 CSWlibz-dev CSWlibcurl-dev CSWjpeg
-BUILD_DEP_PKGS += CSWlibpng-dev CSWt1lib-dev CSWlibgdbm-dev CSWlibgmp10
-BUILD_DEP_PKGS += CSWggettext-dev CSWlibssl-dev CSWlibgd2
-BUILD_DEP_PKGS += CSWlibcares-dev CSWftype2 CSWlibiconv-dev
-BUILD_DEP_PKGS += CSWopenldap-dev CSWlibkrb5-dev CSWsasl CSWlibltdl7
-BUILD_DEP_PKGS += CSWmcrypt-dev CSWfreetds CSWmysql-dev CSWunixodbc
-BUILD_DEP_PKGS += CSWlibreadline-dev CSWlibncurses-dev CSWnetsnmp-dev
-BUILD_DEP_PKGS += CSWlibsqlite3-dev CSWaspell CSWtidy-dev CSWpostgresql-dev
-BUILD_DEP_PKGS += CSWlibfreetype-dev
-BUILD_DEP_PKGS += CSWlibxpm-dev
-BUILD_DEP_PKGS += CSWlibaspell-dev
-
-PRESERVECONF += $(sysconfdir)/php.ini
-PRESERVECONF += $(sysconfdir)/pear.conf
-PRESERVECONF += $(sysconfdir_ap2)/extra/httpd-php5.conf
-PRESERVECONF += $(sysconfdir_ap24)/extra/httpd-php5.conf
-
-define php5_subpackage
-PACKAGES += CSWphp5-$(subst _,-,$(1))
-CATALOGNAME_CSWphp5-$(subst _,-,$(1)) ?= php5_$(subst -,_,$(1))
-SPKG_DESC_CSWphp5-$(subst _,-,$(1)) ?= The $(1) extention for PHP5
-RUNTIME_DEP_PKGS_CSWphp5-$(subst _,-,$(1)) += CSWphp5 $(2)
-# OBSOLETED_BY_CSWphp5-$(subst _,-,$(1)) ?= CSWphp5$(subst _,-,$(1))
-PKGFILES_CSWphp5-$(subst _,-,$(1)) += .*lib/php/extensions/.*/$(1).so .*php5/extensions/$(1)
-# CHECKPKG_OVERRIDES_CSWphp5-$(subst _,-,$(1)) += surplus-dependency|CSWphp5
-endef
-
-PACKAGES += CSWphp5
-CATALOGNAME_CSWphp5        = php5
-SPKG_DESC_CSWphp5          = A High-Level Scripting Language
-RUNTIME_DEP_PKGS_CSWphp5 += CSWlibxml2-2 CSWlibexpat1 CSWlibz1
-RUNTIME_DEP_PKGS_CSWphp5 += CSWlibicui18n57
-RUNTIME_DEP_PKGS_CSWphp5 += CSWlibicuuc57
-RUNTIME_DEP_PKGS_CSWphp5 += CSWlibicuio57
-INCOMPATIBLE_PKGS_CSWphp5 = CSWphp5mimemagic CSWphp5mhash CSWphp5dbase
-INCOMPATIBLE_PKGS_CSWphp5 += CSWphp5ncurses CSWmodphp5
-# embeded 'magic' information to detect file types...odd, but...
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/bin/php
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/PEAR/Config.php
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/bin/php-cgi
-# verify these...
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/etc/opt/csw/php5/php.ini.CSW
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/php/man/man1/php-config.1
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/lib/apache2/modules/libphp5.so
-CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/doc/PEAR/README.rst
-
-
-PACKAGES += CSWphp5-dev
-CATALOGNAME_CSWphp5-dev   = php5_dev
-SPKG_DESC_CSWphp5-dev     = Development files for php5
-RUNTIME_DEP_PKGS_CSWphp5-dev      = CSWphp5
-PKGFILES_CSWphp5-dev  = $(prefix)/php5/bin/php-config
-PKGFILES_CSWphp5-dev  = $(prefix)/bin/php-config
-PKGFILES_CSWphp5-dev += $(prefix)/php5/bin/phpize
-PKGFILES_CSWphp5-dev += $(prefix)/php5/bin/peardev
-PKGFILES_CSWphp5-dev += $(prefix)/bin/peardev
-PKGFILES_CSWphp5-dev += $(prefix)/php5/lib/php/build/.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/TSRM.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/Zend.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/include.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/main.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/regex.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/date.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/filter.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/libxml.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/pcre.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/spl.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/standard.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/xml.*
-PKGFILES_CSWphp5-dev += $(prefix)/php5/man/man1/php-config.1
-PKGFILES_CSWphp5-dev += $(prefix)/php5/man/man1/phpize.1
-CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/libtool.m4
-CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/acinclude.m4
-CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/shtool
-CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/phpize.m4
-CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/man/man1/php-config.1
-
-EXTRA_MERGE_EXCLUDE_FILES-ap24 += $(prefix)/apache2.*
-EXTRA_MERGE_EXCLUDE_FILES-ap2 += $(sysconfdir_ap24).*
-EXTRA_MERGE_EXCLUDE_FILES += $(EXTRA_MERGE_EXCLUDE_FILES-$(SAPI))
-
-PACKAGES += CSWap24-modphp5
-SPKG_DESC_CSWap24-modphp5 = The apache 2.4.x php5 module
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWapache24
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWphp5
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibxml2-2
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibexpat1
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibicui18n57
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibicuuc57
-RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibicuio57
-PKGFILES_CSWap24-modphp5 += $(libdir)/apache2/modules.*
-PKGFILES_CSWap24-modphp5 += $(sysconfdir_ap24).*
-CHECKPKG_OVERRIDES_CSWap24-modphp5 += surplus-dependency|CSWapache24
-CHECKPKG_OVERRIDES_CSWap24-modphp5 += file-with-bad-content|/usr/local|root/opt/csw/lib/apache2/modules/libphp5.so
-
-PACKAGES += CSWap2-modphp5
-SPKG_DESC_CSWap2-modphp5 = The apache 2.2.x php5 module
-CHECKPKG_OVERRIDES_CSWap24-modphp5 += surplus-dependency|CSWphp5
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWapache2
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWphp5
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibxml2-2
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibexpat1
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibicui18n57
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibicuio57
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibicuuc57
-RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibz1
-PKGFILES_CSWap2-modphp5 += $(prefix)/apache2.*
-CHECKPKG_OVERRIDES_CSWap2-modphp5 += surplus-dependency|CSWphp5
-CHECKPKG_OVERRIDES_CSWap2-modphp5 += surplus-dependency|CSWapache2
-CHECKPKG_OVERRIDES_CSWap2-modphp5 += file-with-bad-content|/usr/local|root/opt/csw/apache2/libexec/libphp5.so
-
-$(eval $(call php5_subpackage,bcmath,))
-$(eval $(call php5_subpackage,bz2,CSWlibbz2-1-0))
-$(eval $(call php5_subpackage,calendar,))
-$(eval $(call php5_subpackage,ctype,))
-RUNTIME_DEP_PKGS_CSWphp5-curl_sparc += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWphp5-curl += $(RUNTIME_DEP_PKGS_CSWphp5-curl_$(GARCH))
-$(eval $(call php5_subpackage,curl,CSWlibcurl4))
-$(eval $(call php5_subpackage,dba,CSWlibgdbm4 CSWbdb42))
-$(eval $(call php5_subpackage,dom,CSWlibxml2-2))
-PKGFILES_CSWphp5-dom += .*include/php/ext/dom.*
-$(eval $(call php5_subpackage,exif,))
-$(eval $(call php5_subpackage,ftp,CSWlibssl1-0-0))
-RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibjpeg7
-RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibz1
-RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibpng16-16
-RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibfreetype6
-RUNTIME_DEP_PKGS_CSWphp5-gd += $(RUNTIME_DEP_PKGS_CSWphp5-gd_$(GARCH))
-$(eval $(call php5_subpackage,gd,CSWlibgd3 CSWlibt1-5 CSWlibxpm4))
-PKGFILES_CSWphp5-gd += .*/include/php/ext/gd.*
-$(eval $(call php5_subpackage,gettext,CSWlibintl8))
-$(eval $(call php5_subpackage,gmp,CSWlibgmp10))
-$(eval $(call php5_subpackage,hash,))
-PKGFILES_CSWphp5-hash += .*/include/php/ext/hash.*
-$(eval $(call php5_subpackage,iconv,CSWlibiconv2))
-PKGFILES_CSWphp5-iconv += .*/include/php/ext/iconv.*
-$(eval $(call php5_subpackage,imap,CSWlibc-client-dev))
-$(eval $(call php5_subpackage,json,))
-$(eval $(call php5_subpackage,ldap,CSWliblber2-4-2 CSWlibldap2-4-2))
-$(eval $(call php5_subpackage,mbstring,))
-PKGFILES_CSWphp5-mbstring += .*/include/php/ext/mbstring.*
-RUNTIME_DEP_PKGS_CSWphp5-mcrypt_sparc += CSWlibltdl7
-RUNTIME_DEP_PKGS_CSWphp5-mcrypt += $(RUNTIME_DEP_PKGS_CSWphp5-mcrypt_$(GARCH))
-$(eval $(call php5_subpackage,mcrypt,CSWlibmcrypt4))
-$(eval $(call php5_subpackage,mssql,CSWlibsybdb5))
-$(eval $(call php5_subpackage,mysql,CSWlibmysqlclient18 CSWlibssl1-0-0))
-# likely a checkpkg glitch (uses sparcv8plus+vis path for the library)
-CHECKPKG_OVERRIDES_CSWphp5-mysql += surplus-dependency|CSWlibssl1-0-0
-$(eval $(call php5_subpackage,mysqli,CSWlibmysqlclient18))
-$(eval $(call php5_subpackage,odbc,CSWlibodbc2))
-RUNTIME_DEP_PKGS_CSWphp5-openssl_sparc += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWphp5-openssl += $(RUNTIME_DEP_PKGS_CSWphp5-openssl_$(GARCH))
-$(eval $(call php5_subpackage,openssl,CSWlibssl1-0-0))
-$(eval $(call php5_subpackage,pcntl,))
-$(eval $(call php5_subpackage,pdo,))
-PKGFILES_CSWphp5-pdo += .*/include/php/ext/pdo.*
-$(eval $(call php5_subpackage,pdomysql,CSWlibmysqlclient18 CSWphp5-pdo))
-PKGFILES_CSWphp5-pdomysql += .*/lib/php/extensions/.*/pdo_mysql.so
-PKGFILES_CSWphp5-pdomysql += .*extensions/pdo_mysql
-CHECKPKG_OVERRIDES_CSWphp5-pdomysql += surplus-dependency|CSWphp5-pdo
-$(eval $(call php5_subpackage,pdoodbc,CSWlibodbc2 CSWphp5-pdo))
-PKGFILES_CSWphp5-pdoodbc += .*/lib/php/extensions/.*/pdo_odbc.so
-PKGFILES_CSWphp5-pdoodbc += .*extensions/pdo_odbc
-CHECKPKG_OVERRIDES_CSWphp5-pdoodbc += surplus-dependency|CSWphp5-pdo
-$(eval $(call php5_subpackage,pdopgsql,CSWlibpq5 CSWphp5-pdo))
-PKGFILES_CSWphp5-pdopgsql += .*/lib/php/extensions/.*/pdo_pgsql.so
-PKGFILES_CSWphp5-pdopgsql += .*extensions/pdo_pgsql
-CHECKPKG_OVERRIDES_CSWphp5-pdopgsql += surplus-dependency|CSWphp5-pdo
-$(eval $(call php5_subpackage,pdosqlite,CSWphp5-pdo CSWlibsqlite3-0))
-PKGFILES_CSWphp5-pdosqlite += .*/lib/php/extensions/.*/pdo_sqlite.so
-PKGFILES_CSWphp5-pdosqlite += .*extensions/pdo_sqlite
-CHECKPKG_OVERRIDES_CSWphp5-pdosqlite += surplus-dependency|CSWphp5-pdo
-$(eval $(call php5_subpackage,pgsql,CSWlibpq5))
-$(eval $(call php5_subpackage,posix,))
-$(eval $(call php5_subpackage,pspell,CSWlibaspell15))
-RUNTIME_DEP_PKGS_CSWphp5-readline_sparc += CSWlibncurses6
-RUNTIME_DEP_PKGS_CSWphp5-readline += $(RUNTIME_DEP_PKGS_CSWphp5-readline_$(GARCH))
-$(eval $(call php5_subpackage,readline,CSWlibreadline6))
-$(eval $(call php5_subpackage,session,CSWlibmm))
-PKGFILES_CSWphp5-session += .*/include/php/ext/session.*
-$(eval $(call php5_subpackage,shmop,))
-$(eval $(call php5_subpackage,snmp,CSWlibnetsnmp30))
-$(eval $(call php5_subpackage,soap,CSWlibxml2-2))
-$(eval $(call php5_subpackage,sockets,))
-# $(eval $(call php5_subpackage,sqlite,CSWsqlite))
-$(eval $(call php5_subpackage,sysvmsg,))
-$(eval $(call php5_subpackage,sysvsem,))
-$(eval $(call php5_subpackage,sysvshm,))
-$(eval $(call php5_subpackage,tidy,CSWlibtidy0-99-0))
-$(eval $(call php5_subpackage,tokenizer,))
-$(eval $(call php5_subpackage,wddx,))
-$(eval $(call php5_subpackage,xmlreader,CSWlibxml2-2))
-$(eval $(call php5_subpackage,xmlrpc,CSWlibiconv2 CSWlibexpat1))
-$(eval $(call php5_subpackage,xmlwriter,CSWlibxml2-2))
-RUNTIME_DEP_PKGS_CSWphp5-xsl_sparc += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWphp5-xsl += $(RUNTIME_DEP_PKGS_CSWphp5-xsl_$(GARCH))
-$(eval $(call php5_subpackage,xsl,CSWlibxml2-2 CSWlibxslt1 CSWlibexslt0))
-$(eval $(call php5_subpackage,zip,CSWlibz1))
-# $(eval $(call php5_subpackage,ibm_db2,))
-
-# Use reinplacement until this is fixed:
-#   https://bugs.php.net/bug.php?id=66298
-#REINPLACEMENTS += dos
-#REINPLACE_MATCH_dos = \r$$
-#REINPLACE_WITH_dos = 
-#REINPLACE_FILES_dos += ext/opcache/Optimizer/zend_optimizer.c
-
-EXTRA_CFLAGS = -I$(prefix)/include/ncursesw
-EXTRA_LIB = /opt/csw/postgresql/lib
-
-GARCOMPILER = SOS12U4
-# GARCOMPILER = GNU
-
-# We link with /usr/ccs/bin/ld which requires setting the path to libCstd.so,
-# using CC as linker would have made this automatic.
-SUBDIR64-sparc = v9
-SUBDIR64-i386 = amd64
-#EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCstd -lz
-# EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCrun
-# /opt/solarisstudio12.4/lib/compilers/
-EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/compilers/ -lCrun
-EXTRA_LD_OPTIONS = -M "$(abspath $(WORKDIR)/map.solaris10)"
-
-NOISALIST = 1
-STRIP_LIBTOOL = 1
-
-# We must not cut back on libc as we need current libmysql requiring getpagesizes2
-LINKER_MAPS =
-
-# EXTRA_CONFIGURE_EXPORTS += IBM_DB_INCLUDE
-# EXTRA_CONFIGURE_EXPORTS += IBM_DB_LIB
-# EXTRA_CONFIGURE_EXPORTS += DB2INSTANCE
-# EXTRA_CONFIGURE_EXPORTS += DB2DIR
-
-# This is needed for DB2 module
-# CONFIGURE_ENV_IBM_DB_INCLUDE = /opt/IBM/db2/V8.1/include
-# CONFIGURE_ENV_IBM_DB_LIB = /opt/IBM/db2/V8.1/lib
-# CONFIGURE_ENV_DB2INSTANCE = db2inst1
-# CONFIGURE_ENV_DB2DIR = /opt/IBM/db2/V8.1
-
-# EXTRA_RUNPATH_LINKER_FLAGS += -R$(CONFIGURE_ENV_IBM_DB_LIB)
-
-# We need CMSG_SPACE
-# EXTRA_CPPFLAGS  += -D_XPG4_2 -D__EXTENSIONS__
-EXTRA_CFLAGS  += -D_XPG4_2 -D__EXTENSIONS__
-
-# Otherwise we get the following error because std:: is not explicitly used:
-#   "/opt/SUNWspro/prod/include/CC/Cstd/rw/traits", line 535: Error: The function "wcsstr" must have a prototype.
-#EXTRA_CPPFLAGS += -D_RWSTD_NO_NEW_HEADER
-
-sysconfdir = /etc$(prefix)/php5
-sysconfdir_ap24 = /etc$(prefix)/apache2
-sysconfdir_ap2 = $(prefix)/apache2/etc
-
-CONFIGURE_ARGS += --prefix=$(prefix)/php5
-CONFIGURE_ARGS += --sysconfdir=$(sysconfdir)
-## build this static, php can not run without it.
-## it is more efficient to have this built into the php binary
-CONFIGURE_ARGS += --enable-simplexml
-CONFIGURE_ARGS += --disable-static
-CONFIGURE_ARGS += --enable-xml
-CONFIGURE_ARGS += --enable-intl
-CONFIGURE_ARGS += --with-libxml-dir=$(prefix)
-CONFIGURE_ARGS += --with-config-file-path=$(sysconfdir)
-CONFIGURE_ARGS += --with-config-file-scan-dir=$(sysconfdir)/conf.d
-CONFIGURE_ARGS += --enable-bcmath=shared
-CONFIGURE_ARGS += --enable-calendar=shared
-CONFIGURE_ARGS += --enable-ctype=shared
-CONFIGURE_ARGS += --enable-dba=shared
-CONFIGURE_ARGS += --enable-dom=shared
-CONFIGURE_ARGS += --enable-exif=shared
-CONFIGURE_ARGS += --enable-filter=shared
-CONFIGURE_ARGS += --enable-ftp=shared
-CONFIGURE_ARGS += --enable-gd-jis-conv
-CONFIGURE_ARGS += --enable-gd-native-ttf
-CONFIGURE_ARGS += --enable-hash=shared
-CONFIGURE_ARGS += --enable-json=shared
-CONFIGURE_ARGS += --enable-magic-quotes
-CONFIGURE_ARGS += --enable-mbstring=shared
-CONFIGURE_ARGS += --enable-pcntl=shared
-CONFIGURE_ARGS += --enable-pdo=shared
-CONFIGURE_ARGS += --enable-phar=shared
-CONFIGURE_ARGS += --enable-posix=shared
-CONFIGURE_ARGS += --enable-session=shared
-CONFIGURE_ARGS += --enable-shmop=shared
-CONFIGURE_ARGS += --enable-soap=shared
-CONFIGURE_ARGS += --enable-sockets=shared
-CONFIGURE_ARGS += --enable-sqlite-utf8
-CONFIGURE_ARGS += --enable-sqlite3=shared,$(prefix)
-CONFIGURE_ARGS += --enable-sysvmsg=shared
-CONFIGURE_ARGS += --enable-sysvsem=shared
-CONFIGURE_ARGS += --enable-sysvshm=shared
-CONFIGURE_ARGS += --enable-tokenizer=shared
-CONFIGURE_ARGS += --enable-wddx=shared
-CONFIGURE_ARGS += --enable-xmlreader=shared
-CONFIGURE_ARGS += --enable-xmlwriter=shared
-CONFIGURE_ARGS += --enable-zip=shared
-CONFIGURE_ARGS += --with-bz2=shared,$(prefix)
-CONFIGURE_ARGS += --with-curl=shared,$(prefix)
-CONFIGURE_ARGS += --with-curlwrappers
-CONFIGURE_ARGS += --with-db4=$(prefix)/bdb4
-CONFIGURE_ARGS += --with-exec-dir=$(prefix)/php5/bin
-CONFIGURE_ARGS += --with-freetype-dir=$(prefix)
-CONFIGURE_ARGS += --with-gd=shared,$(prefix)
-CONFIGURE_ARGS += --with-gdbm=$(prefix)
-CONFIGURE_ARGS += --with-gettext=shared,$(prefix)
-CONFIGURE_ARGS += --with-gmp=shared,$(prefix)
-# CONFIGURE_ARGS += --with-ibm-db2=shared,/export/db2inst1/sqllib
-CONFIGURE_ARGS += --with-iconv=shared,$(prefix)
-CONFIGURE_ARGS += --with-imap-ssl=$(prefix)
-CONFIGURE_ARGS += --with-imap=shared,$(prefix)
-CONFIGURE_ARGS += --with-jpeg-dir=$(prefix)
-CONFIGURE_ARGS += --with-kerberos=$(prefix)
-CONFIGURE_ARGS += --with-ldap-sasl=$(prefix)
-CONFIGURE_ARGS += --with-ldap=shared,$(prefix)
-CONFIGURE_ARGS += --with-libedit=no
-CONFIGURE_ARGS += --with-libexpat-dir=$(prefix)
-CONFIGURE_ARGS += --with-mcrypt=shared,$(prefix)
-CONFIGURE_ARGS += --with-mhash=shared,$(prefix)
-CONFIGURE_ARGS += --with-mm=$(prefix)
-CONFIGURE_ARGS += --with-mssql=shared,$(prefix)
-CONFIGURE_ARGS += --with-mysql=shared,$(prefix)
-CONFIGURE_ARGS += --with-mysqli=shared,$(prefix)/bin/mysql_config
-CONFIGURE_ARGS += --with-ndbm
-CONFIGURE_ARGS += --with-openssl=shared,$(prefix)
-CONFIGURE_ARGS += --with-pcre-dir=$(prefix)
-CONFIGURE_ARGS += --with-pcre-regex
-# not documented, but you can pass the path to mysql_config directly
-# we need the 32-bit version, so we have to force this
-CONFIGURE_ARGS += --with-pdo-mysql=shared,$(prefix)/bin/mysql_config
-CONFIGURE_ARGS += --with-pdo-odbc=shared,unixODBC,$(prefix)
-CONFIGURE_ARGS += --with-pdo-pgsql=shared,$(bindir)/
-CONFIGURE_ARGS += --with-pdo-sqlite=shared,$(prefix)
-CONFIGURE_ARGS += --with-pear=shared
-CONFIGURE_ARGS += --with-pgsql=shared,$(bindir)/
-CONFIGURE_ARGS += --with-png-dir=$(prefix)
-CONFIGURE_ARGS += --with-pspell=shared,$(prefix)
-CONFIGURE_ARGS += --with-readline=shared,/opt/csw
-CONFIGURE_ARGS += --with-snmp=shared,$(prefix)
-CONFIGURE_ARGS += --with-sqlite=shared,$(prefix)
-CONFIGURE_ARGS += --with-t1lib=$(prefix)
-CONFIGURE_ARGS += --with-tidy=shared,$(prefix)
-CONFIGURE_ARGS += --with-unixODBC=shared,$(prefix)
-CONFIGURE_ARGS += --with-xmlrpc=shared
-CONFIGURE_ARGS += --with-xpm-dir=$(prefix)
-CONFIGURE_ARGS += --with-xsl=shared,$(prefix)
-CONFIGURE_ARGS += --with-zlib-dir=$(prefix)
-CONFIGURE_ARGS += --with-zlib=$(prefix)
-CONFIGURE_ARGS += --enable-cli
-CONFIGURE_ARGS_fpm += --enable-fpm
-
-CONFIGURE_ARGS-ap24 += --with-apxs2=$(prefix)/bin/apxs
-CONFIGURE_ARGS-ap2 += --with-apxs2=$(prefix)/apache2/sbin/apxs
-CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(SAPI))
-
-# Disable Tests (report submitted to PHP QA)
-# works, but takes a lot of time
-SKIPTEST = 1
-#ENABLE_CHECK = 0
-TEST_TARGET = test
-
-include gar/category.mk
-
-# they're using git now and ship a .gitignore that excludes aclocal.m4
-# that broke one of our patches so we'll nuke .gitignore before we patch
-pre-patch-modulated:
-	@-(cd $(WORKSRC); rm .gitignore; git add -A; git commit -m 'adding files that were previously ignored' )
-	@$(MAKECOOKIE)
-
-pre-configure-modulated:
-	(cd $(WORKSRC) && autoreconf)
-	@$(MAKECOOKIE)
-
-xxxxpre-configure-modulated:
-	@echo Munging c-client routine in configure.
-	@(cd $(WORKSRC); \
-		perl -pi -e "s|c-client4 c-client|c-client.2007f|g" configure; \
-		git add configure; git commit -m 'modify c-client finding routine')
-	@$(MAKECOOKIE)
-
-# this allows apxs to install the module.  stupid, but i couldn't make
-# the darn thing _not_ do try to add the httpd.conf lines, even with
-# patching...
-# pre-install-modulated: AP2SYSCONF=$(sysconfdir_ap2)
-# pre-install-modulated: $(PI_SCRIPTS)
-# 	@(mkdir -p $(DESTDIR)$(AP2SYSCONF); \
-# 		cp $(AP2SYSCONF)/httpd.conf $(DESTDIR)$(AP2SYSCONF) )
-# 	@echo "LoadModule foo_module libexec/mod_foo.so" >> $(DESTDIR)$(AP2SYSCONF)/httpd.conf
-# 	@echo "LoadModule foo1_module libexec/mod_foo1.so" >> $(DESTDIR)$(AP2SYSCONF)/httpd.conf
-# 	@echo "LoadModule foo2_module libexec/mod_foo2.so" >> $(DESTDIR)$(AP2SYSCONF)/httpd.conf
-# 	@$(MAKECOOKIE)
-
-post-install-modulated: AP2SYSCONF=$(sysconfdir_$(SAPI))/httpd.conf
-post-install-modulated: AP2EXTCONF=$(sysconfdir_$(SAPI))/extra
-post-install-modulated: INIDEST=$(DESTDIR)/etc$(prefix)/php5/php.ini
-post-install-modulated:
-	@rm -f $(DESTDIR)$(AP2SYSCONF)
-	@ginstall -d -m 0755 $(DESTDIR)$(AP2EXTCONF)
-	@ginstall -m 0644 $(WORKDIR)/httpd-php5.conf $(DESTDIR)$(AP2EXTCONF)
-	@ginstall -m 0644 $(WORKSRC)/php.ini-production $(INIDEST)
-	@perl -pi -e 's/^;extension=php_(.*).dll/;extension=$$1.so/' $(INIDEST)
-	@ginstall -m 0755 $(DOWNLOADDIR)/phpext $(DESTDIR)$(prefix)/php5/bin/
-	@rm -rf $(DESTDIR)/.cha* $(DESTDIR)/.dep* $(DESTDIR)/.reg* $(DESTDIR)/.l* $(DESTDIR)/.f*
-	@perl -pi -e 's!s:17:"http://proxy:3128!s:0:"!' $(DESTDIR)$(sysconfdir)/pear.conf*
-	@mkdir -p $(DESTDIR)/opt/csw/bin
-	@( cd $(DESTDIR)/opt/csw/bin; \
-	   for f in pear peardev pecl phar php php-config; do \
-		ln -s ../php5/bin/$$f $$f; \
-	   done )
-	@$(MAKECOOKIE)
-
-post-merge-all:
-	@echo " ==> Fixing php.ini: adding loadable session.so ctype.so phar.so support"
-	cat $(WORKDIR)/php.ini.patch | ed -s $(PKGROOT)/$(sysconfdir)/php.ini.CSW 
-	@$(MAKECOOKIE)
-
-post-merge-modulated:
-	@echo "merge for $(SAPI)"
-	@echo "preserve $(PRESERVECONF)"
-	@$(MAKECOOKIE)	

Copied: csw/mgar/pkg/php7/trunk/Makefile (from rev 25973, csw/mgar/pkg/php5/branches/php-5.6.x/Makefile)
===================================================================
--- csw/mgar/pkg/php7/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/php7/trunk/Makefile	2018-04-13 10:13:47 UTC (rev 26404)
@@ -0,0 +1,528 @@
+NAME = php
+VERSION = 5.6.35
+GARTYPE = v2
+
+BUNDLE = php5
+
+DESCRIPTION = A high-level scripting language.
+define BLURB
+PHP is a widely-used Open Source general-purpose scripting language that is
+especially suited for Web development and can be embedded into HTML. Its
+syntax draws upon C, Java, and Perl, and is easy to learn. PHP runs on many
+different platforms and can be used as a standalone executable or as a
+module under a variety of Web servers. It has excellent support for
+databases, XML, LDAP, IMAP, Java, various Internet protocols, and general
+data manipulation, and is extensible via its powerful API. It is actively
+developed and supported by a talented and energetic international team.
+Numerous Open Source and commercial PHP-based application packages are
+available.
+endef
+
+BUILD64 = 1
+
+EXTRA_MODULATORS = SAPI
+MODULATIONS_SAPI += ap24
+MODULATIONS_SAPI += ap2
+MODULATIONS_SAPI += fpm
+# MODULATIONS_SAPI += cgi
+MERGE_SCRIPTS_isa-default-sapi-ap2 = copy-all
+MERGE_SCRIPTS_isa-default-sapi-ap24 = copy-all
+MERGE_SCRIPTS_isa-default-sapi-fpm = copy-all
+MERGE_SCRIPTS_isa-default64-sapi-ap2 = copy-relocate
+MERGE_SCRIPTS_isa-default64-sapi-ap24 = copy-relocate
+MERGE_SCRIPTS_isa-default64-sapi-fpm = copy-relocate
+
+# There is no FPM on SPARC before SPARCV9
+SKIP_MODULATIONS += isa-sparcv8plus-sapi-fpm
+
+# Just for testing!!!
+#SKIP_MODULATIONS += isa-sparcv8plus-sapi-ap24 isa-sparcv8plus-sapi-ap2
+SKIP_MODULATIONS += isa-sparcv9-sapi-ap2
+SKIP_MODULATIONS += isa-amd64-sapi-ap2
+#SKIP_MODULATIONS += isa-sparcv9-sapi-fpm
+
+# turn on the build scripts to enable/disable modules
+# use the SVR4 class 'build' 
+PHP5_EXT = 1
+# this triggers <garhome>/bin/ap2mod_build_scripts
+AP2_MODS-ap2 = 1
+AP2_MODFILES-ap2 = *libphp5.so
+AP2_MODS += $(AP2_MODS-$(SAPI))
+AP2_MODFILES += $(AP2_MODFILES-$(SAPI))
+
+# at least for a decent echo used during build.
+# $(bindir) can contain the 64 bit path
+PATH := /opt/csw/gnu:$(bindir):/opt/csw/bin:$(PATH)
+
+MASTER_SITES += http://de2.php.net/get/
+
+EXTRA_INSTALL_ENV  = INSTALL_ROOT=$(DESTDIR)
+EXTRA_TEST_ENV  = NO_INTERACTION=1
+
+VENDOR_URL = http://www.php.net/
+LICENSE = LICENSE
+
+DISTNAME = $(NAME)-$(VERSION)
+DISTFILES += $(DISTNAME).tar.xz
+DISTFILES += phpext 
+DISTFILES += pear.conf.CSW 
+DISTFILES += CSWphp5.postinstall
+DISTFILES += CSWphp5.cswreleasenotes
+DISTFILES += CSWap24-modphp5.cswreleasenotes
+DISTFILES += CSWap24-modphp5.postinstall
+DISTFILES += CSWap24-modphp5.preremove
+DISTFILES += CSWap2-modphp5.cswreleasenotes
+DISTFILES += CSWap2-modphp5.postinstall
+DISTFILES += CSWap2-modphp5.preremove
+DISTFILES += httpd-php5.conf
+DISTFILES += map.solaris10
+DISTFILES += php.ini.patch
+
+PATCHFILES += 0001-Strip-usr-ucblib-references.patch
+PATCHFILES += 0003-Do-not-activate-php5-module-during-package-build.patch
+
+# TBD: Where specifically do these come from?
+PATCHFILES += 0001-Undef-disturbing-definition-of-SS-on-Solaris.patch
+PATCHFILES += 0002-Undef-ES-on-Solaris.patch
+
+PATCHFILES += 0004-Do-not-add-Wno-write-strings-unconditionally.patch
+PATCHFILES += 0005-Remove-another-Wno.patch
+# our apache24 has threaded and prefork MPM, needs 'autoreconf'
+PATCHFILES += 0006-disable-zts-build
+
+BUILD_DEP_PKGS += CSWlibgdbm-dev CSWlibidn-dev CSWlibgd-dev CSWcoreutils
+BUILD_DEP_PKGS += CSWlibxml2-dev CSWlibexpat1 CSWlibz-dev CSWlibcurl-dev CSWjpeg
+BUILD_DEP_PKGS += CSWlibpng-dev CSWt1lib-dev CSWlibgdbm-dev CSWlibgmp10
+BUILD_DEP_PKGS += CSWggettext-dev CSWlibssl-dev CSWlibgd2
+BUILD_DEP_PKGS += CSWlibcares-dev CSWftype2 CSWlibiconv-dev
+BUILD_DEP_PKGS += CSWopenldap-dev CSWlibkrb5-dev CSWsasl CSWlibltdl7
+BUILD_DEP_PKGS += CSWmcrypt-dev CSWfreetds CSWmysql56-dev CSWunixodbc
+BUILD_DEP_PKGS += CSWlibreadline-dev CSWlibncurses-dev CSWnetsnmp-dev
+BUILD_DEP_PKGS += CSWlibsqlite3-dev CSWaspell CSWtidy-dev CSWpostgresql-dev
+BUILD_DEP_PKGS += CSWlibfreetype-dev
+BUILD_DEP_PKGS += CSWlibxpm-dev
+BUILD_DEP_PKGS += CSWlibaspell-dev
+
+PRESERVECONF += $(sysconfdir)/$(MM_LIBDIR)/php.ini
+PRESERVECONF += $(sysconfdir)/pear.conf
+PRESERVECONF += $(sysconfdir_ap2)/extra/httpd-php5.conf
+PRESERVECONF += $(sysconfdir_ap24)/extra/httpd-php5.conf
+
+define php5_subpackage
+PACKAGES += CSWphp5-$(subst _,-,$(1))
+CATALOGNAME_CSWphp5-$(subst _,-,$(1)) ?= php5_$(subst -,_,$(1))
+SPKG_DESC_CSWphp5-$(subst _,-,$(1)) ?= The $(1) extention for PHP5
+RUNTIME_DEP_PKGS_CSWphp5-$(subst _,-,$(1)) += CSWphp5 $(2)
+# OBSOLETED_BY_CSWphp5-$(subst _,-,$(1)) ?= CSWphp5$(subst _,-,$(1))
+PKGFILES_CSWphp5-$(subst _,-,$(1)) += .*/$(1).so
+PKGFILES_CSWphp5-$(subst _,-,$(1)) += $(includedir)/php/ext/$(1)
+# CHECKPKG_OVERRIDES_CSWphp5-$(subst _,-,$(1)) += surplus-dependency|CSWphp5
+endef
+
+PACKAGES += CSWphp5
+CATALOGNAME_CSWphp5        = php5
+SPKG_DESC_CSWphp5          = A High-Level Scripting Language
+RUNTIME_DEP_PKGS_CSWphp5 += CSWlibxml2-2 CSWlibexpat1 CSWlibz1
+RUNTIME_DEP_PKGS_CSWphp5 += CSWlibicui18n57
+RUNTIME_DEP_PKGS_CSWphp5 += CSWlibicuuc57
+RUNTIME_DEP_PKGS_CSWphp5 += CSWlibicuio57
+INCOMPATIBLE_PKGS_CSWphp5 = CSWphp5mimemagic CSWphp5mhash CSWphp5dbase
+INCOMPATIBLE_PKGS_CSWphp5 += CSWphp5ncurses CSWmodphp5
+# embeded 'magic' information to detect file types...odd, but...
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/bin/php
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/PEAR/Config.php
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/bin/php-cgi
+# verify these...
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/etc/opt/csw/php5/php.ini.CSW
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/php/man/man1/php-config.1
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/lib/apache2/modules/libphp5.so
+CHECKPKG_OVERRIDES_CSWphp5 += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/doc/PEAR/README.rst
+
+
+PACKAGES += CSWphp5-dev
+CATALOGNAME_CSWphp5-dev   = php5_dev
+SPKG_DESC_CSWphp5-dev     = Development files for php5
+RUNTIME_DEP_PKGS_CSWphp5-dev      = CSWphp5
+PKGFILES_CSWphp5-dev  = $(prefix)/php5/bin/php-config
+PKGFILES_CSWphp5-dev  = $(prefix)/bin/php-config
+PKGFILES_CSWphp5-dev += $(prefix)/php5/bin/phpize
+PKGFILES_CSWphp5-dev += $(prefix)/php5/bin/peardev
+PKGFILES_CSWphp5-dev += $(prefix)/bin/peardev
+PKGFILES_CSWphp5-dev += $(prefix)/php5/lib/php/build/.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/TSRM.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/Zend.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/include.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/main.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/regex.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/date.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/filter.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/libxml.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/pcre.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/spl.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/standard.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/include/php/ext/xml.*
+PKGFILES_CSWphp5-dev += $(prefix)/php5/man/man1/php-config.1
+PKGFILES_CSWphp5-dev += $(prefix)/php5/man/man1/phpize.1
+CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/libtool.m4
+CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/acinclude.m4
+CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/shtool
+CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/lib/php/build/phpize.m4
+CHECKPKG_OVERRIDES_CSWphp5-dev += file-with-bad-content|/usr/local|root/opt/csw/php5/man/man1/php-config.1
+
+EXTRA_MERGE_EXCLUDE_FILES-ap24 += $(prefix)/apache2.*
+EXTRA_MERGE_EXCLUDE_FILES-ap2 += $(sysconfdir_ap24).*
+EXTRA_MERGE_EXCLUDE_FILES += $(EXTRA_MERGE_EXCLUDE_FILES-$(SAPI))
+
+PACKAGES += CSWap24-modphp5
+SPKG_DESC_CSWap24-modphp5 = The apache 2.4.x php5 module
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWapache24
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWphp5
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibxml2-2
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibexpat1
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibicui18n57
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibicuuc57
+RUNTIME_DEP_PKGS_CSWap24-modphp5 += CSWlibicuio57
+PKGFILES_CSWap24-modphp5 += $(libdir)/apache2/modules.*
+PKGFILES_CSWap24-modphp5 += $(sysconfdir_ap24).*
+CHECKPKG_OVERRIDES_CSWap24-modphp5 += surplus-dependency|CSWapache24
+CHECKPKG_OVERRIDES_CSWap24-modphp5 += file-with-bad-content|/usr/local|root/opt/csw/lib/apache2/modules/libphp5.so
+
+PACKAGES += CSWap2-modphp5
+SPKG_DESC_CSWap2-modphp5 = The apache 2.2.x php5 module
+CHECKPKG_OVERRIDES_CSWap24-modphp5 += surplus-dependency|CSWphp5
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWapache2
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWphp5
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibxml2-2
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibexpat1
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibicui18n57
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibicuio57
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibicuuc57
+RUNTIME_DEP_PKGS_CSWap2-modphp5 += CSWlibz1
+PKGFILES_CSWap2-modphp5 += $(prefix)/apache2.*
+CHECKPKG_OVERRIDES_CSWap2-modphp5 += surplus-dependency|CSWphp5
+CHECKPKG_OVERRIDES_CSWap2-modphp5 += surplus-dependency|CSWapache2
+CHECKPKG_OVERRIDES_CSWap2-modphp5 += file-with-bad-content|/usr/local|root/opt/csw/apache2/libexec/libphp5.so
+
+$(eval $(call php5_subpackage,bcmath,))
+$(eval $(call php5_subpackage,bz2,CSWlibbz2-1-0))
+$(eval $(call php5_subpackage,calendar,))
+$(eval $(call php5_subpackage,ctype,))
+RUNTIME_DEP_PKGS_CSWphp5-curl_sparc += CSWlibintl9
+RUNTIME_DEP_PKGS_CSWphp5-curl += $(RUNTIME_DEP_PKGS_CSWphp5-curl_$(GARCH))
+$(eval $(call php5_subpackage,curl,CSWlibcurl4))
+$(eval $(call php5_subpackage,dba,CSWlibgdbm4 CSWbdb42))
+$(eval $(call php5_subpackage,dom,CSWlibxml2-2))
+PKGFILES_CSWphp5-dom += .*include/php/ext/dom.*
+$(eval $(call php5_subpackage,exif,))
+$(eval $(call php5_subpackage,ftp,CSWlibssl1-0-0))
+RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibjpeg7
+RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibz1
+RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibpng16-16
+RUNTIME_DEP_PKGS_CSWphp5-gd_sparc += CSWlibfreetype6
+RUNTIME_DEP_PKGS_CSWphp5-gd += $(RUNTIME_DEP_PKGS_CSWphp5-gd_$(GARCH))
+$(eval $(call php5_subpackage,gd,CSWlibgd3 CSWlibt1-5 CSWlibxpm4))
+PKGFILES_CSWphp5-gd += .*/include/php/ext/gd.*
+$(eval $(call php5_subpackage,gettext,CSWlibintl9))
+$(eval $(call php5_subpackage,gmp,CSWlibgmp10))
+$(eval $(call php5_subpackage,hash,))
+PKGFILES_CSWphp5-hash += .*/include/php/ext/hash.*
+$(eval $(call php5_subpackage,iconv,CSWlibiconv2))
+PKGFILES_CSWphp5-iconv += .*/include/php/ext/iconv.*
+$(eval $(call php5_subpackage,imap,CSWlibc-client-dev))
+$(eval $(call php5_subpackage,json,))
+$(eval $(call php5_subpackage,ldap,CSWliblber2-4-2 CSWlibldap2-4-2))
+$(eval $(call php5_subpackage,mbstring,))
+PKGFILES_CSWphp5-mbstring += .*/include/php/ext/mbstring.*
+RUNTIME_DEP_PKGS_CSWphp5-mcrypt_sparc += CSWlibltdl7
+RUNTIME_DEP_PKGS_CSWphp5-mcrypt += $(RUNTIME_DEP_PKGS_CSWphp5-mcrypt_$(GARCH))
+$(eval $(call php5_subpackage,mcrypt,CSWlibmcrypt4))
+$(eval $(call php5_subpackage,mssql,CSWlibsybdb5))
+$(eval $(call php5_subpackage,mysql,CSWlibmysqlclient18 CSWlibssl1-0-0))
+# likely a checkpkg glitch (uses sparcv8plus+vis path for the library)
+CHECKPKG_OVERRIDES_CSWphp5-mysql += surplus-dependency|CSWlibssl1-0-0
+$(eval $(call php5_subpackage,mysqli,CSWlibmysqlclient18))
+$(eval $(call php5_subpackage,odbc,CSWlibodbc2))
+RUNTIME_DEP_PKGS_CSWphp5-openssl_sparc += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWphp5-openssl += $(RUNTIME_DEP_PKGS_CSWphp5-openssl_$(GARCH))
+$(eval $(call php5_subpackage,openssl,CSWlibssl1-0-0))
+$(eval $(call php5_subpackage,pcntl,))
+$(eval $(call php5_subpackage,pdo,))
+PKGFILES_CSWphp5-pdo += .*/include/php/ext/pdo.*
+$(eval $(call php5_subpackage,pdomysql,CSWlibmysqlclient18 CSWphp5-pdo))
+PKGFILES_CSWphp5-pdomysql += .*/lib/php/extensions/.*/pdo_mysql.so
+PKGFILES_CSWphp5-pdomysql += .*extensions/pdo_mysql
+CHECKPKG_OVERRIDES_CSWphp5-pdomysql += surplus-dependency|CSWphp5-pdo
+$(eval $(call php5_subpackage,pdoodbc,CSWlibodbc2 CSWphp5-pdo))
+PKGFILES_CSWphp5-pdoodbc += .*/lib/php/extensions/.*/pdo_odbc.so
+PKGFILES_CSWphp5-pdoodbc += .*extensions/pdo_odbc
+CHECKPKG_OVERRIDES_CSWphp5-pdoodbc += surplus-dependency|CSWphp5-pdo
+$(eval $(call php5_subpackage,pdopgsql,CSWlibpq5 CSWphp5-pdo))
+PKGFILES_CSWphp5-pdopgsql += .*/lib/php/extensions/.*/pdo_pgsql.so
+PKGFILES_CSWphp5-pdopgsql += .*extensions/pdo_pgsql
+CHECKPKG_OVERRIDES_CSWphp5-pdopgsql += surplus-dependency|CSWphp5-pdo
+$(eval $(call php5_subpackage,pdosqlite,CSWphp5-pdo CSWlibsqlite3-0))
+PKGFILES_CSWphp5-pdosqlite += .*/lib/php/extensions/.*/pdo_sqlite.so
+PKGFILES_CSWphp5-pdosqlite += .*extensions/pdo_sqlite
+CHECKPKG_OVERRIDES_CSWphp5-pdosqlite += surplus-dependency|CSWphp5-pdo
+$(eval $(call php5_subpackage,pgsql,CSWlibpq5))
+$(eval $(call php5_subpackage,posix,))
+$(eval $(call php5_subpackage,pspell,CSWlibaspell15))
+RUNTIME_DEP_PKGS_CSWphp5-readline_sparc += CSWlibncurses6
+RUNTIME_DEP_PKGS_CSWphp5-readline += $(RUNTIME_DEP_PKGS_CSWphp5-readline_$(GARCH))
+$(eval $(call php5_subpackage,readline,CSWlibreadline6))
+$(eval $(call php5_subpackage,session,CSWlibmm))
+PKGFILES_CSWphp5-session += .*/include/php/ext/session.*
+$(eval $(call php5_subpackage,shmop,))
+$(eval $(call php5_subpackage,snmp,CSWlibnetsnmp30))
+$(eval $(call php5_subpackage,soap,CSWlibxml2-2))
+$(eval $(call php5_subpackage,sockets,))
+# $(eval $(call php5_subpackage,sqlite,CSWsqlite))
+$(eval $(call php5_subpackage,sysvmsg,))
+$(eval $(call php5_subpackage,sysvsem,))
+$(eval $(call php5_subpackage,sysvshm,))
+$(eval $(call php5_subpackage,tidy,CSWlibtidy0-99-0))
+$(eval $(call php5_subpackage,tokenizer,))
+$(eval $(call php5_subpackage,wddx,))
+$(eval $(call php5_subpackage,xmlreader,CSWlibxml2-2))
+$(eval $(call php5_subpackage,xmlrpc,CSWlibiconv2 CSWlibexpat1))
+$(eval $(call php5_subpackage,xmlwriter,CSWlibxml2-2))
+RUNTIME_DEP_PKGS_CSWphp5-xsl_sparc += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWphp5-xsl += $(RUNTIME_DEP_PKGS_CSWphp5-xsl_$(GARCH))
+$(eval $(call php5_subpackage,xsl,CSWlibxml2-2 CSWlibxslt1 CSWlibexslt0))
+$(eval $(call php5_subpackage,zip,CSWlibz1))
+# $(eval $(call php5_subpackage,ibm_db2,))
+
+# Use reinplacement until this is fixed:
+#   https://bugs.php.net/bug.php?id=66298
+#REINPLACEMENTS += dos
+#REINPLACE_MATCH_dos = \r$$
+#REINPLACE_WITH_dos = 
+#REINPLACE_FILES_dos += ext/opcache/Optimizer/zend_optimizer.c
+
+EXTRA_CFLAGS = -I$(prefix)/include/ncursesw
+EXTRA_LIB += /opt/csw/postgresql/lib
+
+# BDB 64 bit libs are in a subdirectory
+EXTRA_LIB += /opt/csw/bdb4/lib
+
+GARCOMPILER = SOS12U4
+# GARCOMPILER = GNU
+
+# We link with /usr/ccs/bin/ld which requires setting the path to libCstd.so,
+# using CC as linker would have made this automatic.
+SUBDIR64-sparc = sparcv9
+SUBDIR64-i386 = amd64
+#EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCstd -lz
+# EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCrun
+# /opt/solarisstudio12.4/lib/compilers/libCrun.so
+# /opt/solarisstudio12.4/lib/compilers/sparcv9/libCrun.so
+EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/compilers/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCrun
+EXTRA_LD_OPTIONS = -M "$(abspath $(WORKDIR)/map.solaris10)"
+
+NOISALIST = 1
+STRIP_LIBTOOL = 1
+
+# We must not cut back on libc as we need current libmysql requiring getpagesizes2
+LINKER_MAPS =
+
+# EXTRA_CONFIGURE_EXPORTS += IBM_DB_INCLUDE
+# EXTRA_CONFIGURE_EXPORTS += IBM_DB_LIB
+# EXTRA_CONFIGURE_EXPORTS += DB2INSTANCE
+# EXTRA_CONFIGURE_EXPORTS += DB2DIR
+
+# This is needed for DB2 module
+# CONFIGURE_ENV_IBM_DB_INCLUDE = /opt/IBM/db2/V8.1/include
+# CONFIGURE_ENV_IBM_DB_LIB = /opt/IBM/db2/V8.1/lib
+# CONFIGURE_ENV_DB2INSTANCE = db2inst1
+# CONFIGURE_ENV_DB2DIR = /opt/IBM/db2/V8.1
+
+# EXTRA_RUNPATH_LINKER_FLAGS += -R$(CONFIGURE_ENV_IBM_DB_LIB)
+
+# We need CMSG_SPACE
+# EXTRA_CPPFLAGS  += -D_XPG4_2 -D__EXTENSIONS__
+EXTRA_CFLAGS  += -D_XPG4_2 -D__EXTENSIONS__
+
+# Otherwise we get the following error because std:: is not explicitly used:
+#   "/opt/SUNWspro/prod/include/CC/Cstd/rw/traits", line 535: Error: The function "wcsstr" must have a prototype.
+#EXTRA_CPPFLAGS += -D_RWSTD_NO_NEW_HEADER
+
+sysconfdir = /etc/opt/csw/php5
+sysconfdir_ap2 = /opt/csw/apache2/etc
+sysconfdir_ap24 = /etc/opt/csw/apache2
+sysconfdir_fpm = /etc/opt/csw/apache2
+
+# XXX: TBD review options:
+#   configure: WARNING: unrecognized options: --enable-magic-quotes, --enable-sqlite-utf8, --enable-sqlite3, --with-curlwrappers, --with-exec-dir, --with-sqlite
+
+# Taken out for testing
+exec_prefix = /opt/csw/php5
+
+CONFIGURE_ARGS += $(DIRPATHS)
+#CONFIGURE_ARGS += --prefix=$(prefix)/php5
+#CONFIGURE_ARGS += --libdir=$(abspath $(prefix)/php5/lib/$(MM_LIBDIR))
+#CONFIGURE_ARGS += --sysconfdir=$(sysconfdir)
+## build this static, php can not run without it.
+## it is more efficient to have this built into the php binary
+CONFIGURE_ARGS += --enable-simplexml
+CONFIGURE_ARGS += --disable-static
+CONFIGURE_ARGS += --enable-xml
+CONFIGURE_ARGS += --enable-intl
+CONFIGURE_ARGS += --with-libxml-dir=$(prefix)
+CONFIGURE_ARGS += --with-config-file-path=$(sysconfdir)
+CONFIGURE_ARGS += --with-config-file-scan-dir=$(sysconfdir)/conf.d
+CONFIGURE_ARGS += --enable-bcmath=shared
+CONFIGURE_ARGS += --enable-calendar=shared
+CONFIGURE_ARGS += --enable-ctype=shared
+CONFIGURE_ARGS += --enable-dba=shared
+CONFIGURE_ARGS += --enable-dom=shared
+CONFIGURE_ARGS += --enable-exif=shared
+CONFIGURE_ARGS += --enable-filter=shared
+CONFIGURE_ARGS += --enable-ftp=shared
+CONFIGURE_ARGS += --enable-gd-jis-conv
+CONFIGURE_ARGS += --enable-gd-native-ttf
+CONFIGURE_ARGS += --enable-hash=shared
+CONFIGURE_ARGS += --enable-json=shared
+CONFIGURE_ARGS += --enable-magic-quotes
+CONFIGURE_ARGS += --enable-mbstring=shared
+CONFIGURE_ARGS += --enable-pcntl=shared
+CONFIGURE_ARGS += --enable-pdo=shared
+CONFIGURE_ARGS += --enable-phar=shared
+CONFIGURE_ARGS += --enable-posix=shared
+CONFIGURE_ARGS += --enable-session=shared
+CONFIGURE_ARGS += --enable-shmop=shared
+CONFIGURE_ARGS += --enable-soap=shared
+CONFIGURE_ARGS += --enable-sockets=shared
+CONFIGURE_ARGS += --enable-sqlite-utf8
+CONFIGURE_ARGS += --enable-sqlite3=shared,$(prefix)
+CONFIGURE_ARGS += --enable-sysvmsg=shared
+CONFIGURE_ARGS += --enable-sysvsem=shared
+CONFIGURE_ARGS += --enable-sysvshm=shared
+CONFIGURE_ARGS += --enable-tokenizer=shared
+CONFIGURE_ARGS += --enable-wddx=shared
+CONFIGURE_ARGS += --enable-xmlreader=shared
+CONFIGURE_ARGS += --enable-xmlwriter=shared
+CONFIGURE_ARGS += --enable-zip=shared
+CONFIGURE_ARGS += --with-bz2=shared,$(prefix)
+CONFIGURE_ARGS += --with-curl=shared,$(prefix)
+CONFIGURE_ARGS += --with-curlwrappers
+CONFIGURE_ARGS += --with-db4=$(prefix)/bdb4
+CONFIGURE_ARGS += --with-exec-dir=$(prefix)/php5/bin
+CONFIGURE_ARGS += --with-freetype-dir=$(prefix)
+CONFIGURE_ARGS += --with-gd=shared,$(prefix)
+CONFIGURE_ARGS += --with-gdbm=$(prefix)
+CONFIGURE_ARGS += --with-gettext=shared,$(prefix)
+CONFIGURE_ARGS += --with-gmp=shared,$(prefix)
+# CONFIGURE_ARGS += --with-ibm-db2=shared,/export/db2inst1/sqllib
+CONFIGURE_ARGS += --with-iconv=shared,$(prefix)
+CONFIGURE_ARGS += --with-imap-ssl=$(prefix)
+CONFIGURE_ARGS += --with-imap=shared,$(prefix)
+CONFIGURE_ARGS += --with-jpeg-dir=$(prefix)
+CONFIGURE_ARGS += --with-kerberos=$(prefix)
+CONFIGURE_ARGS += --with-ldap-sasl=$(prefix)
+CONFIGURE_ARGS += --with-ldap=shared,$(prefix)
+CONFIGURE_ARGS += --with-libedit=no
+CONFIGURE_ARGS += --with-libexpat-dir=$(prefix)
+CONFIGURE_ARGS += --with-mcrypt=shared,$(prefix)
+CONFIGURE_ARGS += --with-mhash=shared,$(prefix)
+CONFIGURE_ARGS += --with-mm=$(prefix)
+CONFIGURE_ARGS += --with-mssql=shared,$(prefix)
+CONFIGURE_ARGS += --with-mysql=shared,$(prefix)
+CONFIGURE_ARGS += --with-mysqli=shared,$(prefix)/bin/mysql_config
+CONFIGURE_ARGS += --with-ndbm
+CONFIGURE_ARGS += --with-openssl=shared,$(prefix)
+CONFIGURE_ARGS += --with-pcre-dir=$(prefix)
+CONFIGURE_ARGS += --with-pcre-regex
+# not documented, but you can pass the path to mysql_config directly
+# we need the 32-bit version, so we have to force this
+CONFIGURE_ARGS += --with-pdo-mysql=shared,$(prefix)/bin/mysql_config
+CONFIGURE_ARGS += --with-pdo-odbc=shared,unixODBC,$(prefix)
+CONFIGURE_ARGS += --with-pdo-pgsql=shared,$(bindir)/
+CONFIGURE_ARGS += --with-pdo-sqlite=shared,$(prefix)
+CONFIGURE_ARGS += --with-pear=shared
+CONFIGURE_ARGS += --with-pgsql=shared,$(bindir)/
+CONFIGURE_ARGS += --with-png-dir=$(prefix)
+CONFIGURE_ARGS += --with-pspell=shared,$(prefix)
+CONFIGURE_ARGS += --with-readline=shared,/opt/csw
+CONFIGURE_ARGS += --with-snmp=shared,$(prefix)
+CONFIGURE_ARGS += --with-sqlite=shared,$(prefix)
+CONFIGURE_ARGS += --with-t1lib=$(prefix)
+CONFIGURE_ARGS += --with-tidy=shared,$(prefix)
+CONFIGURE_ARGS += --with-unixODBC=shared,$(prefix)
+CONFIGURE_ARGS += --with-xmlrpc=shared
+CONFIGURE_ARGS += --with-xpm-dir=$(prefix)
+CONFIGURE_ARGS += --with-xsl=shared,$(prefix)
+CONFIGURE_ARGS += --with-zlib-dir=$(prefix)
+CONFIGURE_ARGS += --with-zlib=$(prefix)
+CONFIGURE_ARGS += --enable-cli
+# We don't have Tokyo Cabinet
+CONFIGURE_ARGS += --without-tcadb
+
+CONFIGURE_ARGS-fpm += --enable-fpm
+CONFIGURE_ARGS-ap24 += --with-apxs2=$(abspath $(prefix)/bin/$(MM_BINDIR))/apxs
+CONFIGURE_ARGS-ap2 += --with-apxs2=$(prefix)/apache2/sbin/$(MM_LIBDIR)/apxs
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(SAPI))
+
+TEST_TARGET = test
+
+# Disable Tests (report submitted to PHP QA)
+# works, but takes a lot of time
+SKIPTEST ?= 1
+#ENABLE_CHECK = 0
+
+include gar/category.mk
+
+# they're using git now and ship a .gitignore that excludes aclocal.m4
+# that broke one of our patches so we'll nuke .gitignore before we patch
+pre-patch-modulated:
+	@-(cd $(WORKSRC); rm .gitignore; git add -A; git commit -m 'adding files that were previously ignored' )
+	@$(MAKECOOKIE)
+
+pre-configure-modulated:
+	(cd $(WORKSRC) && autoreconf)
+	@$(MAKECOOKIE)
+
+xxxxpre-configure-modulated:
+	@echo Munging c-client routine in configure.
+	@(cd $(WORKSRC); \
+		perl -pi -e "s|c-client4 c-client|c-client.2007f|g" configure; \
+		git add configure; git commit -m 'modify c-client finding routine')
+	@$(MAKECOOKIE)
+
+# this allows apxs to install the module.  stupid, but i couldn't make
+# the darn thing _not_ do try to add the httpd.conf lines, even with
+# patching...
+# pre-install-modulated: AP2SYSCONF=$(sysconfdir_ap2)
+# pre-install-modulated: $(PI_SCRIPTS)
+# 	@(mkdir -p $(DESTDIR)$(AP2SYSCONF); \
+# 		cp $(AP2SYSCONF)/httpd.conf $(DESTDIR)$(AP2SYSCONF) )
+# 	@echo "LoadModule foo_module libexec/mod_foo.so" >> $(DESTDIR)$(AP2SYSCONF)/httpd.conf
+# 	@echo "LoadModule foo1_module libexec/mod_foo1.so" >> $(DESTDIR)$(AP2SYSCONF)/httpd.conf
+# 	@echo "LoadModule foo2_module libexec/mod_foo2.so" >> $(DESTDIR)$(AP2SYSCONF)/httpd.conf
+# 	@$(MAKECOOKIE)
+
+post-install: AP2SYSCONF=$(sysconfdir_$(SAPI))/$(MM_LIBDIR)/httpd.conf
+post-install: AP2EXTCONF=$(sysconfdir_$(SAPI))/$(MM_LIBDIR)/extra
+post-install: INIDEST=$(DESTDIR)$(sysconfdir)/$(MM_LIBDIR)/php.ini
+post-install:
+	rm -f $(DESTDIR)$(AP2SYSCONF)
+	ginstall -d -m 0755 $(DESTDIR)$(AP2EXTCONF)
+	ginstall -m 0644 $(WORKDIR)/httpd-php5.conf $(DESTDIR)$(AP2EXTCONF)
+	ginstall -D -m 0644 $(WORKSRC)/php.ini-production $(INIDEST)
+	perl -pi -e 's/^;extension=php_(.*).dll/;extension=$$1.so/' $(INIDEST)
+	cat $(WORKDIR)/php.ini.patch | ed -s $(INIDEST)
+	ginstall -D -m 0755 $(WORKDIR)/phpext $(DESTDIR)$(bindir)/phpext
+	rm -rf $(DESTDIR)/.cha* $(DESTDIR)/.dep* $(DESTDIR)/.reg* $(DESTDIR)/.l* $(DESTDIR)/.f*
+	perl -pi -e 's!s:17:"http://proxy:3128!s:0:"!' $(DESTDIR)$(sysconfdir)/pear.conf*
+	mkdir -p $(DESTDIR)$(prefix)/bin/$(MEMORYMODEL)
+	( cd $(DESTDIR)$(prefix)/bin/$(MEMORYMODEL); \
+	   for f in pear peardev pecl phar php php-config; do \
+		ln -s $(if $(filter 64,$(MM_LIBDIR)),../../php5/bin/64/$$f,../php5/bin/$$f) $$f; \
+	   done )
+	@$(MAKECOOKIE)
+
+#post-merge-all:
+#	@echo " ==> Fixing php.ini: adding loadable session.so ctype.so phar.so support"
+#	cat $(WORKDIR)/php.ini.patch | ed -s $(PKGROOT)/$(sysconfdir)/php.ini.CSW 
+#	@$(MAKECOOKIE)
+

Deleted: csw/mgar/pkg/php7/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5/branches/php-5.6.x/checksums	2016-08-25 10:05:54 UTC (rev 25900)
+++ csw/mgar/pkg/php7/trunk/checksums	2018-04-13 10:13:47 UTC (rev 26404)
@@ -1 +0,0 @@
-3ef6e3573698b9b444be88edd3b23494  php-5.6.24.tar.xz

Copied: csw/mgar/pkg/php7/trunk/checksums (from rev 25971, csw/mgar/pkg/php5/branches/php-5.6.x/checksums)
===================================================================
--- csw/mgar/pkg/php7/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/php7/trunk/checksums	2018-04-13 10:13:47 UTC (rev 26404)
@@ -0,0 +1 @@
+50afbbc745ad433b9f368c5885bd73bf  php-5.6.35.tar.xz

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list