diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-07 18:00:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-07 18:00:16 +0000 |
commit | 1de906e2e66d13fe49fc502ba5b6108ceb26f5dd (patch) | |
tree | 88019d24b86637a098e54b31e3ab8133312f8448 /audio/libao | |
parent | 8a4b69c91d93fd3c0cf245ae983ca0f49e4192c7 (diff) | |
download | pkgsrc-1de906e2e66d13fe49fc502ba5b6108ceb26f5dd.tar.gz |
Only libao has been bl3ified. Fix building of libao-{arts,esound} until
they have been, too.
Diffstat (limited to 'audio/libao')
-rw-r--r-- | audio/libao/Makefile | 4 | ||||
-rw-r--r-- | audio/libao/Makefile.common | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile index 65c65ab7cd1..5da08648f52 100644 --- a/audio/libao/Makefile +++ b/audio/libao/Makefile @@ -1,7 +1,9 @@ -# $NetBSD: Makefile,v 1.21 2004/01/05 20:52:56 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2004/01/07 18:00:16 jlam Exp $ PKG_INSTALLATION_TYPES= overwrite pkgviews +USE_BUILDLINK3= yes + .include "Makefile.common" MAINTAINER= lukem@NetBSD.org diff --git a/audio/libao/Makefile.common b/audio/libao/Makefile.common index 1bda491c7c9..d9d47e5b384 100644 --- a/audio/libao/Makefile.common +++ b/audio/libao/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2004/01/05 20:52:56 jlam Exp $ +# $NetBSD: Makefile.common,v 1.6 2004/01/07 18:00:16 jlam Exp $ DISTNAME= libao-0.8.4 CATEGORIES= audio devel @@ -11,7 +11,6 @@ DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo PATCHDIR= ${.CURDIR}/../../audio/libao/patches GNU_CONFIGURE= yes -USE_BUILDLINK3= yes USE_GMAKE= yes USE_LIBTOOL= yes @@ -32,5 +31,10 @@ CONFIGURE_ARGS+= --disable-alsa09 CONFIGURE_ARGS+= --disable-arts CONFIGURE_ARGS+= --disable-esd -.include "../../devel/pkgconfig/buildlink3.mk" -.include "../../mk/ossaudio.buildlink3.mk" +.if defined(USE_BUILDLINK3) +. include "../../devel/pkgconfig/buildlink3.mk" +. include "../../mk/ossaudio.buildlink3.mk" +.elif defined(USE_BUILDLINK2) +. include "../../devel/pkgconfig/buildlink2.mk" +. include "../../mk/ossaudio.buildlink2.mk" +.endif |