diff options
author | wiz <wiz@pkgsrc.org> | 2004-02-17 20:21:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-02-17 20:21:38 +0000 |
commit | 306ae1163f5c84ee44761a12baa0d695a46663d9 (patch) | |
tree | d60dc510ecd1fad6e1524622fa24a2ae60e353a2 /audio | |
parent | c6ba7805d3f04bf0cb07b0eaeaf355f95a486460 (diff) | |
download | pkgsrc-306ae1163f5c84ee44761a12baa0d695a46663d9.tar.gz |
Convert to buildlink3.mk.
Newer libtool demands autoconf-2.50+, so update dependency.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/faad2/Makefile | 7 | ||||
-rw-r--r-- | audio/faad2/buildlink3.mk | 20 |
2 files changed, 24 insertions, 3 deletions
diff --git a/audio/faad2/Makefile b/audio/faad2/Makefile index 5713ccdf8ce..d776d15aca8 100644 --- a/audio/faad2/Makefile +++ b/audio/faad2/Makefile @@ -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_FTP= ${RESTRICTED} 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 @@ post-configure: ${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 --git a/audio/faad2/buildlink3.mk b/audio/faad2/buildlink3.mk new file mode 100644 index 00000000000..9532ad82821 --- /dev/null +++ b/audio/faad2/buildlink3.mk @@ -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/+$//} |