git: d37893d25e54 - main - misc/mc: handling of the port's options had been improved (+)
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Sep 22 06:32:43 UTC 2021
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d37893d25e54a580b0c7f9ceaef3f6a3814815da
commit d37893d25e54a580b0c7f9ceaef3f6a3814815da
Author: Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-09-22 06:26:32 +0000
Commit: Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-09-22 06:29:22 +0000
misc/mc: handling of the port's options had been improved (+)
- Use correct helper for X11 option, which is --with-x, not --enable-x
- Do not pass bogus --without-smb-foobar=... options when SMB support
is disabled
- Allow to build with Aspell support in the internal editor while here
PR: 258632
---
misc/mc/Makefile | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 60fe6d95024e..ea04ec6871d2 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mc
PORTVERSION= 4.8.27
+PORTREVISION= 1
CATEGORIES= misc shells
MASTER_SITES= http://ftp.midnight-commander.org/ \
https://ftp.osuosl.org/pub/midnightcommander/
@@ -24,18 +25,22 @@ CONFIGURE_ENV= ZIP=${LOCALBASE}/bin/zip UNZIP=${UNZIP_NATIVE_CMD}
PORTDOCS= AUTHORS FAQ HACKING MAINTAINERS NEWS README *.txt
-OPTIONS_DEFINE= DOCS EDITOR EXTATTR ICONV NLS SFTP SMB SUBSHELL X11
+OPTIONS_DEFINE= ASPELL DOCS EDITOR EXTATTR ICONV NLS SFTP SMB SUBSHELL X11
OPTIONS_DEFAULT= EDITOR ICONV SFTP SLANG SMB SUBSHELL X11
OPTIONS_SINGLE= SCREEN
OPTIONS_SINGLE_SCREEN= SLANG NCURSES
OPTIONS_SUB= yes
+ASPELL_DESC= Aspell support for internal editor
EDITOR_DESC= Build with internal editor
EXTATTR_DESC= Extended attributes support
SCREEN_DESC= Screen library
SFTP_DESC= Support for SFTP (via libssh)
SUBSHELL_DESC= Build with subshell support
+ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
+ASPELL_CONFIGURE_ENABLE=aspell
+
EDITOR_CONFIGURE_WITH= internal-edit
EXTATTR_LIB_DEPENDS= libe2p.so:sysutils/e2fsprogs
@@ -58,13 +63,13 @@ SLANG_LIB_DEPENDS= libslang.so:devel/libslang2
SLANG_CONFIGURE_ON= --with-screen=slang --with-slang-includes=${LOCALBASE}/include
SMB_CONFIGURE_ENABLE= vfs-smb
-SMB_CONFIGURE_WITH= smb-configdir=${LOCALBASE}/etc \
- smb-codepagedir=${LOCALBASE}/etc/codepages
+SMB_CONFIGURE_ON= --with-smb-configdir=${LOCALBASE}/etc \
+ --with-smb-codepagedir=${LOCALBASE}/etc/codepages
SUBSHELL_CONFIGURE_WITH=subshell
SUBSHELL_SUB_FILES= pkg-message
-X11_CONFIGURE_ENABLE= x
+X11_CONFIGURE_WITH= x
X11_USES= xorg
X11_USE= xorg=x11,xext
X11_VARS= CONFLICTS_INSTALL+="mc-nox11-[0-9]*"
More information about the dev-commits-ports-main
mailing list