Subject: pkg/20901: pkgsrc/devel/SDL/buildlink2.mk needs higher version
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/27/2003 00:13:33
>Number:         20901
>Category:       pkg
>Synopsis:       SDL-image needs SDL 1.2.4.
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 27 00:14:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/graphics/SDL-image needs SDL >= 1.2.4
but the pkgsrc/devel/SDL/buildlink2.mk has
BUILDLINK_DEPENDS.SDL?=         SDL>=1.2.0
>How-To-Repeat:
Attempt to build SDL_image with SDL-1.2.3nb2 installed.
You may get an error like:

checking for SDL - version >= 1.2.4... 
*** 'sdl-config --version' returned 1.2.3, but the minimum version
*** of SDL required is 1.2.4. If sdl-config is correct, then it is
*** best to upgrade to the required version.
*** If sdl-config was wrong, set the environment variable SDL_CONFIG
*** to point to the correct copy of sdl-config, and remove the file
*** config.cache before re-running configure
no
configure: error: *** SDL version 1.2.4 not found!
*** Error code 1

>Fix:
Change pkgsrc/devel/SDL/buildlink2.mk so
BUILDLINK_DEPENDS.SDL?=         SDL>=1.2.4
>Release-Note:
>Audit-Trail:
>Unformatted: