Contents of /smage/trunk/extras/libdrm/libdrm-2.4.23-r1.smage2
Parent Directory | Revision Log
Revision 995 -
(show annotations)
(download)
Thu Dec 16 21:12:22 2010 UTC (13 years, 9 months ago) by niro
File size: 755 byte(s)
Thu Dec 16 21:12:22 2010 UTC (13 years, 9 months ago) by niro
File size: 755 byte(s)
-dropped already upstream patches
1 | # $Id: libdrm-2.4.20-r1.smage2 514 2010-05-08 01:44:12Z niro $ |
2 | |
3 | PNAME="libdrm" |
4 | PVER="2.4.23" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="x11-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Xorg drm library." |
11 | HOMEPAGE="http://dri.freedesktop.org/" |
12 | |
13 | sminclude xorg multilib mcore-split |
14 | |
15 | DEPEND="" |
16 | SDEPEND=">= dev-libs/libpthread-stubs-0.1" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | |
20 | SRC_URI=( |
21 | http://dri.freedesktop.org/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" |
26 | |
27 | src_compile() |
28 | { |
29 | # add march=native to cflags to fix compile issues |
30 | # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 |
31 | export CFLAGS="${CFLAGS} -march=native" |
32 | export CXXFLAGS="${CXXFLAGS} -march=native" |
33 | |
34 | mconfigure || die |
35 | mmake || die |
36 | } |