pkgsrc/devel/tre/options.mk
bjs 4077039309 For consistency's sake, remove PLIST.linux and instead add an option
to enable/disable NLS.  This option is added to PKG_SUPPORTED_OPTIONS
by default if there is a built-in gettext library.

While here, add PKG_DESTDIR_SUPPORT=user-destdir.  Bump revision.
2007-12-14 08:34:42 +00:00

20 lines
443 B
Makefile

PKG_OPTIONS_VAR= PKG_OPTIONS.tre
PKG_SUPPORTED_OPTIONS= nls
CHECK_BUILTIN.gettext:= yes
.include "../../devel/gettext-lib/builtin.mk"
CHECK_BUILTIN.gettext:= no
.if !empty(USE_BUILTIN.gettext:tl:Myes)
PKG_SUGGESTED_OPTIONS= nls
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mnls)
PLIST_SRC+= PLIST.nls
USE_PKGLOCALEDIR= yes
. include "../../devel/gettext-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nls
.endif