There are some programs on FreeBSD that require static MesaGL libraries. 
However, freebsd-static is unavailable in Makefile.

Compiling linux-static works well, but then hangs during make install (I 
didn't save the exact line on which it does, sorry. But it was the stage 
where it checks all the directories in order to copy the files.)

As a workaround, one can copy the static libraries form the lib dir 
manually. An alternative would be to provide an option to run make 
freebsd-static.

What I did is:

==================freebsd-static.diff====================
1c1,2
< # Configuration for generic Linux, making static libs
---
 > # Configuration for generic FreeBSD, making static libs
 > # Written by cy on 2008-04-23.
3c4
< include $(TOP)/configs/linux
---
 > include $(TOP)/configs/freebsd
5c6
< CONFIG_NAME = linux-static
---
 > CONFIG_NAME = freebsd-static
=========================================================

cd configs
cp linux-static freebsd-static
patch freebsd-static ../freebsd-static.diff
cd ..

Then edit Makefile to add freebsd-static to Rules section.

That's it. make freebsd-static and make install run OK.

================
Other possibly relevant info:

FreeBSD7.0-RC1
i386
Linux emulation enabled

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to