eb3c2b436e
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
20 lines
499 B
Makefile
20 lines
499 B
Makefile
# $NetBSD: options.mk,v 1.2 2019/11/03 11:45:29 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2_net
|
|
PKG_SUPPORTED_OPTIONS= static tests
|
|
PKG_SUGGESTED_OPTIONS+= static
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mstatic)
|
|
CONFIGURE_ARGS+= --enable-static=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-static=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mtests)
|
|
.include "../../graphics/GUIlib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-gui=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-gui=no --disable-sdltest
|
|
.endif
|