diff options
author | joerg <joerg> | 2006-06-02 18:27:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-06-02 18:27:54 +0000 |
commit | 7fe8ce07cd12d22909180fe6f4c0bc28270c7451 (patch) | |
tree | b7f585bd5e2d200a0004ced04920ab0be7a7445a /databases/php-pdo | |
parent | d32a89ecea4104ffee0189ee6fede1607b7ea878 (diff) | |
download | pkgsrc-7fe8ce07cd12d22909180fe6f4c0bc28270c7451.tar.gz |
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@.
Diffstat (limited to 'databases/php-pdo')
-rw-r--r-- | databases/php-pdo/Makefile | 7 | ||||
-rw-r--r-- | databases/php-pdo/buildlink3.mk | 6 | ||||
-rw-r--r-- | databases/php-pdo/module.mk | 10 |
3 files changed, 14 insertions, 9 deletions
diff --git a/databases/php-pdo/Makefile b/databases/php-pdo/Makefile index 928324331f4..e4877f22122 100644 --- a/databases/php-pdo/Makefile +++ b/databases/php-pdo/Makefile @@ -1,17 +1,16 @@ -# $NetBSD: Makefile,v 1.5 2006/05/03 06:37:36 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2006/06/02 18:27:55 joerg Exp $ PDO_DRIVER= # empty PDO_VERSION= 1.0.2 +PHP_VERSIONS_ACCEPTED= 5 + .include "../../databases/php-pdo/module.mk" COMMENT= PHP extension for PHP Data Objects (base) -PKGREVISION= 1 CONFIGURE_ARGS+= --with-${PKGMODNAME} -PHP_VERSION_REQD= 5 - PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo PDO_INCLUDES= php_pdo_driver.h php_pdo.h diff --git a/databases/php-pdo/buildlink3.mk b/databases/php-pdo/buildlink3.mk index 516d3fc7548..83beba72752 100644 --- a/databases/php-pdo/buildlink3.mk +++ b/databases/php-pdo/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2006/05/01 13:52:55 rillig Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2006/06/02 18:27:55 joerg Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PHP_PDO_BUILDLINK3_MK:= ${PHP_PDO_BUILDLINK3_MK}+ @@ -11,8 +11,8 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp-pdo} BUILDLINK_PACKAGES+= php-pdo .if !empty(PHP_PDO_BUILDLINK3_MK:M+) -BUILDLINK_API_DEPENDS.php-pdo+= php-pdo-5.* -BUILDLINK_ABI_DEPENDS.php-pdo?= php-pdo>=5.1.1.1.0.2nb1 +BUILDLINK_API_DEPENDS.php-pdo+= ${PHP_PKG_PREFIX}-pdo-5.* +BUILDLINK_ABI_DEPENDS.php-pdo?= ${PHP_PKG_PREFIX}-pdo>=5.1.1.1.0.2nb1 BUILDLINK_PKGSRCDIR.php-pdo?= ../../databases/php-pdo BUILDLINK_INCDIRS.php-pdo?= include/php/ext/pdo .endif # PHP_PDO_BUILDLINK3_MK diff --git a/databases/php-pdo/module.mk b/databases/php-pdo/module.mk index e1eb996c38a..aec56a6e844 100644 --- a/databases/php-pdo/module.mk +++ b/databases/php-pdo/module.mk @@ -1,4 +1,4 @@ -# $NetBSD: module.mk,v 1.6 2006/02/07 17:59:56 jdolecek Exp $ +# $NetBSD: module.mk,v 1.7 2006/06/02 18:27:55 joerg Exp $ # Items common for all PDO drivers @@ -12,7 +12,9 @@ PDO_DRIVER_TR= ${ECHO} ${PDO_DRIVER:Q} | ${TR} a-z A-Z MODNAME= PDO${_PDO_SEP}${PDO_DRIVER_TR:sh} PKGMODNAME= pdo${_PDO_SEP}${PDO_DRIVER} PECL_VERSION?= ${PDO_VERSION} -PKGNAME= php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION} +PKGNAME= ${PHP_PKG_PREFIX}-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION} + +CONFLICTS= php-pdo${_PDO_SEP}${PDO_DRIVER}-[0-9]* CATEGORIES+= databases MAINTAINER= jdolecek@NetBSD.org @@ -20,3 +22,7 @@ COMMENT= PHP PDO extension for ${PDO_COMMENT} databases # needed due to (broken?) PDO_* configure checks CONFIGURE_ENV+= PHP_PDO_SHARED="1" + +PHP_VERSIONS_ACCEPTED= 5 + +.include "../../lang/php/phpversion.mk" |