diff options
author | snj <snj@pkgsrc.org> | 2004-05-08 04:50:50 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-05-08 04:50:50 +0000 |
commit | 43d5e1643ccf1a2fa86acfb2a1688a208d1e3128 (patch) | |
tree | 1ffb8dcfa7a6b12826404fc0f9b49d9b9ec0954b /databases | |
parent | c1af75dd93f945a15a63ebfbac3ed0874d646525 (diff) | |
download | pkgsrc-43d5e1643ccf1a2fa86acfb2a1688a208d1e3128.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libpqxx/Makefile | 6 | ||||
-rw-r--r-- | databases/odbc-postgresql/Makefile.common | 4 | ||||
-rw-r--r-- | databases/p5-DBD-Google/Makefile | 8 | ||||
-rw-r--r-- | databases/p5-sybperl/Makefile | 6 | ||||
-rw-r--r-- | databases/py-psycopg/Makefile | 10 | ||||
-rw-r--r-- | databases/py-psycopg/buildlink2.mk | 9 | ||||
-rw-r--r-- | databases/py-psycopg/buildlink3.mk | 19 |
7 files changed, 36 insertions, 26 deletions
diff --git a/databases/libpqxx/Makefile b/databases/libpqxx/Makefile index 69010df78c2..fb9dae47e24 100644 --- a/databases/libpqxx/Makefile +++ b/databases/libpqxx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/03/26 02:27:36 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2004/05/08 05:25:12 snj Exp $ # .include "../../databases/libpqxx/Makefile.common" @@ -9,7 +9,7 @@ COMMENT= C++ interface to postgresql-lib NOT_FOR_PLATFORM= NetBSD-*-pc532 USE_LANGUAGES= c c++ -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes PKGCONFIG_OVERRIDE+= libpqxx.pc.in @@ -22,5 +22,5 @@ CONFIGURE_ARGS+= --with-postgres-include=${PG_PREFIX}/include/postgresql # Avoid an ICE in gcc2 on sparc64 CONFIGURE_ENV+= F77=${FALSE} -.include "../../databases/postgresql-lib/buildlink2.mk" +.include "../../databases/postgresql-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/odbc-postgresql/Makefile.common b/databases/odbc-postgresql/Makefile.common index ed1b3b974ac..1c2a6e81e11 100644 --- a/databases/odbc-postgresql/Makefile.common +++ b/databases/odbc-postgresql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2004/04/24 22:46:09 jlam Exp $ +# $NetBSD: Makefile.common,v 1.6 2004/05/08 05:25:12 snj Exp $ DISTNAME= postgresql-${DIST_VERS} CATEGORIES= databases @@ -29,7 +29,7 @@ PATCHDIR?= ${.CURDIR}/../odbc-postgresql/patches DIST_VERS?= 7.2.3 BASE_VERS?= ${DIST_VERS} -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_GNU_TOOLS+= make MAKEFILE= GNUmakefile GNU_CONFIGURE= YES diff --git a/databases/p5-DBD-Google/Makefile b/databases/p5-DBD-Google/Makefile index 7fa97c1fda4..f2bc0b03b81 100644 --- a/databases/p5-DBD-Google/Makefile +++ b/databases/p5-DBD-Google/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2004/04/09 12:28:14 grant Exp $ +# $NetBSD: Makefile,v 1.3 2004/05/08 05:25:12 snj Exp $ # DISTNAME= DBD-Google-0.11 @@ -9,13 +9,13 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} MAINTAINER= tech-pkg@NetBSD.org COMMENT= Perl DBI/DBD driver for using Google as a datasource -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Google/.packlist BUILDLINK_DEPENDS.p5-DBI?= p5-DBI>=1.39 -.include "../../databases/p5-DBI/buildlink2.mk" -.include "../../net/p5-Net-Google/buildlink2.mk" +.include "../../databases/p5-DBI/buildlink3.mk" +.include "../../net/p5-Net-Google/buildlink3.mk" .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-sybperl/Makefile b/databases/p5-sybperl/Makefile index 9a139af7334..61e3ea448f3 100644 --- a/databases/p5-sybperl/Makefile +++ b/databases/p5-sybperl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 10:01:33 grant Exp $ +# $NetBSD: Makefile,v 1.2 2004/05/08 05:25:12 snj Exp $ # DISTNAME= sybperl-2.16 @@ -10,7 +10,7 @@ MAINTAINER= grant@NetBSD.org HOMEPAGE= http://www.mbay.net/~mpeppler/ COMMENT= Perl modules for using Sybase/MS-SQL databases -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Sybase/.packlist BUILD_DEFS+= USE_SYBASE_OPENCLIENT @@ -31,7 +31,7 @@ PERL5_LDFLAGS+= -Wl,${RPATH_FLAG}${_SYBASE}/lib MAKE_ENV+= SYBASE=${_SYBASE} .if !defined(USE_SYBASE_OPENCLIENT) -. include "../../databases/freetds/buildlink2.mk" +. include "../../databases/freetds/buildlink3.mk" .endif .include "../../lang/perl5/module.mk" diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile index ae79d4f4379..3de54ddd6b7 100644 --- a/databases/py-psycopg/Makefile +++ b/databases/py-psycopg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/04/16 17:21:34 drochner Exp $ +# $NetBSD: Makefile,v 1.11 2004/05/08 05:25:12 snj Exp $ # DISTNAME= psycopg-1.1.11 @@ -18,13 +18,13 @@ CONFIGURE_ARGS+= \ # XXX ${PYSITELIB}/... doesn't get transformed by buildlink2 CONFIGURE_ARGS+= --with-mxdatetime-includes=${BUILDLINK_DIR}/include ALL_TARGET= default -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes PYTHON_VERSIONS_ACCEPTED= 21pth 22pth PY_PATCHPLIST= yes -.include "../../databases/postgresql-lib/buildlink2.mk" +.include "../../databases/postgresql-lib/buildlink3.mk" .include "../../lang/python/extension.mk" -.include "../../time/py-mxDateTime/buildlink2.mk" -.include "../../mk/pthread.buildlink2.mk" +.include "../../time/py-mxDateTime/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/py-psycopg/buildlink2.mk b/databases/py-psycopg/buildlink2.mk deleted file mode 100644 index 70af7a5ca91..00000000000 --- a/databases/py-psycopg/buildlink2.mk +++ /dev/null @@ -1,9 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.4 2004/03/29 05:05:33 jlam Exp $ - -.include "../../lang/python/pyversion.mk" - -BUILDLINK_PACKAGES+= psycopg -BUILDLINK_PKGBASE.psycopg?= ${PYPKGPREFIX}-psycopg -BUILDLINK_DEPENDS.psycopg?= ${PYPKGPREFIX}-psycopg>=1.0.14nb1 -BUILDLINK_RECOMMENDED.psycopg?= ${PYPKGPREFIX}-psycopg>=1.0.14nb2 -BUILDLINK_PKGSRCDIR.psycopg?= ../../databases/py-psycopg diff --git a/databases/py-psycopg/buildlink3.mk b/databases/py-psycopg/buildlink3.mk new file mode 100644 index 00000000000..fd02722092d --- /dev/null +++ b/databases/py-psycopg/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/08 05:25:12 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_PSYCOPG_BUILDLINK3_MK:= ${PY_PSYCOPG_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= psycopg +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npsycopg} +BUILDLINK_PACKAGES+= psycopg + +.if !empty(PY_PSYCOPG_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.psycopg+= ${PYPKGPREFIX}-psycopg>=1.0.14nb1 +BUILDLINK_RECOMMENDED.psycopg?= ${PYPKGPREFIX}-psycopg>=1.0.14nb2 +BUILDLINK_PKGSRCDIR.psycopg?= ../../databases/py-psycopg +.endif # PY_PSYCOPG_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |