sysutils/unetbootin: switch from p7zip to 7-zip

PR:		260866, 261569
Approved by:	danfe@ (maintainer)
This commit is contained in:
Max Brazhnikov
2022-02-08 20:38:33 +03:00
parent 5bb882788c
commit d187db4415
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
PORTNAME= unetbootin
PORTVERSION= 702
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
@@ -12,7 +12,7 @@ COMMENT= Bootable Live USB creator for various Linux distributions
LICENSE= GPLv2+
RUN_DEPENDS= 7z:archivers/p7zip \
RUN_DEPENDS= 7zz:archivers/7-zip \
syslinux:sysutils/syslinux \
mke2fs:sysutils/e2fsprogs

View File

@@ -6,7 +6,7 @@
#endif // Q_OS_LINUX
+#ifdef Q_OS_FREEBSD
+ syslinuxcommand = locatecommand("syslinux", tr("FAT32-formatted USB drive"), "syslinux");
+ sevzcommand = locatecommand("7z", tr("either"), "p7zip");
+ sevzcommand = locatecommand("7zz", tr("either"), "7-zip");
+ mke2fscommand = locatecommand("mke2fs", tr("LiveUSB persistence"), "e2fsprogs");
+#endif // Q_OS_FREEBSD
ubntmpf = QDir::toNativeSeparators(QString("%1/").arg(QDir::tempPath()));