Magellan Linux

Diff of /branches/magellan-next/core/llvm/llvm-2.9-r1.smage2

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

revision 9160 by niro, Tue Nov 8 10:45:52 2011 UTC revision 9161 by niro, Tue Nov 8 12:16:45 2011 UTC
# Line 35  SRC_URI=( Line 35  SRC_URI=(
35   mirror://${PNAME}/${PNAME}-${PVER}-PR9869-operator-destructor.patch   mirror://${PNAME}/${PNAME}-${PVER}-PR9869-operator-destructor.patch
36  )  )
37    
38  UP2DATE="updatecmd "  UP2DATE="updatecmd ${HOMEPAGE} | grep 'Download now' | sed 's:.*][lL][lL][vV][mM]\ \(.*\):\1:'"
39    
40  src_prepare()  src_prepare()
41  {  {
42   munpack ${SRCFILE} || die   munpack ${SRCFILE} || die
43    
44   # non-standard configure, fix config pathes, rpath and cflags   # non-standard configure, fix config pathes, rpath and cflags
45   all-abis 'sed -e "s,^PROJ_docsdir.*,PROJ_docsdir := \$(PROJ_prefix)/share/doc/${PNAME}-${PVER}," \   all-abis 'sed -e "s,^PROJ_docsdir.*,PROJ_docsdir := \$(PROJ_prefix)/share/doc/${PNAME}-${PVER}," -e "s,^PROJ_etcdir.*,PROJ_etcdir := ''/etc/llvm," -e "s,^PROJ_libdir.*,PROJ_libdir := \$(PROJ_prefix)/$(mlibdir)/${PNAME}," -i Makefile.config.in || die'
46   -e "s,^PROJ_etcdir.*,PROJ_etcdir := ''/etc/llvm," \   all-abis 'sed -e "s,\$ABS_RUN_DIR/lib,/usr/$(mlibdir)/${PNAME}," -i tools/llvm-config/llvm-config.in.in || die'
47   -e "s,^PROJ_libdir.*,PROJ_libdir := \$(PROJ_prefix)/$(mlibdir)/${PNAME}," \   all-abis 'sed -e "s,\$(RPATH) -Wl\,\$(\(ToolDir\|LibDir\)),\$(RPATH) -Wl\,/usr/$(mlibdir)/${PNAME}," -e "/OmitFramePointer/s/-fomit-frame-pointer//" -i Makefile.rules || die'
  -i Makefile.config.in || die'  
  all-abis 'sed -e "s,\$ABS_RUN_DIR/lib,/usr/$(mlibdir)/${PNAME}," \  
  -i tools/llvm-config/llvm-config.in.in || die'  
  all-abis 'sed -e "s,\$(RPATH) -Wl\,\$(\(ToolDir\|LibDir\)),\$(RPATH) -Wl\,/usr/$(mlibdir)/${PNAME}," \  
  -e "/OmitFramePointer/s/-fomit-frame-pointer//" \  
  -i Makefile.rules || die'  
48    
49   # do not generate docs, which are just the man pages   # do not generate docs, which are just the man pages
50   mpatch ${PNAME}-${PVER}-no-docs.patch || die   mpatch ${PNAME}-${PVER}-no-docs.patch || die

Legend:
Removed from v.9160  
changed lines
  Added in v.9161