Convert to buildlink3.

This commit is contained in:
wiz 2004-02-19 01:49:18 +00:00
parent f64ef4bcdd
commit f7ebf0ada7
2 changed files with 28 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2004/02/14 17:21:33 jlam Exp $
# $NetBSD: Makefile,v 1.10 2004/02/19 01:49:18 wiz Exp $
#
DISTNAME= speex-1.0.3
@ -9,7 +9,7 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.speex.org/
COMMENT= Open-source, patent-free voice codec
USE_BUILDLINK2= YES
USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
@ -18,6 +18,6 @@ CONFLICTS= Speex-[0-9]*
CONFIGURE_ARGS+= --with-ogg-dir="${BUILDLINK_PREFIX.libogg}"
.include "../../audio/libogg/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
.include "../../audio/libogg/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

24
audio/speex/buildlink3.mk Normal file
View file

@ -0,0 +1,24 @@
# $NetBSD: buildlink3.mk,v 1.1 2004/02/19 01:49:18 wiz Exp $
#
# This Makefile fragment is included by packages that use speex.
#
# This file was created automatically using createbuildlink-3.1.
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPEEX_BUILDLINK3_MK:= ${SPEEX_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= speex
.endif
.if !empty(SPEEX_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= speex
BUILDLINK_DEPENDS.speex+= speex>=1.0.2nb1
BUILDLINK_PKGSRCDIR.speex?= ../../audio/speex
.include "../../audio/libogg/buildlink3.mk"
.endif # SPEEX_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}