Subject: Re: SDL Issues With Mac OS X
To: None <>
From: Randy Beaudreault <>
List: tech-pkg
Date: 05/03/2004 23:37:59
>On May 3, 2004, at 9:59 PM, Randy Beaudreault wrote:
>>I've run into an interesting set of issues in trying to build 
>>SDL_net on Mac OS X.3.3.
>You'll run into more before you're done. The UNIX-based build system 
>for SDL on OS X doesn't seem to work quite right. I was never able 
>to build anything more complex than one of the simple demo programs.

I'm building SDL and some SDL-related programs for another program.

>>I run the SDL_net configure problem when I go to bmake it after I 
>>do the afore mentioned convolution.  During the configure phase for 
>>SDL_net under bmake, configure dies when it checks for SDL 
>>version > 1.2.4.  When I hand run configure for SDL_net, configure 
>>runs all the way through.  Why are there the differences between 
>>hand running things and bmaking things?
>buildlink. When bmake configures it, PATH includes 
>${WRKDIR}/.buildlink/bin, so you get wrapper scripts instead of the 
>real compiler, etc. In this case, IIRC, I think it's that the 
>buildlink framework is stripping out the references to the Cocoa 
>frameworks. Adding
>     BUILDLINK_PASSTHRU_DIRS+= /System /Library /Developer
>to the package Makefile might fix things

This worked for both SDL and SDL_net.  Will you apply this patch into 
buildlink or relay it on?

>>P. S. To help me troubleshoot this kind of issue in the future, is 
>>there a way I can capture the commands actually issued during 
>>bmaking (and hand configuring and making)?
>will make it show the commands it's running. PKG_DEBUG_LEVEL=2 will 
>also make it use "sh -x" rather than just "sh" to run shell scripts.
>-- Dan

Thanks for this information and thanks for your help.

OS X - UNIX for the rest of us
NetBSD - Catch the Power!