summaryrefslogtreecommitdiff
path: root/databases/php-pdo/buildlink3.mk
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-10-09 13:11:18 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-10-09 13:11:18 +0000
commit7c2026b4ae85ca31d44d83a71e0905c4b779a573 (patch)
treef3d425d9097919e34a6ab1e4ea4137d358a3e42f /databases/php-pdo/buildlink3.mk
parentf1121923d870a3c01bbf3306246c70bd27196632 (diff)
downloadpkgsrc-7c2026b4ae85ca31d44d83a71e0905c4b779a573.tar.gz
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.
Diffstat (limited to 'databases/php-pdo/buildlink3.mk')
-rw-r--r--databases/php-pdo/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/php-pdo/buildlink3.mk b/databases/php-pdo/buildlink3.mk
new file mode 100644
index 00000000000..061cedf10c1
--- /dev/null
+++ b/databases/php-pdo/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PHP_PDO_BUILDLINK3_MK:= ${PHP_PDO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= php-pdo
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp-pdo}
+BUILDLINK_PACKAGES+= php-pdo
+
+.if !empty(PHP_PDO_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.php-pdo+= php-pdo-*.1.0RC1
+BUILDLINK_PKGSRCDIR.php-pdo?= ../../databases/php-pdo
+BUILDLINK_INCDIRS.php-pdo?= include/php/ext/pdo
+.endif # PHP_PDO_BUILDLINK3_MK
+
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"