pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce9095cc28c1
branches:  trunk
changeset: 469052:ce9095cc28c1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 19 11:22:53 2004 +0000

description:
Convert to buildlink3.

diffstat:

 audio/libsamplerate/Makefile      |  10 +++++-----
 audio/libsamplerate/buildlink3.mk |  24 ++++++++++++++++++++++++
 databases/tdb/Makefile            |   4 ++--
 databases/tdb/buildlink3.mk       |  22 ++++++++++++++++++++++
 4 files changed, 53 insertions(+), 7 deletions(-)

diffs (100 lines):

diff -r 2d356fe8ecb7 -r ce9095cc28c1 audio/libsamplerate/Makefile
--- a/audio/libsamplerate/Makefile      Thu Feb 19 11:11:31 2004 +0000
+++ b/audio/libsamplerate/Makefile      Thu Feb 19 11:22:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/02/14 17:21:33 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/19 11:22:53 wiz Exp $
 #
 
 DISTNAME=      libsamplerate-0.0.13
@@ -10,14 +10,14 @@
 HOMEPAGE=      http://www.mega-nerd.com/SRC/
 COMMENT=       Sample rate converter library
 
-USE_BUILDLINK2=        YES
+USE_BUILDLINK3=        YES
 GNU_CONFIGURE= YES
 USE_LIBTOOL=   YES
 
 TEST_TARGET=   check
 
-BUILDLINK_DEPENDS.libsndfile=  libsndfile>=1.0.2
+BUILDLINK_DEPENDS.libsndfile+= libsndfile>=1.0.2
 
-.include "../../audio/libsndfile/buildlink2.mk"
-.include "../../math/fftw2/buildlink2.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../math/fftw2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2d356fe8ecb7 -r ce9095cc28c1 audio/libsamplerate/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libsamplerate/buildlink3.mk Thu Feb 19 11:22:53 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 11:22:53 wiz Exp $
+#
+# This Makefile fragment is included by packages that use libsamplerate.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBSAMPLERATE_BUILDLINK3_MK:=  ${LIBSAMPLERATE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    libsamplerate
+.endif
+
+.if !empty(LIBSAMPLERATE_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   libsamplerate
+BUILDLINK_DEPENDS.libsamplerate+=              libsamplerate>=0.0.13nb1
+BUILDLINK_PKGSRCDIR.libsamplerate?=            ../../audio/libsamplerate
+
+.include "../../audio/libsndfile/buildlink3.mk"
+
+.endif # LIBSAMPLERATE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 2d356fe8ecb7 -r ce9095cc28c1 databases/tdb/Makefile
--- a/databases/tdb/Makefile    Thu Feb 19 11:11:31 2004 +0000
+++ b/databases/tdb/Makefile    Thu Feb 19 11:22:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/02/14 17:21:36 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2004/02/19 11:28:21 wiz Exp $
 #
 
 DISTNAME=      tdb-1.0.6
@@ -10,7 +10,7 @@
 COMMENT=       Small database system which uses files to store data
 
 GNU_CONFIGURE=         YES
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_GNU_TOOLS+=                make
 USE_LIBTOOL=           YES
 
diff -r 2d356fe8ecb7 -r ce9095cc28c1 databases/tdb/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/tdb/buildlink3.mk       Thu Feb 19 11:22:53 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 11:28:21 wiz Exp $
+#
+# This Makefile fragment is included by packages that use tdb.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+TDB_BUILDLINK3_MK:=    ${TDB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    tdb
+.endif
+
+.if !empty(TDB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=           tdb
+BUILDLINK_DEPENDS.tdb+=                tdb>=1.0.6
+BUILDLINK_PKGSRCDIR.tdb?=      ../../databases/tdb
+
+.endif # TDB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index