summaryrefslogtreecommitdiff
path: root/databases/php-pdo/module.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-02 18:27:54 +0000
committerjoerg <joerg>2006-06-02 18:27:54 +0000
commit7fe8ce07cd12d22909180fe6f4c0bc28270c7451 (patch)
treeb7f585bd5e2d200a0004ced04920ab0be7a7445a /databases/php-pdo/module.mk
parentd32a89ecea4104ffee0189ee6fede1607b7ea878 (diff)
downloadpkgsrc-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/module.mk')
-rw-r--r--databases/php-pdo/module.mk10
1 files changed, 8 insertions, 2 deletions
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"