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.
40 lines
1.7 KiB
Makefile
40 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2020/08/24 04:41:40 gutteridge Exp $
|
|
|
|
PKGREVISION= 2
|
|
.include "../../meta-pkgs/mate/Makefile.common"
|
|
|
|
DISTNAME= mate-user-share-${VERSION:R}.0
|
|
CATEGORIES= net
|
|
|
|
COMMENT= MATE user-level file sharing
|
|
|
|
DEPENDS+= ${APACHE_PKG_PREFIX}-dnssd>=0.6:../../www/ap22-dnssd
|
|
TOOL_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
|
|
TOOL_DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2 # for xmllint
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
|
|
CONFIGURE_ARGS+= --with-httpd=${BUILDLINK_PREFIX.apache}/sbin/httpd
|
|
CONFIGURE_ARGS+= --with-modules-path=${BUILDLINK_PREFIX.apache}/lib/httpd
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFBASEDIR}/xdg/autostart
|
|
CONF_FILES+= ${PREFIX}/share/examples/${PKGBASE}/xdg/autostart/mate-user-share-obexftp.desktop \
|
|
${PKG_SYSCONFBASEDIR}/xdg/autostart/mate-user-share-obexftp.desktop
|
|
CONF_FILES+= ${PREFIX}/share/examples/${PKGBASE}/xdg/autostart/mate-user-share-obexpush.desktop \
|
|
${PKG_SYSCONFBASEDIR}/xdg/autostart/mate-user-share-obexpush.desktop
|
|
CONF_FILES+= ${PREFIX}/share/examples/${PKGBASE}/xdg/autostart/mate-user-share-webdav.desktop \
|
|
${PKG_SYSCONFBASEDIR}/xdg/autostart/mate-user-share-webdav.desktop
|
|
|
|
.include "../../devel/glib2/schemas.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../sysutils/caja/buildlink3.mk"
|
|
.include "../../audio/libcanberra/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../sysutils/libnotify/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
.include "../../x11/libunique/buildlink3.mk"
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|