diff options
author | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
commit | 0d6c711ce586532632e1ae1b985d86085faa4580 (patch) | |
tree | 7815453a8a5d5cc91288c15c8c52893726b1e2bc /databases | |
parent | 7c4feed9a8d4596547ef84ababb069e65e478323 (diff) | |
download | pkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz |
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db/buildlink3.mk | 41 | ||||
-rw-r--r-- | databases/db3/buildlink3.mk | 19 | ||||
-rw-r--r-- | databases/db4/buildlink3.mk | 20 | ||||
-rw-r--r-- | databases/mysql-client/buildlink3.mk | 24 | ||||
-rw-r--r-- | databases/openldap/buildlink3.mk | 28 | ||||
-rw-r--r-- | databases/p5-DBI/buildlink3.mk | 22 | ||||
-rw-r--r-- | databases/postgresql-lib/buildlink3.mk | 22 |
7 files changed, 176 insertions, 0 deletions
diff --git a/databases/db/buildlink3.mk b/databases/db/buildlink3.mk new file mode 100644 index 00000000000..a9518948b67 --- /dev/null +++ b/databases/db/buildlink3.mk @@ -0,0 +1,41 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +DB2_BUILDLINK3_MK:= ${DB2_BUILDLINK3_MK}+ + +.if !empty(DB2_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= db +BUILDLINK_DEPENDS.db?= db>=2.7.3 +BUILDLINK_PKGSRCDIR.db?= ../../databases/db +.endif # DB2_BUILDLINK3_MK + +.if !defined(_NEED_DB2) +_NEED_DB2= YES +. if defined(USE_DB185) +. if exists(/usr/include/db.h) # NetBSD, Darwin +BUILDLINK_PREFIX.db= /usr +_NEED_DB2= NO +. elif exists(/usr/include/db1/db.h) # Linux +BUILDLINK_PREFIX.db= /usr +BUILDLINK_INCDIRS.db= include/db1 +BUILDLINK_TRANSFORM+= l:db:db1 +_NEED_DB2= NO +. endif +. endif +MAKEFLAGS+= _NEED_DB2="${_NEED_DB2}" +.endif + +.if ${_NEED_DB2} == "YES" +. if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= db +. endif +.endif + +.if !empty(DB2_BUILDLINK3_MK:M\+) +. if ${_NEED_DB2} == "YES" +BUILDLINK_INCDIRS.db= include/db2 +BUILDLINK_TRANSFORM+= l:db:db2 +. endif +.endif # DB2_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/databases/db3/buildlink3.mk b/databases/db3/buildlink3.mk new file mode 100644 index 00000000000..bd5f19685cc --- /dev/null +++ b/databases/db3/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +DB3_BUILDLINK3_MK:= ${DB3_BUILDLINK3_MK}+ + +.if !empty(DB3_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.db3?= db3>=2.9.2 +BUILDLINK_PKGSRCDIR.db3?= ../../databases/db3 +.endif # DB3_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= db3 +.endif + +.if !empty(DB3_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= db3 +.endif # DB3_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/databases/db4/buildlink3.mk b/databases/db4/buildlink3.mk new file mode 100644 index 00000000000..14524df16c0 --- /dev/null +++ b/databases/db4/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+ + +.if !empty(DB4_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.db4?= db4>=4.1.25 +BUILDLINK_PKGSRCDIR.db4?= ../../databases/db4 +BUILDLINK_CPPFLAGS.db4?= -I${BUILDLINK_PREFIX.db4}/include/db4 +.endif # DB4_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= db4 +.endif + +.if !empty(DB4_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= db4 +.endif # DB4_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/databases/mysql-client/buildlink3.mk b/databases/mysql-client/buildlink3.mk new file mode 100644 index 00000000000..6b19103f3b3 --- /dev/null +++ b/databases/mysql-client/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+ + +.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.mysql-client?= mysql-client>=3.23.58 +BUILDLINK_PKGSRCDIR.mysql-client?= ../../databases/mysql-client +BUILDLINK_LDFLAGS.mysql-client?= \ + -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ + -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql +.endif # MYSQL_CLIENT_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= mysql-client +.endif + +.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= mysql-client + +. include "../../devel/zlib/buildlink3.mk" +.endif # MYSQL_CLIENT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/databases/openldap/buildlink3.mk b/databases/openldap/buildlink3.mk new file mode 100644 index 00000000000..85194a528b0 --- /dev/null +++ b/databases/openldap/buildlink3.mk @@ -0,0 +1,28 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +OPENLDAP_BUILDLINK3_MK:= ${OPENLDAP_BUILDLINK3_MK}+ + +.if !empty(OPENLDAP_BUILDLINK3_MK:M\+) +. include "../../mk/bsd.prefs.mk" + +BUILDLINK_DEPENDS.openldap?= openldap>=2.1.22 +BUILDLINK_PKGSRCDIR.openldap?= ../../databases/openldap +.endif # OPENLDAP_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= openldap +.endif + +.if !empty(OPENLDAP_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= openldap + +. if defined(USE_SASL2) && (${USE_SASL2} == "YES") +. include "../../security/cyrus-sasl2/buildlink3.mk" +. elif defined(USE_SASL) && (${USE_SASL} == "YES") +. include "../../security/cyrus-sasl/buildlink3.mk" +. endif +. include "../../security/openssl/buildlink3.mk" +.endif # OPENLDAP_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/databases/p5-DBI/buildlink3.mk b/databases/p5-DBI/buildlink3.mk new file mode 100644 index 00000000000..ff21b0785b0 --- /dev/null +++ b/databases/p5-DBI/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +P5_DBI_BUILDLINK3_MK:= ${P5_DBI_BUILDLINK3_MK}+ + +.if !empty(P5_DBI_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.p5-DBI?= p5-DBI>=1.30 +BUILDLINK_PKGSRCDIR.p5-DBI?= ../../databases/p5-DBI +BUILDLINK_INCDIRS.p5-DBI?= ${PERL5_SUB_INSTALLSITEARCH}/auto/DBI +.endif # P5_DBI_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= p5-DBI +.endif + +.if !empty(P5_DBI_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= p5-DBI + +. include "../../lang/perl5/buildlink3.mk" +.endif # P5_DBI_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/databases/postgresql-lib/buildlink3.mk b/databases/postgresql-lib/buildlink3.mk new file mode 100644 index 00000000000..d4533bc1934 --- /dev/null +++ b/databases/postgresql-lib/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:43 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +POSTGRESQL_LIB_BUILDLINK3_MK:= ${POSTGRESQL_LIB_BUILDLINK3_MK}+ + +.if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.postgresql-lib?= postgresql-lib>=7.3.1 +BUILDLINK_PKGSRCDIR.postgresql-lib?= ../../databases/postgresql-lib +BUILDLINK_INCDIRS.postgresql-lib?= include/postgresql +.endif # POSTGRESQL_LIB_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= postgresql-lib +.endif + +.if !empty(POSTGRESQL_LIB_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= postgresql-lib + +. include "../../security/openssl/buildlink3.mk" +.endif # POSTGRESQL_LIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} |