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. Hanspeter ------------------------------------------------------------------------------ _______________________________________________ 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