Magellan Linux

Diff of /smage/branches/alx-0_6_0/core/libdrm/libdrm-2.4.33-r1.smage2

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

revision 4930 by niro, Wed Jun 5 11:13:34 2013 UTC revision 4931 by niro, Wed Jun 5 11:30:05 2013 UTC
# Line 20  SRCFILE="${PNAME}-${PVER}.tar.bz2" Line 20  SRCFILE="${PNAME}-${PVER}.tar.bz2"
20  SRC_URI=(  SRC_URI=(
21   http://dri.freedesktop.org/${PNAME}/${SRCFILE}   http://dri.freedesktop.org/${PNAME}/${SRCFILE}
22   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-no-cairo.patch
24  )  )
25    
26  UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball"  UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball"
27    
28    src_prepare()
29    {
30     munpack ${SRCFILE} || die
31    
32     # adds --disable-cairo-patch switch to disable hardcoded cairo dep
33     mpatch ${PNAME}-${PVER}-no-cairo.patch || die
34     mautoreconf || die
35    }
36    
37  src_compile()  src_compile()
38  {  {
39   # add march=native to cflags to fix compile issues   # add march=native to cflags to fix compile issues
# Line 36  src_compile() Line 46  src_compile()
46   --enable-intel \   --enable-intel \
47   --enable-radeon \   --enable-radeon \
48   --enable-nouveau-experimental-api \   --enable-nouveau-experimental-api \
49     --disable-cairo-tests \
50   || die   || die
51    
52   mmake || die   mmake || die

Legend:
Removed from v.4930  
changed lines
  Added in v.4931