Subject: pkg/36894: games/scummvm build fails
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 09/04/2007 07:35:01
>Number:         36894
>Category:       pkg
>Synopsis:       games/scummvm build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 04 07:35:01 +0000 2007
>Originator:     Jan Danielsson
>Release:        NetBSD/amd64 3.1
Confuse A Cat Inc.
NetBSD 3.1 NetBSD 3.1 (ANCA) #4: Tue Jul 17 18:57:21 CEST 2007 amd64

Building games/scummvm results in:

mkdir -p backends/saves/compressed/.deps
c++ -Wp,-MMD,"backends/saves/compressed/.deps/compressed-saves.d",-MQ,"backends/saves/compressed/compressed-saves.o",-MP -Wall -O2 -
backends/saves/compressed/compressed-saves.cpp:34:5: warning: "ZLIB_VERNUM" is not defined
backends/saves/compressed/compressed-saves.cpp:35:2: #error Version or newer of zlib is required for this code
gmake: *** [backends/saves/compressed/compressed-saves.o] Error 1
*** Error code 2

make: stopped in /usr/pkgsrc/games/scummvm
*** Error code 1

make: stopped in /usr/pkgsrc/games/scummvm

Just build games/scummvm on a NetBSD/amd64 3.1 system.
I assume that defining ZLIB_VERNUM could help, but I also assume that hardcoding ZLIB_VERNUM isn't the proper way to do it.