From nobody@FreeBSD.org  Tue Oct 22 07:28:27 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 37BA9394
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Oct 2013 07:28:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 241242454
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Oct 2013 07:28:27 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9M7SQOt022509
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 22 Oct 2013 07:28:26 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9M7SQt8022504;
	Tue, 22 Oct 2013 07:28:26 GMT
	(envelope-from nobody)
Message-Id: <201310220728.r9M7SQt8022504@oldred.freebsd.org>
Date: Tue, 22 Oct 2013 07:28:26 GMT
From: Milan Obuch <bsd@dino.sk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: misc/mc configure fails with ncurses option selected
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183170
>Category:       ports
>Synopsis:       misc/mc configure fails with ncurses option selected
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fjoe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 22 07:30:00 UTC 2013
>Closed-Date:    Sat Nov 02 22:28:47 UTC 2013
>Last-Modified:  Sat Nov 02 22:28:47 UTC 2013
>Originator:     Milan Obuch
>Release:        8.4, 9.2, 10.0, 11
>Organization:
>Environment:
>Description:
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

>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.
>Fix:
Install devel/ncurses - I think this is forgotten dependency for option 'ncurses'

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->fjoe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Oct 22 07:30:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183170 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183170: commit references a PR
Date: Sat,  2 Nov 2013 22:08:10 +0000 (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"
 
State-Changed-From-To: open->closed 
State-Changed-By: nemysis 
State-Changed-When: Sat Nov 2 22:28:46 UTC 2013 
State-Changed-Why:  
Commited, fixed misc/mc. Thanks for the Report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183170 
>Unformatted:
