git: caf601941c85 - main - misc/vifm: Fix build when DOCS option is off
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Aug 2024 15:34:48 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=caf601941c8570b5c8c6a50778da7dfbf8a90a6b
commit caf601941c8570b5c8c6a50778da7dfbf8a90a6b
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-08-02 15:21:27 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-08-02 15:34:39 +0000
misc/vifm: Fix build when DOCS option is off
- Vim or perl is a requirement to build the program/port, regardless of
the user's choice to disable docs installation.
Replace vim with perl5 to reduce the list of (build) dependencies.
- Pet port(clippy|fmt)
- Bump PORTREVISION even if it is not strictly necessary.
PR: 279602
Reported by: Ivan <bsd@abinet.ru>
---
misc/vifm/Makefile | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/misc/vifm/Makefile b/misc/vifm/Makefile
index 4b1524cb1ad4..ea1f56142ade 100644
--- a/misc/vifm/Makefile
+++ b/misc/vifm/Makefile
@@ -1,7 +1,7 @@
PORTNAME= vifm
PORTVERSION= 0.13
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MAINTAINER= nivit@FreeBSD.org
@@ -11,18 +11,17 @@ WWW= https://vifm.info/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= desktop-file-utils gmake ncurses shebangfix
+USES= desktop-file-utils gmake ncurses perl5 shebangfix
USE_GITHUB= yes
+USE_PERL5= build
SHEBANG_FILES= data/vifm-media data/vifm-media-osx
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --without-gtk
-
CFLAGS+= -fcommon
-OPTIONS_DEFINE= DOCS
-# dependency to generate help tags
-DOCS_BUILD_DEPENDS= vim:editors/vim
+OPTIONS_DEFINE= DOCS
+
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
.include <bsd.port.mk>