Subject: pkg/6773: Do not depend misc/mc on libslang-1.2.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@primenet.com.au>
List: netbsd-bugs
Date: 01/09/1999 07:44:06
>Number: 6773
>Category: pkg
>Synopsis: misc/mc doesn't depend on libslang-1.2.2
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 8 23:50:02 1999
>Last-Modified:
>Originator: Geoff C. Wing
>Organization:
Geoff Wing <gcw@pobox.com> Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/
>Release: 19990108
>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"
>Audit-Trail:
>Unformatted: