Opened 9 months ago

Last modified 4 weeks ago

#68046 assigned defect

R @4.3.1: Defn.h reinplace of libintl.h include

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kjellpk (Kjell Konis)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: i0ntempest
Port: R

Description

The R port contains these lines in a post-patch block:

    # Check to see if this is fixed post 3.3.0
    reinplace "s|<libintl.h>|\"libintl.h\"|" "${worksrcpath}/src/include/Defn.h"

These lines were added in 2016 when the port was updated to 3.3.0. #51343 explains the reason:

Replying to kjellpk:

Had to make a small modification to Defn.h so that the MacPorts libintl.h doesn't get picked up when building with R's included libintl.h.

The R port is now at version 4.3.1. Is this reinplace still needed? If so, why—why is R bundling a copy of libintl.h? Is there an upstream bug report about this? If the problem still exists, the bug report's URL should go into the Portfile as a comment above the reinplace.

Change History (1)

comment:1 Changed 4 weeks ago by barracuda156

Perhaps we need to try dropping that and see what happens.

Note: See TracTickets for help on using tickets.