Subject: bin/1434: Banner not build automatically and won't build.
To: None <gnats-bugs@gnats.netbsd.org>
From: Andrew Gillham <gillham@Digitron.COM>
List: netbsd-bugs
Date: 09/04/1995 22:57:47
>Number:         1434
>Category:       bin
>Synopsis:       Banner not build automatically and won't build.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep  4 23:20:02 1995
>Last-Modified:
>Originator:     Andrew Gillham
>Organization:
Nope!
============================ Real 32bit multi-tasking UN*X System
Andrew Gillham             | TCP/IP,NFS,PPP,4.4BSD-lite,multi-user
gillham@andrews.edu        | i386,sparc,alpha,mac68k,amiga,others
LAN/WAN/NW/UN*X specialist |   ---> http://www.NetBSD.org <---
        'Free the daemon in your computer, NetBSD'
>Release:        Sept 2, 1995
>Environment:
System: NetBSD badboy 1.0A NetBSD 1.0A (BADBOY) #2: Mon Sep 4 03:51:44 EDT 1995 root@badboy:/usr/src/sys/arch/i386/compile/BADBOY i386


>Description:
	/usr/src/usr.bin/banner is not defined in /usr/src/usr.bin/Makefile
	under SUBDIR, so it is not built automatically.
	/usr/src/usr.bin/banner/Makefile does not define SRCS so chset.c is
	not automatically linked in.
>How-To-Repeat:
	cd to /usr/src/usr.bin and do 'make' and banner is not built.
	cd to /usr/src/usr.bin/banner and do 'make' and it fails to build.
>Fix:
	A patch to /usr/src/usr.bin/Makefile to add 'banner' to SUBDIR
	A patch to /usr/src/usr.bin/banner/Makefile to add a correct SRCS
	line.

*** Makefile.orig	Mon Sep  4 22:44:44 1995
--- Makefile	Mon Sep  4 22:48:20 1995
***************
*** 1,7 ****
  #	from: @(#)Makefile	5.8.1.1 (Berkeley) 5/8/91
  #	$Id: Makefile,v 1.52 1995/07/24 04:31:55 cgd Exp $
  
! SUBDIR=	apply apropos asa at basename bdes biff cal calendar cap_mkdb \
  	checknr chflags chpass cksum cmp col colcrt colrm column comm \
  	compress crontab ctags cut dirname du \
  	env error expand false file find finger fmt fold fpr from \
--- 1,7 ----
  #	from: @(#)Makefile	5.8.1.1 (Berkeley) 5/8/91
  #	$Id: Makefile,v 1.52 1995/07/24 04:31:55 cgd Exp $
  
! SUBDIR=	apply apropos asa at banner basename bdes biff cal calendar cap_mkdb \
  	checknr chflags chpass cksum cmp col colcrt colrm column comm \
  	compress crontab ctags cut dirname du \
  	env error expand false file find finger fmt fold fpr from \

-----cut here-----

*** Makefile.orig	Mon Sep  4 22:51:42 1995
--- Makefile	Mon Sep  4 22:51:03 1995
***************
*** 1,6 ****
--- 1,7 ----
  #	@(#)Makefile	8.1 (Berkeley) 6/6/93
  
  PROG=	banner
+ SRCS=	banner.c chset.c
  MAN6=	banner.0
  
  .include <bsd.prog.mk>

>Audit-Trail:
>Unformatted: