pkgsrc/sysutils/caja-dropbox/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

27 lines
875 B
Makefile

# $NetBSD: Makefile,v 1.27 2020/08/24 04:41:41 gutteridge Exp $
# Makefile.common already includes python .mk files, so need to set this here
PYTHON_VERSIONS_INCOMPATIBLE= 27
PKGREVISION= 2
.include "../../meta-pkgs/mate/Makefile.common"
DISTNAME= caja-dropbox-${VERSION}
CATEGORIES= sysutils
COMMENT= Dropbox Caja extension
DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
CONFIGURE_ARGS+= ac_cv_path_PYTHON3=${PYTHONBIN}
REPLACE_PYTHON= caja-dropbox.in rst2man.py
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/tool.mk"
.include "../../sysutils/caja/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"