Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 00:19:12 +0800 (KRAST)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68925: [PATH] Support building of fMSX with BPP8
Message-ID:  <200407111619.i6BGJCN0001249@grosbein.pp.ru>
Resent-Message-ID: <200407111620.i6BGKJEH064644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68925
>Category:       ports
>Synopsis:       [PATH] Support building of fMSX with BPP8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 11 16:20:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Svyaz Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 4.10-STABLE FreeBSD 4.10-STABLE #4: Tue Jul 6 02:16:55 KRAST 2004 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386

>Description:
		Using BPP16/24/32 takes more CPU power to run fMSX
		that using BPP8. That makes sense for old machines like P-90.
		Unfortunately, a port doesn't support BPP8.

>How-To-Repeat:
		There is no way to build fMSX from ports with BPP8.

>Fix:

		The patch is for ports/emulators/fmsx/Makefile.

--- Makefile.orig	Sun Jul 11 23:42:10 2004
+++ Makefile	Sun Jul 11 23:42:54 2004
@@ -23,7 +23,8 @@
 RESTRICTED=	Legal status of distributed ROM images unclear
 WRKSRC=		${WRKDIR}/MSX
 
-OPTIONS=	BPP16 "With BPP16" Off \
+OPTIONS=	BPP8 "With BPP8" Off \
+		BPP16 "With BPP16" Off \
 		BPP24 "With BPP24" Off \
 		BPP32 "With BPP32 (see pkg-message)" On
 
@@ -38,6 +39,9 @@
 .endif
 .ifdef(WITH_BPP16)
 	${REINPLACE_CMD} -e 's/%%BPP%%/BPP16/' ${WRKSRC}/Makefile
+.endif
+.ifdef(WITH_BPP8)
+	${REINPLACE_CMD} -e 's/%%BPP%%/BPP8/' ${WRKSRC}/Makefile
 .endif
 
 do-install:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407111619.i6BGJCN0001249>