pkgsrc/devel/gmake/options.mk
cheusov feaf6c4497 Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).
All utilities are installed with a prefix 'g'. Symlinks with original
names are created in ${PREFIX}/gnu/bin.

++pkgrevision

Fix for some pkglint warnings
2012-05-29 21:37:03 +00:00

23 lines
575 B
Makefile

# $NetBSD: options.mk,v 1.2 2012/05/29 21:37:03 cheusov Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gmake
PKG_SUPPORTED_OPTIONS= nls
PKG_SUGGESTED_OPTIONS=
.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= nls
.endif
PKG_OPTIONS_LEGACY_VARS+= GMAKE_LOCALE
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mnls)
USE_PKGLOCALEDIR= yes
PLIST_SRC+= ${PKGDIR}/PLIST.locale
USE_TOOLS+= msgfmt
. include "../../devel/gettext-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-libintl-prefix
CONFIGURE_ARGS+= --without-libiconv-prefix
CONFIGURE_ARGS+= --disable-nls
.endif