pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/sweep Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7993914ff2b3
branches:  trunk
changeset: 469054:7993914ff2b3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Feb 19 11:39:24 2004 +0000

description:
Convert to buildlink3.

diffstat:

 audio/sweep/Makefile      |  26 +++++++++++++-------------
 audio/sweep/buildlink2.mk |  34 ----------------------------------
 audio/sweep/buildlink3.mk |  32 ++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 47 deletions(-)

diffs (119 lines):

diff -r 572901e1b77d -r 7993914ff2b3 audio/sweep/Makefile
--- a/audio/sweep/Makefile      Thu Feb 19 11:37:11 2004 +0000
+++ b/audio/sweep/Makefile      Thu Feb 19 11:39:24 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/02/14 17:21:33 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2004/02/19 11:39:24 wiz Exp $
 #
 
 DISTNAME=      sweep-0.8.2
@@ -14,7 +14,7 @@
 
 BUILD_USES_MSGFMT=     YES
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_LIBTOOL=           YES
 USE_GNU_TOOLS+=                make
 USE_PKGLOCALEDIR=      YES
@@ -27,15 +27,15 @@
 CPPFLAGS+=             -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
 MAKE_ENV+=             EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS}
 
-.include "../../audio/libvorbis/buildlink2.mk"
-.include "../../audio/libsamplerate/buildlink2.mk"
-.include "../../audio/libsndfile/buildlink2.mk"
-.include "../../audio/libmad/buildlink2.mk"
-.include "../../audio/speex/buildlink2.mk"
-.include "../../converters/libiconv/buildlink2.mk"
-.include "../../databases/tdb/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/speex/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 572901e1b77d -r 7993914ff2b3 audio/sweep/buildlink2.mk
--- a/audio/sweep/buildlink2.mk Thu Feb 19 11:37:11 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.7 2003/12/08 14:41:38 wiz Exp $
-#
-# This Makefile fragment is included by packages that use sweep.
-#
-# This file was created automatically using createbuildlink 2.4.
-#
-
-.if !defined(SWEEP_BUILDLINK2_MK)
-SWEEP_BUILDLINK2_MK=   # defined
-
-BUILDLINK_PACKAGES+=                   sweep
-BUILDLINK_DEPENDS.sweep?=              sweep>=0.8.2nb6
-BUILDLINK_PKGSRCDIR.sweep?=            ../../audio/sweep
-
-EVAL_PREFIX+=  BUILDLINK_PREFIX.sweep=sweep
-BUILDLINK_PREFIX.sweep_DEFAULT=        ${LOCALBASE}
-BUILDLINK_FILES.sweep+=        include/sweep/*
-BUILDLINK_FILES.sweep+=        lib/sweep/*
-
-.include "../../audio/libmad/buildlink2.mk"
-.include "../../audio/libvorbis/buildlink2.mk"
-.include "../../audio/libsamplerate/buildlink2.mk"
-.include "../../audio/libsndfile/buildlink2.mk"
-.include "../../audio/speex/buildlink2.mk"
-.include "../../converters/libiconv/buildlink2.mk"
-.include "../../databases/tdb/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
-
-BUILDLINK_TARGETS+=    sweep-buildlink
-
-sweep-buildlink: _BUILDLINK_USE
-
-.endif # SWEEP_BUILDLINK2_MK
diff -r 572901e1b77d -r 7993914ff2b3 audio/sweep/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/sweep/buildlink3.mk Thu Feb 19 11:39:24 2004 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 11:39:24 wiz Exp $
+#
+# This Makefile fragment is included by packages that use sweep.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+SWEEP_BUILDLINK3_MK:=  ${SWEEP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    sweep
+.endif
+
+.if !empty(SWEEP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   sweep
+BUILDLINK_DEPENDS.sweep+=              sweep>=0.8.2nb6
+BUILDLINK_PKGSRCDIR.sweep?=            ../../audio/sweep
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/libsamplerate/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../audio/speex/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../databases/tdb/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+
+.endif # SWEEP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index