Subject: pkg/21539: midnight commander: problems with pkgsrc libslang
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wilbour@linuxfaq.cz>
List: netbsd-bugs
Date: 05/11/2003 20:48:44
>Number:         21539
>Category:       pkg
>Synopsis:       midnight commander: problems with pkgsrc libslang
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 20:49:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     pavel arnost
>Release:        1.6.1
>Organization:
>Environment:
NetBSD arnost.clnet.cz 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Sat May  3 23:59:45 CEST 2003     id9848949@arnost.clnet.cz:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
there are problems with mc, if it's linked against pkgsrc libslang...under wscons/wsvt25 colors are strange and under xterm there's garbage instead of menubar

>How-To-Repeat:
build midnight commander package from 1.6.1 pkgsrc

>Fix:
using slang that is included with mc instead of pkgsrced-one solves this problem

cvs diff against 1.6.1 pkgsrc:

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/mc/Makefile.common,v
retrieving revision 1.18
diff -u -r1.18 Makefile.common
--- Makefile.common     2003/01/10 07:52:18     1.18
+++ Makefile.common     2003/05/11 20:38:48
@@ -20,7 +20,7 @@
 
 GNU_CONFIGURE=         # defined
 CONFIGURE_ARGS+=       --without-included-gettext
-CONFIGURE_ARGS+=       --with-netrc --with-slang
+CONFIGURE_ARGS+=       --with-netrc --with-included-slang
 CONFIGURE_ARGS+=       --with-samba
 CONFIGURE_ARGS+=       --without-tk
 
@@ -45,5 +45,4 @@
 
 .include "../../devel/gettext-lib/buildlink2.mk"
 .include "../../devel/glib/buildlink2.mk"
-.include "../../devel/libslang/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"

>Release-Note:
>Audit-Trail:
>Unformatted: