Magellan Linux

Diff of /trunk/extras/ilmbase/ilmbase-2.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 21112 by niro, Tue Mar 11 13:42:55 2014 UTC revision 21113 by niro, Tue Mar 11 14:02:25 2014 UTC
# Line 21  SRC_URI=( Line 21  SRC_URI=(
21   http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}   http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
22   http://download.savannah.nongnu.org/releases/openexr/${SRCFILE}   http://download.savannah.nongnu.org/releases/openexr/${SRCFILE}
23   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/${PNAME}-2.0.1-no_undefined.patch  
24  )  )
25    
26  UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/openexr | grep ${PNAME}-[0-9] | lasttarball gz"  UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/openexr | grep ${PNAME}-[0-9] | lasttarball gz"
27    
 src_prepare()  
 {  
  munpack ${SRCFILE} || die  
   
  # fix undefined references  
  mpatch ${PNAME}-2.0.1-no_undefined.patch || die  
 }  
   
28  src_compile()  src_compile()
29  {  {
30     # fix bogus pthread linking and as-needed issues
31     PTHREAD_LIBS="-pthread -lpthread -lrt" \
32   mconfigure || die   mconfigure || die
33   # fix bogus pthread linking   mmake || die
  mmake PTHREAD_LIBS="-pthread -lpthread" || die  
34  }  }

Legend:
Removed from v.21112  
changed lines
  Added in v.21113