pkgsrc/x11/mate-session-manager/Makefile
gutteridge 4221beb477 mate*: remove unintentional linkage against pkgsrc gettext-libs
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.
2020-08-24 04:41:39 +00:00

41 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2020/08/24 04:41:42 gutteridge Exp $
PKGREVISION= 2
.include "../../meta-pkgs/mate/Makefile.common"
DISTNAME= mate-session-manager-${VERSION:R}.0
CATEGORIES= x11
COMMENT= MATE session manager
TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
TOOL_DEPENDS+= autoconf-archive-[0-9]*:../../devel/autoconf-archive
TOOL_DEPENDS+= mate-common>=${VERSION}:../../devel/mate-common
DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
USE_TOOLS+= autoreconf automake autoconf aclocal libtoolize
.include "../../graphics/MesaLib/features.mk"
PLIST_VARS+= glesv2
.if ${MESALIB_SUPPORTS_GLESv2} == "yes"
PLIST.glesv2= yes
.endif
pre-configure:
cd ${WRKSRC} && autoreconf -vi
.include "options.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"