Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2020 20:52:31 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536718 - head/deskutils/cfiles
Message-ID:  <202005272052.04RKqVH1053790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed May 27 20:52:31 2020
New Revision: 536718
URL: https://svnweb.freebsd.org/changeset/ports/536718

Log:
  deskutils/cfiles: Remove the runtime dependency on textproc/fzf on powerpc because Go isn't available on powerpc
  
  PR:		243616
  Reported by:	canardo909@gmx.com

Modified:
  head/deskutils/cfiles/Makefile

Modified: head/deskutils/cfiles/Makefile
==============================================================================
--- head/deskutils/cfiles/Makefile	Wed May 27 20:33:53 2020	(r536717)
+++ head/deskutils/cfiles/Makefile	Wed May 27 20:52:31 2020	(r536718)
@@ -4,6 +4,7 @@ PORTNAME=	cfiles
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.8-6
 DISTVERSIONSUFFIX=	-g327d47f
+PORTREVISION=	1
 CATEGORIES=	deskutils
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,7 +16,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${LOCALBASE}/libexec/w3m/w3mimgdisplay:www/w3m-img \
 		atool:archivers/atool \
 		bash:shells/bash \
-		fzf:textproc/fzf \
 		pdftoppm:graphics/poppler-utils
 
 USES=		shebangfix
@@ -53,4 +53,10 @@ do-install:
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/cfiles.1 ${STAGEDIR}${MAN5PREFIX}/man/man1
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "powerpc" # textproc/fzf isn't available on powerpc because go isn't available there
+RUN_DEPENDS+=	fzf:textproc/fzf
+.endif
+
+.include <bsd.port.post.mk>



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