Subject: pkg/4926: gmake pkg's Makefile is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: netbsd-bugs
Date: 01/31/1998 16:57:05
>Number: 4926
>Category: pkg
>Synopsis: gmake pkg's Makefile is broken
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 31 08:05:04 1998
>Last-Modified:
>Originator: Jaromir Dolecek
>Organization:
ICS MU, Brno, Czech Republic
>Release: 1.3
>Environment:
System: NetBSD saruman.ics.muni.cz 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N13/usr/src/sys/arch/i386/compile/SARUMAN i386
>Description:
Package won't build, Makefile uses OPSYS in if statement
before it's defined.
>How-To-Repeat:
cd /usr/pkgsrc/devel/gmake
make
>Fix:
Maybe there is some better solution - this works, anyway ;-)
*** Makefile.orig Sat Jan 31 16:56:07 1998
--- Makefile Sat Jan 31 16:56:09 1998
***************
*** 14,19 ****
--- 14,20 ----
MAINTAINER= packages@netbsd.org
+ OPSYS != uname -s
.if (${OPSYS} == "NetBSD")
BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
.endif
>Audit-Trail:
>Unformatted: