Opened 7 years ago

Closed 7 years ago

#53904 closed defect (fixed)

nagios build uses ld argument convention that doesn't work with older XCode

Reported by: charles-dyfis-net (Charles Duffy) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: nagios

Description

-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"

Change History (1)

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

Owner: set to Schamschula
Resolution: fixed
Status: newclosed

In f0e6dfe2182c09c80352d4fdffbece29205c6cc1/macports-ports:

nagios: update post-patch reinplace

Closes: #53904

Note: See TracTickets for help on using tickets.