NetBSD Problem Report #6773

Received: (qmail 24441 invoked from network); 9 Jan 1999 07:46:56 -0000
Message-Id: <19990109074406.26242.qmail@primenet.com.au>
Date: 9 Jan 1999 07:44:06 -0000
From: mason@primenet.com.au
Reply-To: mason@primenet.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: Do not depend misc/mc on libslang-1.2.2
X-Send-Pr-Version: 3.95

>Number:         6773
>Category:       pkg
>Synopsis:       misc/mc doesn't depend on libslang-1.2.2
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    tv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 08 23:50:02 +0000 1999
>Closed-Date:    Sun Mar 14 23:04:18 +0000 1999
>Last-Modified:  Sun Mar 14 23:05:33 +0000 1999
>Originator:     Geoff C. Wing
>Release:        19990108
>Organization:
Geoff Wing   <gcw@pobox.com>            Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/
>Environment:
System: NetBSD coral.primenet.com.au 1.3I NetBSD 1.3I (CORAL) #0: Wed Dec 30 00:18:41 EST 1998 mason@coral.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/CORAL i386


>Description:
	The mc (Midnight Commander) package provides its own hacked version
	of slang. 
	1) It doesn't require libslang-1.2.2
	2) It doesn't want libslang-1.2.2 (Its version of slang is older
	   (ver 9938) and has procedure names which are incompatible with
	   versions > 10000.  libslang-1.2.2 is ver 10202)

>How-To-Repeat:
	build pkg misc/mc

	watch it fail.
>Fix:

*** /usr/pkgsrc/misc/mc/Makefile	Mon Oct  5 21:26:02 1998
--- /obj/pkgsrc/misc/mc/Makefile	Sat Jan  9 18:40:45 1999
***************
*** 10,25 ****
  MAINTAINER=		packages@netbsd.org
  HOMEPAGE=		http://www.gnome.org/mc/

- DEPENDS+=		libslang-1.2.2:../../devel/libslang
- 
  GNU_CONFIGURE=		YES
  # XXX the cat-id-tbl is not up to date, so the catgets is broken.
  CONFIGURE_ARGS+=	--without-catgets --with-netrc --with-slang \
  			--without-x --without-gnome --without-tk

! # Funny stuff to get this to use the system libslang.
! CONFIGURE_ENV+=		LIBS="-lm -ltermcap" CPPFLAGS="-I${LOCALBASE}/include"
! CFLAGS+=		-Dunix -I${LOCALBASE}/include
! LDFLAGS+=		-L${LOCALBASE}/lib

  .include "../../mk/bsd.pkg.mk"
--- 10,22 ----
  MAINTAINER=		packages@netbsd.org
  HOMEPAGE=		http://www.gnome.org/mc/

  GNU_CONFIGURE=		YES
  # XXX the cat-id-tbl is not up to date, so the catgets is broken.
  CONFIGURE_ARGS+=	--without-catgets --with-netrc --with-slang \
  			--without-x --without-gnome --without-tk

! # Reminder: don't system libslang yet.
! CONFIGURE_ENV+=		LIBS="-lm -ltermcap"
! CFLAGS+=		-Dunix

  .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: tv 
State-Changed-When: Sat Jan 9 08:16:15 PST 1999 
State-Changed-Why:  
`mybug'.  I plan on updating mc, anyway, as it's horribly out of date. 


Responsible-Changed-From-To: gnats-admin->tv 
Responsible-Changed-By: tv 
Responsible-Changed-When: Sat Jan 9 08:16:15 PST 1999 
Responsible-Changed-Why:  
`mybug'.  I plan on updating mc, anyway, as it's horribly out of date. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: tron 
State-Changed-When: Sun Mar 14 15:04:18 PST 1999 
State-Changed-Why:  
The new "mc-4.5.25" package has the required dependence entry. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.