Commit graph

43 commits

Author SHA1 Message Date
joerg
5437d6597e Add basic DESTDIR support for PEAR packages. The skip list is a band aid
and the PEAR package itself must be reviewed to not include those files.
The patch doesn't work for dependencies right now.
2008-06-12 00:20:10 +00:00
rillig
cfd60c15ff Clarified the comment that no dependency is added by this file. 2007-10-11 08:51:43 +00:00
rillig
8a4225b4af + USE_PHP_EXT_PATCHES 2007-10-11 08:51:11 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
rillig
d2f1965b99 Added variable descriptions for PHP extensions. 2007-09-20 09:32:15 +00:00
rillig
e0c07e8ed7 Added variables for "bmake show-all". 2007-09-20 09:11:07 +00:00
tnn
87d6a8dd42 Fix installation of php extensions on HPUX. 2007-09-07 13:26:20 +00:00
ghen
13ea59af42 Adjust the documented default PHP version to the actual default. 2007-08-13 14:46:30 +00:00
rillig
68d8260f82 Added the usual documentation. 2007-06-18 07:21:09 +00:00
heinz
1043001008 Added support for installation of extensions to DESTDIR. 2007-06-11 17:59:23 +00:00
adrianp
989ca1e011 Including pear.mk will now pull in lang/pear as a dependency
Fix the PHP call to include the default include path for PEAR
2007-05-05 21:32:12 +00:00
adrianp
d9a1374854 * Support v2 of the pear-* package format that is being used by some
newer pear packages.
* Fix the case where an extra slash would be appended to the file path in the
  PLIST.
* Both fixes from from Loic Hoguin and tested by Loic and myself.
2007-04-15 13:46:42 +00:00
sketch
7d90eb7639 Make sure the do-patch target returns true, as some shells will return the
egrep exit status (which will be false if there are no patches for the module)
and stop the build.
2006-07-10 20:53:43 +00:00
joerg
337c6b1297 Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@ and adrianp@.
2006-06-02 18:27:54 +00:00
jlam
d5e3a83249 Allow a PECL PHP extension package to specify its own DISTNAME by setting
PECL_DISTNAME.
2006-06-01 17:44:21 +00:00
tron
c27ecb6fa8 Make PHP version 5.x the default. Security updates for PHP 4.x are
simply releasted much too slow these days.
2006-05-09 10:06:34 +00:00
jdolecek
4b122787b2 automatically include extension-specific MESSAGE if it exists 2005-12-03 18:52:54 +00:00
jdolecek
7023a17405 add missing backslash for previous 2005-12-03 13:32:42 +00:00
jdolecek
0705382d0c use ${PATH_ARGS} in do-patch target, and use _PKG_SILENT/_PKG_DEBUG
to reduce output for normal runs
2005-12-03 13:16:36 +00:00
tv
8a957173eb PECL modules have a real homepage. Set the default for PECL modules to
the PECL distro site rather than PHP's default.

Bump PKGREVISION, as the HOMEPAGE is included in the binary package's +DESC.
2005-10-04 16:50:50 +00:00
rillig
7c07d9b2cb Fixed pkglint warnings. 2005-09-28 21:46:24 +00:00
abs
df25641458 revert last - thanks to wiz for poking me to find the real cause of the
breakage.
2005-09-20 10:56:38 +00:00
abs
c98b0a6e37 Set PKGNAME= rather than PKGNAME?=
Previously php-gettext would end up with a PKGNAME of php-{ver}, with
obviously breakage.
2005-09-19 23:07:10 +00:00
jschauma
5b87a82011 Not all OS have a ln(1) that only accepts one argument, so let's use two. 2005-06-14 01:35:09 +00:00
jdolecek
485342b9d6 allow PECL-like extensions with different MASTER_SITES or EXTRACT_SUFX 2005-06-12 15:29:48 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
jdolecek
0d0d9c7d88 once PHP version is selected, set PHP_VERSION_REQD appropriately, so that
the selected version is forced for any sub-builds; this should fix
the bulk build problems for php5-extensions

use := to avoid variable recursion
2005-05-09 19:24:46 +00:00
jmmv
a416d14965 No need to set USE_BUILDLINK3=yes; this is now the default. 2005-03-25 12:45:09 +00:00
jdolecek
9b81fff133 completely ignore system php.ini for all pear-related operations; this
is necessary to avoid being subject to e.g. open_basedir or safe_mode settings
2004-12-12 11:03:33 +00:00
jdolecek
97ce3c35fb abort do-install if pear install fails 2004-12-12 09:41:14 +00:00
jdolecek
f4596f73a2 use PLIST_SRC+= so that setting PLIST_SRC setting in extension Makefile
would have an effect; fixes php4-apc
2004-12-12 09:13:56 +00:00
jdolecek
54df23c26d use DIST_SUBDIR=pear to avoid potential conflicts with non-pear
programs
2004-11-27 12:55:25 +00:00
jdolecek
8337b0b87d don't use += for DIST_SUBDIR 2004-11-27 12:36:35 +00:00
jdolecek
60492bd3cf Standardize Pear package HOMEPAGE, most have same format. 2004-11-27 09:52:42 +00:00
tron
2bf59febe3 Properly define "DISTINFO" when building a bundled PHP extension. 2004-11-16 15:33:12 +00:00
jdolecek
030aad031a merge extension module handling for PHP4 and PHP5 into lang/php/ext.mk,
g/c no longer needed Makefile.module

add support for building extensions off PECL; version for PECL packages
is built as ${PHP_BASE_VERS}.${PECL_VERSION}, i.e. PECL pkg version 1.0
would become php-pkg-4.3.9.1.0 or php-pkg-5.0.2.1.0 respectively
2004-11-06 18:24:40 +00:00
jdolecek
b1a4119af0 use ${PKG_PHP} instead of PHP${PKG_PHP_VERSION} 2004-11-05 21:50:11 +00:00
jdolecek
cc35f4ca5e share MESSAGE.module and PLIST.module between php4 and php5 packages, moving
them to lang/php/
2004-11-05 21:40:25 +00:00
jdolecek
f7d2170d80 export the information about selected version via PKG_PHP_VERSION
and the base name of program as PKG_PHP
2004-11-04 18:40:39 +00:00
jdolecek
da05b47ca8 'data' items must be handled same way as 'test' and 'doc' - they are installed
into BASE/data/<pkgname>/*
2004-11-01 20:31:13 +00:00
jdolecek
4f4ebf540b Deal with backslashes in the file names, translate them to forward
slashes. This is necessary e.g. for pear-DIME, which uses backslashes.
2004-11-01 20:17:20 +00:00
jdolecek
7b5228a60f use shared pear package support framework for both php4 & php5; based on
the former php4 version
2004-11-01 19:55:57 +00:00
jdolecek
52c1980501 new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x

convert existing php4-* packages to this framework and import as php-*
2004-10-31 19:30:29 +00:00