1 # $NetBSD: Makefile.common,v 1.10 2013/03/16 01:58:53 taca Exp $
2 # used by lang/php54/Makefile.php
3 # used by lang/php/ext.mk
4 # used by meta-pkgs/php54-extensions/Makefile
8 # The suhosin option includes a patch from http://www.hardened-php.net/
9 # Which tracks with the exact version number of PHP. There may be a delay
10 # in the patch which can leave the option broken until an updated patch
11 # is released. When updating PHP please don't forget to update the
12 # distnfo with the details of the suhosin patch as well.
14 # Check these packages when update to new release of PHP and consider to
17 # databases/php-mysqlnd (not yet packaged)
19 # textproc/php-enchant
21 # Since other PHP extensions are shared between www/php5, we can't reset
25 .if !defined(DISTNAME)
26 DISTNAME= php-${PHP_BASE_VERS}
30 .if !defined(PECL_VERSION)
31 MASTER_SITES?= http://www.php.net/distributions/ \
32 http://uk.php.net/distributions/ \
33 http://de.php.net/distributions/ \
34 http://us.php.net/distributions/
35 EXTRACT_SUFX?= .tar.bz2
38 MAINTAINER?= pkgsrc-users@NetBSD.org
39 HOMEPAGE?= http://www.php.net/
43 PHP_EXTENSION_DIR= lib/php/20120301
44 PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
48 # needed due to (broken?) configure checks in php-xmlrpc and php5-dom
49 CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
51 .include "../../mk/bsd.prefs.mk"