Commit graph

25 commits

Author SHA1 Message Date
asau
354ee694fd Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 21:25:15 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
taca
77949870d7 Remove PHP_VERSIONS_ACCEPTED=5 from these pacakges since there is no php4 any more.
No functional change.
2010-03-16 11:54:31 +00:00
taca
fcfef92d32 Remove a TAB in an empty line. 2009-10-09 03:49:43 +00:00
taca
d8a8d389a8 Remove workaround code which isn't used any more. 2009-10-07 05:01:51 +00:00
taca
fc854fa556 Remove use of temporary workaround for version problem of php-pdo*
packages when they switched to use bundled files in php-5.2.9.

Now we don't need this workaround any more and code itself already
no operation.

No functional change.
2009-10-07 05:00:58 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
sborrill
7036688ce1 The php_pdo* packages have not kept step with PHP changes. The PDO
components are now built into PHP rather than maintained separately in
PECL. The old PECL versions are unmaintained and haven't been altered
for 3 years. This is confusing as the package versions report themselves
to be 5.2.9.1.0.2, etc. but they are in fact based on the 5.1.x code-base.

Therefore, we need to switch to building the PDO modules like any other
PHP module.

A side-effect of this is that the PECL version number will get stripped
off the end meaning that the new version numbers are just 5.2.9 instead
of 5.2.9.1.0.2 (for example). Unfortunately, 5.2.9 is considered to be
older than 5.2.9.1.0.2 meaning that it will appear as though a downgrade
has taken place. Therefore, while we are still using PHP 5.2.9, add .99 on
the end (i.e. 5.2.9.99) so that the package appears newer. When PHP 5.2.10
is released this can be removed (the module.mk file explicitly cgecks for
5.2.9 before adding the .99 suffix so that it will not alter 5.2.10 if the
hack is forgotten. However, for the record, when 5.2.10 is released,
php-pdo/module.mk can be removed along with the references to it in each
php-pdo*/Makefile
2009-03-13 10:57:20 +00:00
joerg
3df95211be Don't abuse b3. It should not do things like include bsd.pkg.mk, so fix
up the packages that use it instead.
2009-03-05 20:58:37 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
jdolecek
327246bc58 allow this package to build properly on Mac OS X as shared extension 2007-09-04 23:21:27 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +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
wiz
aa857d7441 Fix previous: make(1) .for also needs "in". 2006-05-03 06:37:36 +00:00
rillig
2ef9596e61 Fixed some pkglint warnings. 2006-05-01 13:52:55 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jdolecek
a35a366556 add fix for the (broken?) PDO configure checks 2006-02-07 17:59:56 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jdolecek
7d3c288427 Update the PHP PDO to latest available PECL versions (1.0/1.0.1/1.0.2).
Changes are bugfixes mostly.

Also rework php-pdo/module.mk somewhat, so that the base php-pdo package
can use it too.
2005-12-03 17:24:28 +00:00
tv
8b6ab1c9c7 ${ECHO} and ${TR}. 2005-10-10 14:29:05 +00:00
tv
dd1e03a7f5 There's no such thing as :t* in the bootstrap bmake. Use a tr expression. 2005-10-10 14:12:05 +00:00
jdolecek
cab31f7385 do not set PKGREVISION here 2005-10-09 13:13:55 +00:00
jdolecek
7c2026b4ae Add PDO (PHP Data Objects) extensions. These implement unified,
object-oriented interface to various databases. PDO comes bundled
with upcoming PHP 5.1, but can also be used with PHP 5.0 via PECL.
2005-10-09 13:11:18 +00:00