#35986: fltk 1.3.0 fails to build on Lion and earlier --------------------------------------+------------------------------------- Reporter: david.w.watson@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: lion snowleopard leopard tiger Port: fltk | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: reopened => closed * keywords: => lion snowleopard leopard tiger * resolution: => fixed Comment: Okay, the initial problem was that when I upgraded the port to 1.3.0 in r97414, I added a patch from upstream to fix the build on Mountain Lion, but in the process I broke the build on earlier OS versions. I fixed that in r97434 by backporting more of the upstream fix. The new problem is that the build process for the "fluid" part of fltk incorrectly tries to link with a previously-installed version of the fltk library instead of the one that was just built, so this fails when the currently-installed version is incompatible, such as the very common case on 64-bit Macs running Snow Leopard or later when you have fltk @1.1.10_5 installed for i386 and then you want to upgrade to the new fltk @1.3.0_0 for x86_64. I fixed this in r97584 by changing the order of the link flags in the Makefile for fluid. -- Ticket URL: <https://trac.macports.org/ticket/35986#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS