Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 2020 13:47:54 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552416 - head/archivers/xarchiver
Message-ID:  <202010151347.09FDlsAQ062122@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Thu Oct 15 13:47:54 2020
New Revision: 552416
URL: https://svnweb.freebsd.org/changeset/ports/552416

Log:
  archivers/xarchiver: Fix build with DOCS disabled. The configure script is not properly handling the case when docs is not enabled. Regenerating the autotools files before building fixes the issue.
  
  PR:		249204
  Reported by:	Marko Cupac

Modified:
  head/archivers/xarchiver/Makefile
  head/archivers/xarchiver/pkg-plist

Modified: head/archivers/xarchiver/Makefile
==============================================================================
--- head/archivers/xarchiver/Makefile	Thu Oct 15 13:36:47 2020	(r552415)
+++ head/archivers/xarchiver/Makefile	Thu Oct 15 13:47:54 2020	(r552416)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xarchiver
 PORTVERSION=	0.5.4.15
+PORTREVISION=	1
 CATEGORIES=	archivers
 
 MAINTAINER=	danilo@FreeBSD.org
@@ -20,7 +21,7 @@ RUN_DEPENDS=	7zr:archivers/p7zip \
 		xdg-open:devel/xdg-utils \
 		zip:archivers/zip
 
-USES=		desktop-file-utils gmake gnome pkgconfig
+USES=		autoreconf desktop-file-utils gmake gnome libtool:build pkgconfig
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	ib
@@ -48,6 +49,7 @@ RAR_RUN_DEPENDS=	unrar:archivers/unrar \
 			rar:archivers/rar
 
 DOCS_USE=		GNOME=libxslt
+DOCS_CONFIGURE_ENABLE=	doc
 
 GTK2_CONFIGURE_ENABLE=	gtk2
 GTK2_USE=		GNOME=gtk20
@@ -55,6 +57,7 @@ GTK3_USE=		GNOME=gtk30
 
 NLS_USES=	gettext localbase
 NLS_USES_OFF=	gettext-tools
+NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \

Modified: head/archivers/xarchiver/pkg-plist
==============================================================================
--- head/archivers/xarchiver/pkg-plist	Thu Oct 15 13:36:47 2020	(r552415)
+++ head/archivers/xarchiver/pkg-plist	Thu Oct 15 13:47:54 2020	(r552416)
@@ -2,8 +2,10 @@ bin/xarchiver
 libexec/thunar-archive-plugin/xarchiver.tap
 man/man1/xarchiver.1.gz
 share/applications/xarchiver.desktop
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/ch01.html
 %%PORTDOCS%%%%DOCSDIR%%/ch01s01.html



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