On Sat, 26 Sep 2015 21:59:15 -0500, Hanspeter Niederstrasser 
<f...@snaggledworks.com> wrote:
On 9/26/2015 4:25 PM, Li Zhu wrote:
> > Hi,
> >
> > I think the "-L/usr/X11R6/lib" should be "-L/usr/X11/lib" or 
> "-L/opt/X11/lib". 
> > And also the "-I/usr/X11R6/include"
>
> Can you copy /sw/fink/dists/stable/main/finkinfo/graphics/mesa.info 
> to /sw/fink/dists/local/main/finkinfo
>
> bump the Revision field to 3.1, and edit the PatchScript field to the 
> following (note that it goes from one line to several):
>
> ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8<
> PatchScript: <<
> #!/bin/sh -ev
> if [ `uname -r | cut -d. -f1` -ge 12 ]; then
> perl -pi -e 's|/usr/X11R6|/opt/X11|g' configs/darwin
> fi
> sed 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1
> <<
> ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8<
>
> and then try rebuilding. 

I pushed an update using fink-buildenv-modules for portability to all 
dists (/opt/X11 does not work for 10.7). I did not rev-up because using 
"platform-correct" -I and -L paths fixes where it didn't build before 
but doesn't change the results where it already was building. 

dan

--
Daniel Macks
dma...@netspace.org


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to