4221beb477
As of 1.24, MATE requires GNU-specific msgfmt features. meta-pkgs/mate/ Makefile.common r. 1.10 expressed this tool dependency using USE_BUILTIN.gettext=no, but this exposed pkgsrc gettext-libs in the build environment as well, which some MATE packages then linked against, but gettext-libs didn't end up being declared as a run-time dependency, so binary package installations were broken (with the workaround of manually installing the undeclared gettext-libs dependency). Express this dependency differently, so GNU msgfmt is used as a tool without exposing pkgsrc gettext-libs. (The pkgsrc tooling infrastruture could be altered to provide a distinct "gmsgfmt" tool, same with "gxgettext", and perhaps others. Here I'm just immediately concerned with fixing this packaging issue.) Addresses PR pkg/55503 by Jay Patel.
26 lines
897 B
Makefile
26 lines
897 B
Makefile
# $NetBSD: Makefile,v 1.19 2020/08/24 04:41:42 gutteridge Exp $
|
|
|
|
PKGREVISION= 2
|
|
.include "../../meta-pkgs/mate/Makefile.common"
|
|
|
|
DISTNAME= mate-menus-${VERSION:R}.0
|
|
CATEGORIES= x11
|
|
|
|
COMMENT= Implementation of the desktop menu specification for MATE
|
|
|
|
PKGCONFIG_OVERRIDE+= libmenu/libmate-menu.pc.in
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --enable-introspection
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/mate-menus
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus
|
|
CONF_FILES+= ${PREFIX}/share/examples/mate-menus/xdg/menus/mate-applications.menu \
|
|
${PKG_SYSCONFDIR}/xdg/menus/mate-applications.menu
|
|
CONF_FILES+= ${PREFIX}/share/examples/mate-menus/xdg/menus/mate-settings.menu \
|
|
${PKG_SYSCONFDIR}/xdg/menus/mate-settings.menu
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|