[MacPorts] #32426: angelscript: sometimes rebuilds in destroot phase, causing wrong library install_name

MacPorts noreply at macports.org
Mon Dec 5 21:08:11 PST 2011


#32426: angelscript: sometimes rebuilds in destroot phase, causing wrong library
install_name
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  rudloff@…          
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:                     
Component:  ports                    |     Version:  2.0.3              
 Keywords:                           |        Port:  angelscript        
-------------------------------------+--------------------------------------
 The angelscript port added in r87787 has an intermittent problem where it
 will sometimes rebuild the libraries in the destroot phase. When it does
 this, it ''might'' use an incorrect compiler (i.e. if the user had
 selected a different compiler than the default, because we're only setting
 the `CXX` environment variable in the build phase and not in the destroot
 phase), and it will ''definitely'' write the wrong `install_name` into the
 library (because it's based on the `LOCAL` variable which is prefixed with
 `${destroot}` in the destroot phase).

 The reason this happens is because of the way the makefile is written. In
 the notes I will explain the problem in more detail and show how I'm
 fixing it. This is an upstream problem; the developers should fix it in
 their sources (though I won't claim that my method is the best way to fix
 it).

-- 
Ticket URL: <https://trac.macports.org/ticket/32426>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list