20 lines
469 B
Makefile
20 lines
469 B
Makefile
# $NetBSD: options.mk,v 1.1 2011/11/26 23:56:45 hans Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gtexinfo
|
|
PKG_SUPPORTED_OPTIONS= nls
|
|
PKG_SUGGESTED_OPTIONS=
|
|
.if ${OPSYS} == "NetBSD"
|
|
PKG_SUGGESTED_OPTIONS+= nls
|
|
.endif
|
|
|
|
PKG_OPTIONS_LEGACY_VARS= TEXINFO_LOCALE
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mnls)
|
|
USE_PKGLOCALEDIR= yes
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.locale
|
|
. include "../../devel/gettext-lib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
.endif
|