23 lines
569 B
Makefile
23 lines
569 B
Makefile
# $NetBSD: options.mk,v 1.2 2013/06/08 13:07:45 othyro Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libcdata
|
|
PKG_SUPPORTED_OPTIONS= nls static wide-curses
|
|
PKG_SUGGESTED_OPTIONS+= nls static wide-curses
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mnls)
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mstatic)
|
|
CONFIGURE_ARGS+= --enable-static=yes
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-static=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mwide-curses)
|
|
CONFIGURE_ARGS+= --enable-wide-character-type
|
|
.endif
|