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 | a108b3737e7885a15fb261912ff2c38fe6435eb0 (patch) | |
tree | bda5dd281f77ad4b279ffe393faeb64a3973d373 /multimedia | |
parent | b95a5e2f28fc1949e462c446c099574b2271537a (diff) | |
download | pkgsrc-a108b3737e7885a15fb261912ff2c38fe6435eb0.tar.gz |
Convert to options framework.
Diffstat (limited to 'multimedia')
-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 |