pkgsrc-wip/libclocale/options.mk

24 lines
564 B
Makefile

# $NetBSD: options.mk,v 1.2 2013/06/08 13:14:02 othyro Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libclocale
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