diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-02 18:26:36 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-02 18:26:36 +0000 |
commit | 3e2e99a8ed978a32102aa3df25dca86622177e9f (patch) | |
tree | bda5dd281f77ad4b279ffe393faeb64a3973d373 /multimedia/xanim | |
parent | 359d40ead86b4c4c16003c75f5af4d4874ea3b0a (diff) | |
download | pkgsrc-3e2e99a8ed978a32102aa3df25dca86622177e9f.tar.gz |
Convert to options framework.
Diffstat (limited to 'multimedia/xanim')
-rw-r--r-- | multimedia/xanim/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile index 6e420d3bb38..29cb2bc7a98 100644 --- a/multimedia/xanim/Makefile +++ b/multimedia/xanim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/05/15 22:02:28 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2005/06/02 18:26:36 wiz Exp $ DISTNAME= xanim2801 PKGNAME= xanim-2.80.1 @@ -31,7 +31,12 @@ MAKE_ENV+= ${XANIM_AUDIO.${OPSYS}} XANIM_AUDIO.Linux= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \ XA_AUDIO_LIBS="-lc" -.if defined(USE_OSS) +PKG_OPTIONS_VAR= PKG_OPTIONS.xanim +PKG_SUPPORTED_OPTIONS= oss + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Moss) XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \ XA_AUDIO_LIBS="${LIBOSSAUDIO}" .else |