[MacPorts] #56137: ghostscript @9.23 builds incorrectly when updating

MacPorts noreply at macports.org
Wed Mar 28 03:45:14 UTC 2018


#56137: ghostscript @9.23 builds incorrectly when updating
--------------------------+-----------------
  Reporter:  dstrubbe     |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  ghostscript  |
--------------------------+-----------------

Comment (by ryandesign):

 It's caused by
 [http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=469bd6ecf5b223b3e6e3f32ec5a4900866c35e57
 this upstream commit]. Previously, `LDFLAGS` were not used when building
 `gsc` and `gsx`; now they are. Because MacPorts puts `-L/opt/local/lib`
 into `LDFLAGS` by default—and because I guess they don't prepend a `-L`
 flag with the path where the new libgs.dylib was built—that makes it find
 the previously-installed libgs.dylib instead of the newly-built one.

 I don't know if we can just remove `-L/opt/local/lib` from our default
 `LDFLAGS`. That might make the build unable to find the libraries it
 needs.

 I still can't see the actual build commands that are causing this problem
 in the log. I don't know where in the build system they're happening, why
 they're hidden, or how to make them visible.

--
Ticket URL: <https://trac.macports.org/ticket/56137#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list