diff options
author | xtraeme <xtraeme> | 2004-04-25 00:52:39 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-04-25 00:52:39 +0000 |
commit | 42422c27afe72b6aa8ee8dc2938203ee7d8c9d0a (patch) | |
tree | 446482385edbbf421ba316d6a3b9a02d82f34e18 /databases/freetds | |
parent | eaaec4081b6d3c97b9d59d6245cc054627ff4ed1 (diff) | |
download | pkgsrc-42422c27afe72b6aa8ee8dc2938203ee7d8c9d0a.tar.gz |
bl3ify
Diffstat (limited to 'databases/freetds')
-rw-r--r-- | databases/freetds/Makefile | 8 | ||||
-rw-r--r-- | databases/freetds/buildlink3.mk | 22 |
2 files changed, 27 insertions, 3 deletions
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile index 67ecefb5ae2..96769b7e813 100644 --- a/databases/freetds/Makefile +++ b/databases/freetds/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2004/02/14 17:21:35 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2004/04/25 00:53:15 xtraeme Exp $ DISTNAME= freetds-0.61.2 CATEGORIES= databases @@ -8,7 +8,7 @@ MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://www.freetds.org/ COMMENT= LGPL'd implementation of Sybase's db-lib/ct-lib/ODBC libs -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LIBTOOL= yes USE_PKGINSTALL= yes USE_GNU_TOOLS+= make @@ -24,11 +24,13 @@ CONF_FILES= ${EGDIR}/freetds.conf ${PKG_SYSCONFDIR}/freetds.conf CONF_FILES+= ${EGDIR}/locales.conf ${PKG_SYSCONFDIR}/locales.conf CONF_FILES+= ${EGDIR}/pool.conf ${PKG_SYSCONFDIR}/pool.conf +BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/freetds/lib + post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/freetds.conf ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/locales.conf ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/src/pool/pool.conf ${EGDIR} -.include "../../converters/libiconv/buildlink2.mk" +.include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/databases/freetds/buildlink3.mk b/databases/freetds/buildlink3.mk new file mode 100644 index 00000000000..6411c5185a0 --- /dev/null +++ b/databases/freetds/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 00:53:15 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +FREETDS_BUILDLINK3_MK:= ${FREETDS_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= freetds +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreetds} +BUILDLINK_PACKAGES+= freetds + +.if !empty(FREETDS_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.freetds+= freetds>=0.61.2 +BUILDLINK_PKGSRCDIR.freetds?= ../../databases/freetds +BUILDLINK_INCDIRS.freetds+= ${BUILDLINK_PREFIX.freetds}/freetds/include +BUILDLINK_LIBDIRS.freetds+= ${BUILDLINK_PREFIX.freetds}/freetds/lib +.endif # FREETDS_BUILDLINK3_MK + +.include "../../converters/libiconv/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |