diff options
author | jlam <jlam> | 2002-10-06 11:43:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-06 11:43:25 +0000 |
commit | 370c807ca64da2c0bd653261ecf05b6207703eda (patch) | |
tree | 809135c7b356c77a1e65749637a04e5ce33f2231 /graphics | |
parent | db37f97c4d35779912e35c2b00e061c3e7eea0a8 (diff) | |
download | pkgsrc-370c807ca64da2c0bd653261ecf05b6207703eda.tar.gz |
Support using audio/oss with xanim with USE_OSS defined.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xanim/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile index 32d01da0f1b..5d836b50985 100644 --- a/graphics/xanim/Makefile +++ b/graphics/xanim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2002/09/25 12:04:06 jlam Exp $ +# $NetBSD: Makefile,v 1.29 2002/10/06 11:43:25 jlam Exp $ DISTNAME= xanim2801 PKGNAME= xanim-2.80.1 @@ -31,7 +31,14 @@ USE_IMAKE= YES MAKE_ENV+= ${XANIM_AUDIO.${OPSYS}} XANIM_AUDIO.Linux= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \ XA_AUDIO_LIBS="-lc" + +.if defined(USE_OSS) +XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \ + XA_AUDIO_LIBS="${LIBOSSAUDIO}" +.else XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_NetBSD_AUDIO" +.endif + XANIM_AUDIO.SunOS= XA_AUDIO_DEFS="-DXA_SPARC_AUDIO -DSVR4 -DXA_SELECT" post-extract: @@ -42,5 +49,5 @@ post-extract: ${GUNZIP_CMD} ${WRKSRC}/mods/$$file; \ done +.include "../../mk/ossaudio.buildlink2.mk" .include "../../mk/bsd.pkg.mk" - |