pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/faad2 Convert to buildlink3.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/137814715c59
branches:  trunk
changeset: 468910:137814715c59
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 17 20:21:38 2004 +0000

description:
Convert to buildlink3.mk.
Newer libtool demands autoconf-2.50+, so update dependency.

diffstat:

 audio/faad2/Makefile      |   7 ++++---
 audio/faad2/buildlink3.mk |  20 ++++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r e336d8f81696 -r 137814715c59 audio/faad2/Makefile
--- a/audio/faad2/Makefile      Tue Feb 17 20:09:33 2004 +0000
+++ b/audio/faad2/Makefile      Tue Feb 17 20:21:38 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/02/14 17:21:32 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2004/02/17 20:21:38 wiz Exp $
 #
 
 DISTNAME=      faad2-1.1
@@ -14,12 +14,13 @@
 NO_BIN_ON_CDROM=${RESTRICTED}
 
 WRKSRC=                ${WRKDIR}/faad2
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_GCC_SHLIB=         YES
 USE_GNU_TOOLS+=                make
 USE_LIBTOOL=           YES
 
 AUTOMAKE_REQD=         1.4
+AUTOCONF_REQD=         2.50
 GNU_CONFIGURE=         YES
 
 pre-configure:
@@ -43,6 +44,6 @@
        ${WRKSRC}/frontend/Makefile.orig > ${WRKSRC}/frontend/Makefile
 .endif
 
-.include "../../audio/libsndfile/buildlink2.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
 .include "../../mk/automake.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e336d8f81696 -r 137814715c59 audio/faad2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/faad2/buildlink3.mk Tue Feb 17 20:21:38 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/17 20:21:38 wiz Exp $
+#
+# This Makefile fragment is included by packages that use faad2.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+FAAD2_BUILDLINK3_MK:=  ${FAAD2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    faad2
+.endif
+
+.if !empty(FAAD2_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   faad2
+BUILDLINK_DEPENDS.faad2+=              faad2>=1.1
+BUILDLINK_PKGSRCDIR.faad2?=            ../../audio/faad2
+
+.endif # FAAD2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index