pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/706559471577
branches:  trunk
changeset: 473889:706559471577
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun Apr 25 00:52:39 2004 +0000

description:
bl3ify

diffstat:

 databases/freetds/Makefile      |   8 +++++---
 databases/freetds/buildlink3.mk |  22 ++++++++++++++++++++++
 textproc/php4-domxml/Makefile   |  10 +++++-----
 textproc/php4-wddx/Makefile     |   6 +++---
 textproc/php4-xslt/Makefile     |   6 +++---
 5 files changed, 38 insertions(+), 14 deletions(-)

diffs (133 lines):

diff -r 350b4498df7e -r 706559471577 databases/freetds/Makefile
--- a/databases/freetds/Makefile        Sun Apr 25 00:52:19 2004 +0000
+++ b/databases/freetds/Makefile        Sun Apr 25 00:52:39 2004 +0000
@@ -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 @@
 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}/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 -r 350b4498df7e -r 706559471577 databases/freetds/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/freetds/buildlink3.mk   Sun Apr 25 00:52:39 2004 +0000
@@ -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/+$//}
diff -r 350b4498df7e -r 706559471577 textproc/php4-domxml/Makefile
--- a/textproc/php4-domxml/Makefile     Sun Apr 25 00:52:19 2004 +0000
+++ b/textproc/php4-domxml/Makefile     Sun Apr 25 00:52:39 2004 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.15 2004/01/23 21:50:49 jmmv Exp $
+# $NetBSD: Makefile,v 1.16 2004/04/25 00:52:39 xtraeme Exp $
 
 MODNAME=               domxml
 CATEGORIES+=           textproc
 PKGREVISION=           3
 COMMENT=               PHP4 extension for DOM support
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 
 .include "../../www/php4/Makefile.module"
 
@@ -15,7 +15,7 @@
 CONFIGURE_ARGS+=       --with-dom-xslt=${BUILDLINK_PREFIX.libxslt}
 CONFIGURE_ARGS+=       --with-dom-exslt=${BUILDLINK_PREFIX.libxslt}
 
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
-.include "../../textproc/libxslt/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 350b4498df7e -r 706559471577 textproc/php4-wddx/Makefile
--- a/textproc/php4-wddx/Makefile       Sun Apr 25 00:52:19 2004 +0000
+++ b/textproc/php4-wddx/Makefile       Sun Apr 25 00:52:39 2004 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.11 2003/11/29 12:12:10 jdolecek Exp $
+# $NetBSD: Makefile,v 1.12 2004/04/25 00:52:39 xtraeme Exp $
 
 MODNAME=               wddx
 CATEGORIES+=           textproc
 PKGREVISION=           # empty
 COMMENT=               PHP4 extension for WDDX support
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 
 .include "../../www/php4/Makefile.module"
 
 CONFIGURE_ARGS+=       --enable-${MODNAME}=shared,${BUILDLINK_PREFIX.expat}
 
-.include "../../textproc/expat/buildlink2.mk"
+.include "../../textproc/expat/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 350b4498df7e -r 706559471577 textproc/php4-xslt/Makefile
--- a/textproc/php4-xslt/Makefile       Sun Apr 25 00:52:19 2004 +0000
+++ b/textproc/php4-xslt/Makefile       Sun Apr 25 00:52:39 2004 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.9 2003/08/31 19:56:04 jdolecek Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/25 00:52:39 xtraeme Exp $
 
 MODNAME=               xslt
 PKGREVISION=           # empty
 CATEGORIES+=           textproc
 COMMENT=               PHP4 extension for XSLT functions (Sablotron backend)
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 
 .include "../../www/php4/Makefile.module"
 
@@ -25,5 +25,5 @@
        ${INSTALL_DATA_DIR} ${DOCDIR}
        cd ${WRKSRC}; ${INSTALL_DATA} README.XSLT-BACKENDS ${DOCDIR}
 
-.include "../../textproc/sablotron/buildlink2.mk"
+.include "../../textproc/sablotron/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index