aboutsummaryrefslogtreecommitdiff
path: root/deskutils/cfiles
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-05-27 20:52:31 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-05-27 20:52:31 +0000
commitf5bc43a4c14c40725520a3515ba3ed7f6c3dfba6 (patch)
treed50222c4b03cb07a4996f13f7928258afa38ec41 /deskutils/cfiles
parente7e5572fcbc4f1447926851d36ab93b845e984a9 (diff)
downloadports-f5bc43a4c14c40725520a3515ba3ed7f6c3dfba6.tar.gz
ports-f5bc43a4c14c40725520a3515ba3ed7f6c3dfba6.zip
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
Notes
Notes: svn path=/head/; revision=536718
Diffstat (limited to 'deskutils/cfiles')
-rw-r--r--deskutils/cfiles/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/deskutils/cfiles/Makefile b/deskutils/cfiles/Makefile
index c55dfaa33bf5..8fb6e246d594 100644
--- a/deskutils/cfiles/Makefile
+++ b/deskutils/cfiles/Makefile
@@ -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>