Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 05:50:25 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3b024db732b3 - main - archivers/lxqt-archiver: Fix unzip dependency
Message-ID:  <202409100550.48A5oPYE050966@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b024db732b302723f8ed31d820d9c8610439ce7

commit 3b024db732b302723f8ed31d820d9c8610439ce7
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-09-10 05:45:52 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-09-10 05:45:52 +0000

    archivers/lxqt-archiver: Fix unzip dependency
    
    - Add unzip dependency when OSVERSION is less of 14.1
    - Bump PORTREVISION
    
    PR:             280217
    Reported by:    Kevin Reinholz <kreinholz at_ gmail.com>
---
 archivers/lxqt-archiver/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/archivers/lxqt-archiver/Makefile b/archivers/lxqt-archiver/Makefile
index 6404616815df..7dab0a247fd3 100644
--- a/archivers/lxqt-archiver/Makefile
+++ b/archivers/lxqt-archiver/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lxqt-archiver
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	LXQT
 
@@ -13,8 +14,7 @@ LIB_DEPENDS=	libfm-qt6.so:x11/libfm-qt6 \
 		libjson-glib-1.0.so:devel/json-glib \
 		libmenu-cache.so:x11/menu-cache \
 		libexif.so:graphics/libexif
-RUN_DEPENDS=	gtar:archivers/gtar \
-		unzip:archivers/unzip
+RUN_DEPENDS=	gtar:archivers/gtar
 
 USES=		cmake compiler:c++17-lang desktop-file-utils lxqt:2 perl5 \
 		pkgconfig tar:xz gnome qt:6 xorg
@@ -24,4 +24,10 @@ USE_QT=		tools:build base:run
 USE_LXQT=	buildtools2 libfmqt6 lxqt
 USE_XORG=	xcb
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1400504
+RUN_DEPENDS+=	unzip:archivers/unzip
+.endif
+
+.include <bsd.port.post.mk>



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