Subject: pkg/29067: p5-GD doesn't build on NetBSD-1.6.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mlelstv@serpens.de>
List: pkgsrc-bugs
Date: 01/24/2005 21:31:01
>Number:         29067
>Category:       pkg
>Synopsis:       p5-GD doesn't build on NetBSD-1.6.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 24 21:31:01 +0000 2005
>Originator:     Michael van Elst Mlelstv
>Release:        NetBSD 1.6.2_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD fud 1.6.2_STABLE NetBSD 1.6.2_STABLE (FUD) #8: Fri Dec 31 00:54:53 MET 2004 src@fud:/d/0/src/sys/arch/i386/compile/FUD i386
Architecture: i386
Machine: i386
>Description:
Building p5-GD doesn't work "out of the box".

p5-GD depends on the gd library and perl.

Since a few weeks gd always builds with thread support, using something
like pth under 1.6.2. p5-GD relies on this and requires thread support
in perl.

perl58 does not build with thread support by default under 1.6.2. So
building p5-GD fails because it requires perl with thread support.

>How-To-Repeat:
Try to build p5-GD under NetBSD-1.6.2. with default settings for pkgsrc.

>Fix:
Make thread support optional in gd and make p5-GD require a
threaded perl only when gd was build with threads.

>Unformatted: