Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 07:38:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550473 - head/misc/shared-mime-info
Message-ID:  <202009290738.08T7cma7086915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep 29 07:38:48 2020
New Revision: 550473
URL: https://svnweb.freebsd.org/changeset/ports/550473

Log:
  Switch the dependencies from xmlto to minixmlto.
  
  This avoids a circular dependency on w3m when building w3m with INLINE_IMAGE option
  While here drop the now useless intltool [1]
  
  This also reduces the number of dependencies to build shared mime info, removing perl
  bash from the build dependencies
  
  Reported by:	mi@

Modified:
  head/misc/shared-mime-info/Makefile

Modified: head/misc/shared-mime-info/Makefile
==============================================================================
--- head/misc/shared-mime-info/Makefile	Tue Sep 29 07:16:43 2020	(r550472)
+++ head/misc/shared-mime-info/Makefile	Tue Sep 29 07:38:48 2020	(r550473)
@@ -13,18 +13,19 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	gmake:devel/gmake \
 		itstool:textproc/itstool \
-		xmlto:textproc/xmlto
+		minixmlto:textproc/minixmlto
 
 USES=		gettext gnome localbase meson pathfix pkgconfig shebangfix tar:xz
 CONFIGURE_ARGS=	-Dupdate-mimedb=false \
 		-Dxdgmime-path=${WRKSRC}/src/xdgmime
-USE_GNOME=	glib20 libxml2 intltool
+USE_GNOME=	glib20 libxml2
 USE_GITLAB=	YES
 GL_SITE=	https://gitlab.freedesktop.org/
 GL_ACCOUNT=	xdg
 GL_PROJECT=	shared-mime-info
 GL_COMMIT=	ef58b2b2f7ad4070171c6e45e3b3764daa3ff2c1
 GL_TUPLE=	xdg:xdgmime:6663a2288d11b37bc07f5a01b4b85dcd377787e1:xdgmime/src/xdgmime
+bash_CMD=	/bin/sh
 SHEBANG_FILES=	${WRKSRC}/data/freedesktop_generate.sh
 
 SUB_FILES=	pkg-install
@@ -34,6 +35,8 @@ MIMEDIRS=	${LOCALBASE}/share/mime \
 		${PREFIX}/share/mime
 MIMESUBDIRS=	application audio image inode message model multipart \
 		packages text video x-epoc x-content
+
+BINARY_ALIAS=	xmlto=minixmlto
 
 post-patch:
 	${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009290738.08T7cma7086915>