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.
27 lines
759 B
Makefile
27 lines
759 B
Makefile
# $NetBSD: Makefile,v 1.22 2020/08/24 04:41:41 gutteridge Exp $
|
|
|
|
PKGREVISION= 2
|
|
.include "../../meta-pkgs/mate/Makefile.common"
|
|
|
|
DISTNAME= mate-sensors-applet-${VERSION:R}.0
|
|
CATEGORIES= sysutils
|
|
|
|
COMMENT= MATE Sensors applets
|
|
|
|
TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt # for xsltproc
|
|
|
|
PLIST_VARS+= netbsd
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --enable-netbsd
|
|
PLIST.netbsd= yes
|
|
.endif
|
|
|
|
.include "../../devel/glib2/schemas.mk"
|
|
|
|
.include "../../x11/mate-panel/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../sysutils/libnotify/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|