Subject: pkg/7615: ncftp does not find ncurses with nonstandard LOCALBASE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nocturne@arepa.com>
List: netbsd-bugs
Date: 05/20/1999 15:51:03
>Number:         7615
>Category:       pkg
>Synopsis:       ncftp does not find ncurses with nonstandard LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 20 15:50:01 1999
>Last-Modified:
>Originator:     Eric Mumpower
>Organization:
Arepa
	
>Release:        stock NetBSD 1.4 <NetBSD-current source date>
>Environment:
	
System: NetBSD dr-teeth 1.4 NetBSD 1.4 (TEETH) #3: Mon May 17 13:15:15 PDT 1999 root@dr-teeth:/usr/src/sys/arch/i386/compile/TEETH i386


>Description:

It seems that, when building ncftp, if you are consistently using a
nonstandard LOCALBASE (like "/usr/local"), ncurses goes silently
unfound by ncftp's configure script, and ncftp is built and installed
without ncurses, even though, after installing, the NetBSD pkg system
thinks that it depends on it.

This bug may not fall within the scope of the NetBSD package project,
but it seems it's at least worth a bit of documentation someplace or
other.

	
>How-To-Repeat:

If one's /etc/mk.conf consists solely of the line
"LOCALBASE=/usr/local" (thus setting the pkg prefix to /usr/local
instead of /usr/pkg), and then one builds and installs ncurses, and
then builds and installs ncftp, ncftp's configure script apparently
does not find ncurses in /usr/local.

And so ncftp builds without curses support, and will happily install
thus, even though the NetBSD pkg system will at this point claim that
ncftp depends on ncurses.

	
>Fix:
Unknown whether this deserves a fix. But I thought I'd point it out.
	
>Audit-Trail:
>Unformatted: