Subject: pkg/13062: apcupsd requires gnu make
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/28/2001 21:59:08
>Number:         13062
>Category:       pkg
>Synopsis:       apcupsd requires gnu make
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 28 18:58:00 PDT 2001
>Originator:     Joel N. Weber II
>Release:        netbsd-1.5
Gratuitous Organization for Gratuitous Software Enhancement
The kernel is from cvs, the userland is from 1.5, pkgsrc is recent but
I forget the exact vintage.

System: NetBSD service-entrance 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (SERVICE_ENTRANCE) #0: Fri May 25 01:16:34 EDT 2001 nemo@xanthine:/usr/src/sys/arch/i386/compile/SERVICE_ENTRANCE i386

If you try to build and install apcupsd with BSD make, it works fine until
it gets here.

service-entrance# /usr/bin/make install
Creating installation directories...
/bin/sh ./mkinstalldirs /usr/pkg/sbin /usr/pkg/man/man8
Installing apcupsd binary...
install -c -s -o root -g wheel -m 555 ./apcupsd /usr/pkg/sbin/apcupsd
Installing apcaccess binary...
install -c -s -o root -g wheel -m 555 ./apcaccess /usr/pkg/sbin/apcaccess
Installing powersc script...
install -c -o root -g wheel -m 555 installs/powersc /usr/pkg/sbin/powersc
Installing manual page...
install -c -o root -g wheel -m 444 ./doc/apcupsd.8 /usr/pkg/man/man8/apcupsd.8
Installing language catalogs...
/usr/bin/make -C po install
make: illegal option -- C
usage: make [-Beiknqrst] [-D variable] [-d flags] [-f makefile ]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [variable=value] [target ...]
*** Error code 2



use gnu make, or get the Makefile patched appropriately.