Subject: pkg/12358: Amaya does not compile on 1.4.x (with fix)
To: None <gnats-bugs@gnats.netbsd.org>
From: Olaf Seibert <rhialto@polderland.nl>
List: netbsd-bugs
Date: 03/08/2001 14:00:35
>Number: 12358
>Category: pkg
>Synopsis: Amaya does not compile on 1.4.x (with fix)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 08 05:01:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Olaf 'Rhialto' Seibert
>Release: Amaya's Makefile,v 1.4 2001/02/17 17:21:40
>Organization:
>Environment:
System: NetBSD klei.intern.polderland.nl 1.4.2 NetBSD 1.4.2 (KIELDRECHT) #11: Wed Jul 19 14:00:31 CEST 2000 root@kieldrecht:/usr/src/sys/arch/i386/compile/KIELDRECHT i386
>Description:
When compiling the Amaya pkg, <wchar.h> is wanted, but it is
not present in NetBSD 1.4.x. <wchar.h> is present in 1.5.
>How-To-Repeat:
NetBSD-1.4.2$ cd pkgsrc/www/amaya && make
>Fix:
I copied <wchar.h> from 1.5 to /usr/local/include and did a
make CFLAGS=-I/usr/local/include. To my surprise, the #defines
it depends on are already available.
I imagine a better solution would be to include the file in
pkgsrc/www/amaya/files (it is fairly short), and do something
like CFLAGS += -I${FILESDIR} in the Makefile, if required.
-Olaf.
--
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/ land.nl --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp
>Release-Note:
>Audit-Trail:
>Unformatted: