#40058: pdftk @1.44_0: add gcc48 variant --------------------------------+-------------------------- Reporter: Maurizio.Loreti@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: Resolution: | Keywords: Port: pdftk | --------------------------------+-------------------------- Changes (by ryandesign@…): * priority: Normal => Low Comment: Replying to [comment:4 Maurizio.Loreti@…]:
Why not to use just "gcc" without specifying the version?
The reason why we do not do so in general in MacPorts is described in detail in the wiki page UsingTheRightCompiler. We will not be changing this strategy. pdftk has a much more specific reason: it's written in Java, so it must be compiled with a Java compiler. Apple does not provide a Java compiler; only the gcc4x ports do. Also, pdftk's build has been extremely fragile in the years that I have maintained the port. Either the gcc Java compiler is unreliable, or pdftk's Java code is, to the extent that it had seemed to me previously that only very specific versions of gcc were able to compile pdftk. So I am really not exceptionally interested in adding more compiler variants to the mix to provide users with even more opportunities to run into problems. My plans for the pdftk port are to [ticket:37580 update it to the latest version] and to make it use a compiler that works, which I expect will be gcc47, since that is the current MacPorts default for situations when gcc4x ports must be used. -- Ticket URL: <https://trac.macports.org/ticket/40058#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X