Subject: pkg/34213: /emulators/snes9x
To: None <,,>
From: Gilles Dauphin <>
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

System: SunOS 5.10 Generic_Patch_118844-30 i86pc


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


bmake patch
and look at end of dsp1.h, dsp3emu.cpp, dsp4emu.cpp.


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"

Please help the boy i am ;)