[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / sox

File: [cvs.NetBSD.org] / pkgsrc / audio / sox / options.mk (download)

Revision 1.1, Mon Aug 6 05:28:37 2007 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3

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.

# $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