[MacPorts] #53904: nagios build uses ld argument convention that doesn't work with older XCode

MacPorts noreply at macports.org
Sun Apr 2 01:25:11 UTC 2017


#53904: nagios build uses ld argument convention that doesn't work with older XCode
-------------------------------+--------------------
 Reporter:  charles-dyfis-net  |      Owner:
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.4.1
 Keywords:                     |       Port:  nagios
-------------------------------+--------------------
 `-L ../../lib`, as passed during the build of nagios 4.3.1, is not
 permitted on sufficiently ancient/decrepit systems.

 This can be resolved as follows:

 {{{
     reinplace "s|WORKER_LDFLAGS=\"-L ../../lib -l
 nagios\"|WORKER_LDFLAGS=\"-L../../lib -l nagios\"|g" \
         "${worksrcpath}/configure.ac" \
         "${worksrcpath}/configure"
 }}}

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


More information about the macports-tickets mailing list