Subject: pkg/31880: pkgsrc/graphics/mgl for NetBSD/hpcsh
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <oshimaya@sc.starcat.ne.jp>
List: pkgsrc-bugs
Date: 10/21/2005 16:44:00
>Number:         31880
>Category:       pkg
>Synopsis:       pkgsrc/graphics/mgl for NetBSD/hpcsh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 21 16:44:00 +0000 2005
>Originator:     Yasushi Oshima
>Release:        NetBSD/hpcsh 3.99.9
>Organization:
>Environment:
NetBSD jornada 3.99.9 NetBSD 3.99.9 (GENERIC) #0: Tue Oct 11 23:07:32 JST 2005 root@sweety:/export/current/daily/20051011/obj/hpcsh/sys/arch/hpcsh/compile/GENERIC hpcsh
>Description:
NetBSD/hpcsh-current can work graphics/mgl now because the wscons framebuffer and wsmouse works as well as hpcmips. 

>How-To-Repeat:

>Fix:
It works with NetBSD/hpcsh 3.99.9 on my HP Jornada690 and Hitachi PERSONA HPW-50PDA.

--- Makefile    1 Jun 2005 18:02:57 -0000       1.21
+++ Makefile    21 Oct 2005 16:12:11 -0000
@@ -30,7 +30,7 @@
 MGLFONTUTILS=  mgl_fontcreate.c
 MGLUTILS=      kill_mgl.sh mglcons.sh set_mgl.sh
 
-ONLY_FOR_PLATFORM=     *-*-arm *-*-i386 *-*-mipsel
+ONLY_FOR_PLATFORM=     *-*-arm *-*-i386 *-*-mipsel *-*-sh3el
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -40,7 +40,7 @@
        ${MV} ${WRKSRC}/utils/mglcons.sh.new ${WRKSRC}/utils/mglcons.sh
 
 post-configure:
-.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mipsel"
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "sh3el"
        @${MV} -f ${WRKSRC}/conf/config.mk-hpcmips ${WRKSRC}/conf/config.mk.tmp
 .else
        @${MV} -f ${WRKSRC}/conf/config.mk-netbsd-i386-x ${WRKSRC}/conf/config.mk.tmp