Subject: pkg/34213: /emulators/snes9x
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 08/16/2006 15:05:00
>Number: 34213
>Category: pkg
>Synopsis: /emulators/snes9x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 16 15:05:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
>Description:
In Makefile the sed tools use for files: dsp1.h dsp3emu.cpp dsp4emu.cpp
is /usr/pkg/bin/nbsed, but because prematured EOF in those files
(EOF is not EOLine in Solaris !!!) the SUBST does not work.
See the fix
>How-To-Repeat:
bmake patch
and look at end of dsp1.h, dsp3emu.cpp, dsp4emu.cpp.
>Fix:
I simply add to Makefile:
....
TOOLS_PLATFORM.sed = /usr/pkg/bin/gsed
SED= /usr/pkg/bin/gsed
SUBST_CLASSES+= nodos
...
but I don't know where to put the
.if ${OPSYS} == "SunOS"
....
.endif
Please help the boy i am ;)
Gilles