From tobias.rehbein@web.de  Tue Jun 29 17:15:15 2010
Return-Path: <tobias.rehbein@web.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 93086106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jun 2010 17:15:15 +0000 (UTC)
	(envelope-from tobias.rehbein@web.de)
Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221])
	by mx1.freebsd.org (Postfix) with ESMTP id 1F6598FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jun 2010 17:15:14 +0000 (UTC)
Received: from smtp04.web.de  ( [172.20.0.225])
	by fmmailgate01.web.de (Postfix) with ESMTP id A5101161FE89F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jun 2010 19:15:13 +0200 (CEST)
Received: from [95.88.233.89] (helo=sushi.pseudo.local)
	by smtp04.web.de with asmtp (TLSv1:AES256-SHA:256)
	(WEB.DE 4.110 #4)
	id 1OTeOv-0005DB-00
	for FreeBSD-gnats-submit@freebsd.org; Tue, 29 Jun 2010 19:15:13 +0200
Received: from sushi.pseudo.local (localhost [127.0.0.1])
	by sushi.pseudo.local (8.14.3/8.14.3) with ESMTP id o5THFCW0012172
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 29 Jun 2010 19:15:12 +0200 (CEST)
	(envelope-from tobi@sushi.pseudo.local)
Received: (from tobi@localhost)
	by sushi.pseudo.local (8.14.3/8.14.3/Submit) id o5THFCpd012171;
	Tue, 29 Jun 2010 19:15:12 +0200 (CEST)
	(envelope-from tobi)
Message-Id: <201006291715.o5THFCpd012171@sushi.pseudo.local>
Date: Tue, 29 Jun 2010 19:15:12 +0200 (CEST)
From: Tobias Rehbein <tobias.rehbein@web.de>
Sender: tobias.rehbein@web.de
Reply-To: Tobias Rehbein <tobias.rehbein@web.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: games/scummvm (1.1.1) doesn't support SCUMM engine
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         148236
>Category:       ports
>Synopsis:       games/scummvm (1.1.1) doesn't support SCUMM engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lme
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 29 17:20:06 UTC 2010
>Closed-Date:    Sat Aug 07 13:59:32 UTC 2010
>Last-Modified:  Sat Aug 07 13:59:32 UTC 2010
>Originator:     Tobias Rehbein
>Release:        FreeBSD 8.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD sushi.pseudo.local 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #6: Sat May 29 14:03:04 CEST 2010 tobi@sushi.pseudo.local:/usr/obj/usr/src/sys/SUSHI i386


	
>Description:
        This is a funny bug and to be honest I am not sure if this only affects my machine.

        When building games/scummvm from ports I can't play any SCUMM based games as it is
        not supported by ScummVM - and ScummVM without SCUMM is weird ;)

        After digging a little I noticed that the `config.mk` generated by the configure script
        has a typo in it - Instead of ENABLE_SCUMM the variables are named ENABLE_SCMM*. I could not figure
        out why this accent is in there.

        I found no references to this behaviour on the web and therefore believe this is a FreeBSD issue -
        or an issue local to my machine.

        BTW: This issue was already  present with games/scummvm (1.0.0).

	
>How-To-Repeat:
	
        Find attached scummvm-make-configure.txt, a typescript of a `make configure` displaying the error
>Fix:
        I work around this issue using the attached `Makefile.local` - but this only fixes the symptons.

	

--- scummvm-make-configure.txt begins here ---
ports# cd /usr/ports/games/scummvm
ports# make configure
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for scummvm-1.1.1
===>  Extracting for scummvm-1.1.1
=> MD5 Checksum OK for scummvm-1.1.1.tar.bz2.
=> SHA256 Checksum OK for scummvm-1.1.1.tar.bz2.
===>  Patching for scummvm-1.1.1
===>   scummvm-1.1.1 depends on executable: nasm - found
===>   scummvm-1.1.1 depends on executable: gmake - found
===>   scummvm-1.1.1 depends on file: /usr/local/bin/sdl-config - found
===>   scummvm-1.1.1 depends on shared library: ogg.7 - found
===>   scummvm-1.1.1 depends on shared library: vorbis.4 - found
===>   scummvm-1.1.1 depends on shared library: mad.2 - found
===>   scummvm-1.1.1 depends on shared library: SDL-1.2.11 - found
===>  Configuring for scummvm-1.1.1
Running ScummVM configure...
Looking for C++ compiler... c++
Checking for compiler version... 4.2.1, ok
Checking endianness... little
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Compiling for x86... yes
Checking hosttype... freebsd8.0
Alignment required... no
Checking whether to have a verbose build... no
Checking whether building plugins was requested... no
Checking for Ogg Vorbis... yes
Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)
Checking for FLAC >= 1.0.1... no
Checking for MAD... yes
Checking for ALSA >= 0.9... no
Checking for zlib... yes
Checking for libmpeg2 >= 0.3.2... no
Checking for libfluidsynth... no
Checking for readline... skipping (text console disabled)
Checking for nasm... /usr/local/bin/nasm
Backend... sdl, assembly routines, 16bit color, HQ scalers, MT-32 emu, Indeo3 decoder
Looking for sdl-config... /usr/local/bin/sdl-config

Engines (builtin):
    SCUMM [all games]
    AGI
    AGOS [all games]
    Cinematique evo 1
    Cinematique evo 2
    Dragon History
    Drascula: The Vampire Strikes Back
    Gobli*ns
    Groovie
    Legend of Kyrandia
    Lure of the Temptress
    MADE
    Parallaction
    Flight of the Amazon Queen
    SAGA [ITE] [IHNM]
    Beneath a Steel Sky
    Broken Sword
    Broken Sword II
    Teen Agent
    Tinsel
    Touche: The Adventures of the Fifth Musketeer
    Bud Tucker in Double Trouble

Engines Skipped:
    Groovie [Groovie 2 games]
    Legend of Kyrandia [Lands of Lore]
    M4/MADS
    Mohawk
    SAGA [SAGA 2 games]
    SCI [SCI32 games]


Creating config.h
Creating config.mk
ports# grep 'SC.MM' work/scummvm-1.1.1/config.mk 
ENABLE_SCMM = STATIC_PLUGIN
ENABLE_SCMM_7_8 = 1
--- scummvm-make-configure.txt ends here ---

--- Makefile.local begins here ---
post-configure:
	${REINPLACE_CMD} -e "s:SC.MM:SCUMM:" ${WRKSRC}/config.mk
--- Makefile.local ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lme 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 29 17:20:19 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148236 
State-Changed-From-To: open->closed 
State-Changed-By: lme 
State-Changed-When: Sat Aug 7 13:59:30 UTC 2010 
State-Changed-Why:  
Sorry, I still cannot reproduce this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148236 
>Unformatted:
