[MacPorts] #41103: libtool @2.4.2_4 put $prefix in dl search path

MacPorts noreply at macports.org
Wed Apr 6 17:55:38 UTC 2022


#41103: libtool @2.4.2_4 put $prefix in dl search path
----------------------+--------------------------------
  Reporter:  anddam   |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.2.0
Resolution:           |   Keywords:
      Port:  libtool  |
----------------------+--------------------------------

Comment (by michaelld):

 Once 2.4.8 is merged, I propose adding this to the Portfile:
 {{{
 # replace all instances of `/usr/local` with MacPorts PREFIX
 post-extract {
     fs-traverse ff ${worksrcpath} {
         reinplace -q -locale C "s@/usr/local@${prefix}@g" ${ff}
     }
 }
 }}}

 `/usr/local` is in quite a few files, and while most are not critical,
 there are many that are. Thoughts?

-- 
Ticket URL: <https://trac.macports.org/ticket/41103#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list