dba4c7ac98
Include devel/gettext-lib/buildlink3.mk in buildlink3.mk only if option nls is enabled. Msgfmt is only needed if nls is enabled.
22 lines
501 B
Makefile
22 lines
501 B
Makefile
# $NetBSD: options.mk,v 1.3 2011/04/14 19:38:13 hans Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gcc44
|
|
PKG_SUPPORTED_OPTIONS= nls
|
|
PKG_SUGGESTED_OPTIONS=
|
|
.if ${OPSYS} == "NetBSD"
|
|
PKG_SUGGESTED_OPTIONS+= nls
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Native Language Support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mnls)
|
|
CONFIGURE_ARGS+= --enable-nls
|
|
USE_TOOLS+= msgfmt
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.endif
|