Subject: Re: pkg/21461: devel/p5-SDL can't compile without net/SDL_net
To: =?iso-8859-1?Q?C=E9sar_Catri=E1n_C=2E?= <ccatrian@eml.cc>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 05/06/2003 01:43:30
On Mon, May 05, 2003 at 06:26:17PM -0500, Dave Huang wrote:
> On Mon, May 05, 2003 at 06:31:41PM -0400, César Catrián C. wrote:
> > Done ...
> > attached script output to
> > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=21461

thanks.

> ===> Configuring for p5-SDL-1.19.2nb2
> Found GL                yes
> Found GLU               yes
> Found SDL_console       no
> Found SDL_gfx           yes
> Found SDL_image         yes
> Found SDL_mixer         yes
> Found SDL_net           yes
>                         ^^^
> 
> Looks like you have a SDL_net.h file installed somewhere (maybe
> /usr/pkg/include/SDL?). If you don't have the library, delete the
> header file and try again.

that's really a bad advice since you would damage installed SDL_net
package.

 i see where the problem is, since you have SDL_net installed and
configure process of p5-SDL found it and want to link but buldlink
prevents it from linking since there is no SDL_net library in
${WRKDIR}/.buildlink/lib

i guess we should really just add the dependency on SDL_net and extend
p5-SDL capabilities than prevent it from looking for SDL_net.


regards,

-- 
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --