Subject: pkg/9882: x11/scwm fails to properly include devel/readline
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mw34@cornell.edu>
List: netbsd-bugs
Date: 04/13/2000 23:22:12
>Number:         9882
>Category:       pkg
>Synopsis:       x11/scwm fails to properly include devel/readline
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 13 23:23:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300
>Description:

x11/scwm (0.9) (from pkgsrc.tar.gz dated Apr 8, 2000) fails to properly include devel/readline:

Making all in scwmrepl
gmake[2]: Entering directory `/mnt/bigdrive/pkgsrc/x11/scwm/work/scwm-0.9/utilit
ies/scwmrepl'
cc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include  -O2 -c scwmrepl
.c
scwmrepl.c:25: readline/readline.h: No such file or directory
scwmrepl.c:27: readline/history.h: No such file or directory
gmake[2]: *** [scwmrepl.o] Error 1
gmake[2]: Leaving directory `/mnt/bigdrive/pkgsrc/x11/scwm/work/scwm-0.9/utiliti
es/scwmrepl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/mnt/bigdrive/pkgsrc/x11/scwm/work/scwm-0.9/utiliti
es'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
>How-To-Repeat:

Extract pkgsrc.tar.gz from Apr 8, 2000
cd x11/scwm
make
>Fix:

Add to x11/scwm/Makefile:
DEPENDS+=       readline-*:../../devel/readline

Also, add -I/usr/pkg/include when compiling scwmrepl.c
>Release-Note:
>Audit-Trail:
>Unformatted: