Subject: pkg/14009: net/mtr depends on GTK, although it has also a ncurses-Interface
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Moll <kvedulv@kvedulv.de>
List: netbsd-bugs
Date: 09/19/2001 12:54:25
>Number:         14009
>Category:       pkg
>Synopsis:       mtr depends on GTK, although it has also a ncurses-Interface
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 19 03:55:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Moll
>Release:        1.5.1 with supped pkgsrc of 20010918
>Organization:
>Environment:
System: NetBSD darkthrone 1.5.1 NetBSD 1.5.1 (Kvedulv) #0: Fri Jun 29 14:04:20 CEST 2001 mmoll@darkthrone:/usr/src/sys/arch/sparc/compile/Kvedulv sparc

>Description:
mtr depends on GTK, although it has also a ncurses-Interface. On my box
no X ist installed, so the build would fail.

>How-To-Repeat:

>Fix:

I simply deleted the line
.include "../../x11/gtk/buildlink.mk"
in the Makefile but that's not a real fix.

In the FreeBSD-port the Makefile look like this:

WANT_GTK=       yes

.if defined(HAVE_GTK)
USE_XLIB=       yes
USE_GTK=        yes
[...]

If possible something similar should be used in pkgsrc.
>Release-Note:
>Audit-Trail:
>Unformatted: