diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-02 18:10:33 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-02 18:10:33 +0000 |
commit | 0cd4208afa03b990a3de70012973c3abca37b685 (patch) | |
tree | 3493850ea6c481ef2c02b6330f00c5af406194e7 /wm/golem | |
parent | bcc7ade370a34e262bcce1ec5bd784158af307ef (diff) | |
download | pkgsrc-0cd4208afa03b990a3de70012973c3abca37b685.tar.gz |
Convert to options framework.
Diffstat (limited to 'wm/golem')
-rw-r--r-- | wm/golem/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/wm/golem/Makefile b/wm/golem/Makefile index 1492d003a8a..b9bc28cb77f 100644 --- a/wm/golem/Makefile +++ b/wm/golem/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2005/06/01 18:03:25 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2005/06/02 18:10:33 wiz Exp $ # DISTNAME= golem-0.0.5 @@ -20,10 +20,13 @@ CONFIGURE_ARGS= --enable-i18n CONFIGURE_ARGS+= --enable-xinerama .endif -GOLEM_WITH_SOUND?= NO +PKG_OPTIONS_VAR= PKG_OPTIONS.golem +PKG_SUPPORTED_OPTIONS= esound +PKG_OPTIONS_LEGACY_VARS+= GOLEM_WITH_SOUND:esound -.if !empty(GOLEM_WITH_SOUND:M[Yy][Ee][Ss]) -BUILD_DEFS= GOLEM_WITH_SOUND +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mesound) CONFIGURE_ARGS+= --enable-sound PLIST_SUBST= NOT_SOUND= .include "../../audio/esound/buildlink3.mk" |