1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Danilo Egea Gondolfo 2020-10-15 13:47:54 +00:00
parent de105b8841
commit d0f208b8c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552416
2 changed files with 6 additions and 1 deletions

View File

@ -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' \

View File

@ -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