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

MacPorts noreply at macports.org
Mon Dec 5 22:27:52 PST 2011


#32426: angelscript: sometimes rebuilds in destroot phase, causing wrong library
install_name
--------------------------------------+-------------------------------------
  Reporter:  ryandesign@…             |       Owner:  rudloff@…          
      Type:  defect                   |      Status:  closed             
  Priority:  Normal                   |   Milestone:                     
 Component:  ports                    |     Version:  2.0.3              
Resolution:  fixed                    |    Keywords:                     
      Port:  angelscript              |  
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 As shipped, the makefile does nothing in the `all` rule, other than depend
 on `TARG`. So I fixed the problem in r87788 by adding a step to the `all`
 rule to change the modification time of the object and library directories
 to an earlier time, namely the time the makefile was modified (it seemed
 as good a time as any). That way, by the time the `install` rule is
 called, the library directory will be older than the libraries, so a
 rebuild won't occur. I have never seen a makefile do this, and I know
 plenty of makefiles that create directories, so I feel like there must be
 an easier or better solution, but I don't know it. I have a feeling it
 might involve not using rules to represent directory creations, but
 changing that is more re-engineering than I wanted to get into right now.

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


More information about the macports-tickets mailing list