diff options
author | wiz <wiz> | 2007-08-06 05:28:36 +0000 |
---|---|---|
committer | wiz <wiz> | 2007-08-06 05:28:36 +0000 |
commit | e17b677ef829e6a0ad0e9feda2f61490ca7fdc5f (patch) | |
tree | 03d9648d22638292fdbc7d5ca6cbada98c3e8d85 /audio/sox/options.mk | |
parent | 4166647772a1eac4eb6f8838762ce2c0a445ee6f (diff) | |
download | pkgsrc-e17b677ef829e6a0ad0e9feda2f61490ca7fdc5f.tar.gz |
Add an option to turn on OSS support (instead of turning it off
unconditionally), for DragonFly.
Based on a patch provided by Steve O'Hara-Smith on pkgsrc-users.
While here, split off options handling into an options.mk file.
Diffstat (limited to 'audio/sox/options.mk')
-rw-r--r-- | audio/sox/options.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/sox/options.mk b/audio/sox/options.mk new file mode 100644 index 00000000000..a9d9fa4419c --- /dev/null +++ b/audio/sox/options.mk @@ -0,0 +1,16 @@ +# $NetBSD: options.mk,v 1.1 2007/08/06 05:28:37 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sox +PKG_SUPPORTED_OPTIONS= lame oss +# lame has LICENSE= issues and thus should not be SUGGESTED. +PKG_SUGGESTED_OPTIONS= +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mlame) +# This is an option due to LICENSE= issues. +.include "../../audio/lame/buildlink3.mk" +.endif + +.if empty(PKG_OPTIONS:Moss) +CONFIGURE_ARGS+= --without-oss +.endif |