diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-24 03:26:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-24 03:26:45 +0000 |
commit | a7d877ca6ae0e78f0eb4e0e03e41202252e9f94f (patch) | |
tree | 4963c5656e148ab0bec2e19df9ec8ccd15d2789f /databases | |
parent | 01a5abff019d79930d9efe12799eb86c320e2823 (diff) | |
download | pkgsrc-a7d877ca6ae0e78f0eb4e0e03e41202252e9f94f.tar.gz |
Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files. In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db3/buildlink3.mk | 4 | ||||
-rw-r--r-- | databases/db4/buildlink3.mk | 4 | ||||
-rw-r--r-- | databases/mysql-client/buildlink3.mk | 4 | ||||
-rw-r--r-- | databases/openldap/buildlink3.mk | 8 | ||||
-rw-r--r-- | databases/p5-DBI/buildlink3.mk | 4 | ||||
-rw-r--r-- | databases/postgresql-lib/buildlink3.mk | 4 |
6 files changed, 14 insertions, 14 deletions
diff --git a/databases/db3/buildlink3.mk b/databases/db3/buildlink3.mk index a57b5ef3ccb..010d2af1f85 100644 --- a/databases/db3/buildlink3.mk +++ b/databases/db3/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:44 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ DB3_BUILDLINK3_MK:= ${DB3_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= db3 .if !empty(DB3_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= db3 -BUILDLINK_DEPENDS.db3?= db3>=2.9.2 +BUILDLINK_DEPENDS.db3+= db3>=2.9.2 BUILDLINK_PKGSRCDIR.db3?= ../../databases/db3 .endif # DB3_BUILDLINK3_MK diff --git a/databases/db4/buildlink3.mk b/databases/db4/buildlink3.mk index 3cf4daaa6f8..2a721a41f6c 100644 --- a/databases/db4/buildlink3.mk +++ b/databases/db4/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.4 2004/01/05 11:05:44 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= db4 .if !empty(DB4_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= db4 -BUILDLINK_DEPENDS.db4?= db4>=4.1.25 +BUILDLINK_DEPENDS.db4+= db4>=4.1.25 BUILDLINK_PKGSRCDIR.db4?= ../../databases/db4 BUILDLINK_INCDIRS.db4?= include/db4 .endif # DB4_BUILDLINK3_MK diff --git a/databases/mysql-client/buildlink3.mk b/databases/mysql-client/buildlink3.mk index 233faca64b5..2427141b0b7 100644 --- a/databases/mysql-client/buildlink3.mk +++ b/databases/mysql-client/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.4 2004/01/05 11:05:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mysql-client .if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= mysql-client -BUILDLINK_DEPENDS.mysql-client?= mysql-client>=3.23.58 +BUILDLINK_DEPENDS.mysql-client+= mysql-client>=3.23.58 BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql-client BUILDLINK_LIBDIRS.mysql-client?= lib/mysql diff --git a/databases/openldap/buildlink3.mk b/databases/openldap/buildlink3.mk index 31c6d889b33..a75cc6f29fc 100644 --- a/databases/openldap/buildlink3.mk +++ b/databases/openldap/buildlink3.mk @@ -1,17 +1,17 @@ -# $NetBSD: buildlink3.mk,v 1.4 2004/01/21 14:08:24 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ OPENLDAP_BUILDLINK3_MK:= ${OPENLDAP_BUILDLINK3_MK}+ +.include "../../mk/bsd.prefs.mk" + .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= openldap .endif .if !empty(OPENLDAP_BUILDLINK3_MK:M+) -. include "../../mk/bsd.prefs.mk" - BUILDLINK_PACKAGES+= openldap -BUILDLINK_DEPENDS.openldap?= openldap>=2.1.22 +BUILDLINK_DEPENDS.openldap+= openldap>=2.1.22 BUILDLINK_PKGSRCDIR.openldap?= ../../databases/openldap . if defined(USE_SASL2) && (${USE_SASL2} == "YES") diff --git a/databases/p5-DBI/buildlink3.mk b/databases/p5-DBI/buildlink3.mk index 026ab44e23c..0d7fe065057 100644 --- a/databases/p5-DBI/buildlink3.mk +++ b/databases/p5-DBI/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ P5_DBI_BUILDLINK3_MK:= ${P5_DBI_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= p5-DBI .if !empty(P5_DBI_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= p5-DBI -BUILDLINK_DEPENDS.p5-DBI?= p5-DBI>=1.30 +BUILDLINK_DEPENDS.p5-DBI+= p5-DBI>=1.30 BUILDLINK_PKGSRCDIR.p5-DBI?= ../../databases/p5-DBI BUILDLINK_INCDIRS.p5-DBI?= ${PERL5_SUB_INSTALLSITEARCH}/auto/DBI diff --git a/databases/postgresql-lib/buildlink3.mk b/databases/postgresql-lib/buildlink3.mk index 4c2cdcdf4da..01dbf164097 100644 --- a/databases/postgresql-lib/buildlink3.mk +++ b/databases/postgresql-lib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/01/05 11:05:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:46 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ POSTGRESQL_LIB_BUILDLINK3_MK:= ${POSTGRESQL_LIB_BUILDLINK3_MK}+ @@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= postgresql-lib .if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M+) BUILDLINK_PACKAGES+= postgresql-lib -BUILDLINK_DEPENDS.postgresql-lib?= postgresql-lib>=7.3.1 +BUILDLINK_DEPENDS.postgresql-lib+= postgresql-lib>=7.3.1 BUILDLINK_PKGSRCDIR.postgresql-lib?= ../../databases/postgresql-lib BUILDLINK_INCDIRS.postgresql-lib?= include/postgresql |