[MacPorts] #55878: lowdown @0.3.1: Fix mandir; fix universal variant; fix build on Snow Leopard and earlier

MacPorts noreply at macports.org
Thu Feb 22 21:27:12 UTC 2018


#55878: lowdown @0.3.1: Fix mandir; fix universal variant; fix build on Snow
Leopard and earlier
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  janstary
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:  haspatch    |       Port:  lowdown
------------------------+----------------------
 This patch fixes several issues in the lowdown port.

 * It moves the specification of `PREFIX` from `configure.args` to
 `configure.pre_args`, to match where MacPorts base's default configure
 argument for specifying the prefix is.
 * It specifies the `MANDIR` so that the manpages are installed in the
 correct directory. Since this changes where files are installed, the
 `revision` is increased.
 * It removes `--disable-dependency-tracking` from the default
 `configure.universal_args` because the configure script errors out when
 that flag is passed.
 * It adds a patch to the configure script so that `LDFLAGS` from the
 environment are used. Without this patch, it only uses `CC` and `CFLAGS`
 from the environment.
 * It adds a patch to the Makefile so that `LDFLAGS` are used when linking
 lowdown. This, combined with the previous patch, mean that lowdown is now
 linked for the correct architecture and using all `LDFLAGS` that MacPorts
 might specify, including `-lsnowleopardfixes` when added by the
 snowleopard_fixes portgroup, which fixes the build on Snow Leopard and
 earlier.

 These two patches should probably be submitted to upstream.

--
Ticket URL: <https://trac.macports.org/ticket/55878>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list