[MacPorts] #68046: R @4.3.1: Defn.h reinplace of libintl.h include

MacPorts noreply at macports.org
Sat Aug 26 21:19:55 UTC 2023


#68046: R @4.3.1: Defn.h reinplace of libintl.h include
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  kjellpk
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  R
------------------------+----------------------
 The R port contains these lines in a post-patch block:

 {{{#!tcl
     # 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
 [changeset:47c9e3febdcdf07085c22bb4bdb2e76c1adc67ed/macports-ports updated
 to 3.3.0]. #51343 explains the reason:

 Replying to [ticket:51343 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`.

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


More information about the macports-tickets mailing list