Bug 183170 - misc/mc configure fails with ncurses option selected
Summary: misc/mc configure fails with ncurses option selected
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Max Khon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 08:30 UTC by bsd
Modified: 2013-11-02 22:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bsd 2013-10-22 08:30:00 UTC
After upgrade of misc/mc to 4.8.10, there is new option 'ncurses' in option group 'screen'. When option 'slang' was not selected in older version installed (as in 4.8.8 in my case) and I configure port with said new option, 'ncurses', configure fails with following:

checking for ncurses/ncurses.h and ncurses/term.h... no
configure: error: ncurses header not found
===>  Script "configure" failed unexpectedly.
Please report the problem to fjoe@FreeBSD.org [maintainer] and attach the
"/data/workdir/9-i386/usr/ports/misc/mc/work/mc-4.8.10/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/sbin/pkg_info -Ea).
*** [do-configure] Error code 1

Fix: 

Install devel/ncurses - I think this is forgotten dependency for option 'ncurses'
How-To-Repeat: I believe it should appear if you just try to build 4.8.10 version of misc/mc port and select 'ncurses' option and unselect option 'slang' in group 'screen'. This could slip throug as 'slang' is selected by default.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-22 08:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->fjoe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-02 22:08:10 UTC
Author: nemysis
Date: Sat Nov  2 22:08:01 2013
New Revision: 332543
URL: http://svnweb.freebsd.org/changeset/ports/332543

Log:
  - Change SMB and NCURSES
  - Change pkg-plist, fix MAN
  
  PR:		ports/183170 ports/183284 ports/183402
  Submitted by:	various
  Approved by:	pawel / wg (mentors, implicit)

Modified:
  head/misc/mc/Makefile
  head/misc/mc/pkg-plist

Modified: head/misc/mc/Makefile
==============================================================================
--- head/misc/mc/Makefile	Sat Nov  2 21:30:51 2013	(r332542)
+++ head/misc/mc/Makefile	Sat Nov  2 22:08:01 2013	(r332543)
@@ -45,8 +45,9 @@ NLS_USES=		gettext
 
 SLANG_LIB_DEPENDS=	libslang.so:${PORTSDIR}/devel/libslang2
 
-SMB_CONFIGURE_ENABLE=	vfs-smb configdir=${LOCALBASE}/etc \
-			codepagedir=${LOCALBASE}/etc/codepages
+SMB_CONFIGURE_ENABLE=	vfs-smb
+SMB_CONFIGURE_ON=	--with-smb-configdir=${LOCALBASE}/etc \
+			--with-smb-codepagedir=${LOCALBASE}/etc/codepages
 
 SUBSHELL_CONFIGURE_WITH=	subshell
 
@@ -77,7 +78,7 @@ CONFIGURE_ARGS+=--with-screen=slang --wi
 .endif
 
 .if ${PORT_OPTIONS:MNCURSES}
-CONFIGURE_ARGS+=--with-screen=ncurses --with-ncurses-includes=${LOCALBASE}/include
+CONFIGURE_ARGS+=--with-screen=ncurses
 .endif
 
 post-patch:

Modified: head/misc/mc/pkg-plist
==============================================================================
--- head/misc/mc/pkg-plist	Sat Nov  2 21:30:51 2013	(r332542)
+++ head/misc/mc/pkg-plist	Sat Nov  2 22:08:01 2013	(r332543)
@@ -2,7 +2,7 @@ bin/mc
 bin/mcdiff
 %%EDITOR%%bin/mcedit
 bin/mcview
-%%EDITOR%%etc/mc/edit.indent.rc
+etc/mc/edit.indent.rc
 etc/mc/filehighlight.ini
 etc/mc/mc.default.keymap
 etc/mc/mc.emacs.keymap
@@ -77,15 +77,15 @@ libexec/mc/mc-wrapper.csh
 libexec/mc/mc-wrapper.sh
 libexec/mc/mc.csh
 libexec/mc/mc.sh
-man/es/man1/mc.1.gz
-man/hu/man1/mc.1.gz
-man/it/man1/mc.1.gz
+%%NLS%%man/es/man1/mc.1.gz
+%%NLS%%man/hu/man1/mc.1.gz
+%%NLS%%man/it/man1/mc.1.gz
 man/man1/mc.1.gz
 man/man1/mcedit.1.gz
 man/man1/mcview.1.gz
-man/pl/man1/mc.1.gz
-man/ru/man1/mc.1.gz
-man/sr/man1/mc.1.gz
+%%NLS%%man/pl/man1/mc.1.gz
+%%NLS%%man/ru/man1/mc.1.gz
+%%NLS%%man/sr/man1/mc.1.gz
 %%NLS%%share/locale/az/LC_MESSAGES/mc.mo
 %%NLS%%share/locale/be/LC_MESSAGES/mc.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/mc.mo
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2013-11-02 22:28:46 UTC
State Changed
From-To: open->closed

Commited, fixed misc/mc. Thanks for the Report!