pkgsrc-wip/libuna/options.mk
Blue Rats d8ae7c8a66 Updated to latest release. Fixes a lot of problesm with standalone vs.
bundled libraries. Added static option to package. Reduced dependencies in
buildlink3.mk. Link against standalone libcerror.
2013-06-08 13:18:02 +00:00

23 lines
630 B
Makefile

# $NetBSD: options.mk,v 1.2 2013/06/08 13:18:02 othyro Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libuna
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 --enable-static-executables=yes
.else
CONFIGURE_ARGS+= --enable-static=no --enable-static-executables=no
.endif
.if !empty(PKG_OPTIONS:Mwide-curses)
CONFIGURE_ARGS+= --enable-wide-character-type
.endif