73be520b3d
already. fixes build when oss option is selected (at least on netbsd 7.99.54).
19 lines
502 B
Makefile
19 lines
502 B
Makefile
# $NetBSD: options.mk,v 1.6 2017/01/07 21:30:26 maya 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)
|
|
LDFLAGS+= -lossaudio
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-oss
|
|
.endif
|