Magellan Linux

Diff of /branches/magellan-next/extras/antlr2/antlr2-2.7.7-r1.smage2

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

revision 8636 by niro, Wed Jul 27 09:47:44 2011 UTC revision 8637 by niro, Wed Jul 27 09:51:56 2011 UTC
# Line 16  SDEPEND=">= virtual/java-jdk Line 16  SDEPEND=">= virtual/java-jdk
16  SRCFILE="${PNAME/2/}-${PVER}.tar.gz"  SRCFILE="${PNAME/2/}-${PVER}.tar.gz"
17  SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}"
18    
19  sminclude mbuild mtools python  sminclude mtools python
20    
21  SRC_URI=(  SRC_URI=(
22   http://www.antlr2.org/download/${SRCFILE}   http://www.antlr2.org/download/${SRCFILE}
23   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${PNAME}-${PVER}-gcc46.patch
25  )  )
26    
27  UP2DATE="updatecmd ${HOMEPAGE}/download/ | grep ${PNAME/2/}-2 | grep -v rc | lasttarball gz"  UP2DATE="updatecmd ${HOMEPAGE}/download/ | grep ${PNAME/2/}-2 | grep -v rc | lasttarball gz"
# Line 38  split_info_antlr2-python() Line 39  split_info_antlr2-python()
39   >= dev-lang/python-2.7"   >= dev-lang/python-2.7"
40  }  }
41    
42    src_prepare()
43    {
44     munpack ${SRCFILE} || die
45     cd ${SRCDIR}
46    
47     # fix build against gcc-4.6
48     mpatch ${PNAME}-${PVER}-gcc46.patch || die
49    }
50    
51  src_compile()  src_compile()
52  {  {
53   cd ${SRCDIR}   cd ${SRCDIR}

Legend:
Removed from v.8636  
changed lines
  Added in v.8637