summaryrefslogtreecommitdiff
path: root/lang/php54/Makefile.common
diff options
context:
space:
mode:
authortaca <taca>2013-07-21 17:29:47 +0000
committertaca <taca>2013-07-21 17:29:47 +0000
commit01cd67d3eab7bf3938bc4aee763dba3b08551717 (patch)
tree8659004723fcc8e45a7c4e09ba29004214f11f24 /lang/php54/Makefile.common
parent547cca5a06c523d397064e55f1242b4d2589f816 (diff)
downloadpkgsrc-01cd67d3eab7bf3938bc4aee763dba3b08551717.tar.gz
Clean up php's framework.
* Define PHP's version at one place. * Remove obsolete description in comments. * Add "used by www/php-fpm/Makefile" in php5[34]/Makefile.php. * Remove commented out support for suhosin extension from php54. * Add PHP_CHECK_INSTALLED and PHP_EXTENSION_DIR to php/phpversion.mk. No functional should be made.
Diffstat (limited to 'lang/php54/Makefile.common')
-rw-r--r--lang/php54/Makefile.common45
1 files changed, 6 insertions, 39 deletions
diff --git a/lang/php54/Makefile.common b/lang/php54/Makefile.common
index a71a501ae35..6b102469f4f 100644
--- a/lang/php54/Makefile.common
+++ b/lang/php54/Makefile.common
@@ -1,49 +1,16 @@
-# $NetBSD: Makefile.common,v 1.14 2013/07/07 13:37:53 taca Exp $
+# $NetBSD: Makefile.common,v 1.15 2013/07/21 17:29:47 taca Exp $
# used by lang/php54/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php54-extensions/Makefile
-#
-# NOTE:
-# The suhosin option includes a patch from http://www.hardened-php.net/
-# Which tracks with the exact version number of PHP. There may be a delay
-# in the patch which can leave the option broken until an updated patch
-# is released. When updating PHP please don't forget to update the
-# distnfo with the details of the suhosin patch as well.
-#
-# Check these packages when update to new release of PHP and consider to
-# reset PKG_REVISION:
-#
-# databases/php-mysqlnd (not yet packaged)
-# misc/php-intl
-# textproc/php-enchant
-#
-# Since other PHP extensions are shared between www/php5, we can't reset
-# PKGREVSION.
-#
+PHP_VERSION_REQD= 54
+PHP_BASE_VERS= ${PHP54_VERSION}
+PHP_CHECK_INSTALLED= No
-.if !defined(DISTNAME)
-DISTNAME= php-${PHP_BASE_VERS}
-.endif
-CATEGORIES+= www
-
-.if !defined(PECL_VERSION)
-MASTER_SITES?= http://www.php.net/distributions/ \
- http://uk.php.net/distributions/ \
- http://de.php.net/distributions/ \
- http://us.php.net/distributions/
-EXTRACT_SUFX?= .tar.bz2
-.endif
+.include "../../lang/php/common.mk"
+CATEGORIES+= www
MAINTAINER?= pkgsrc-users@NetBSD.org
-HOMEPAGE?= http://www.php.net/
-
-PHP_BASE_VERS= 5.4.17
-
-PHP_EXTENSION_DIR= lib/php/20120301
-PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
-
-PKG_SYSCONFVAR?= php
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"