# $Id$ PNAME="libdrm" PVER="2.4.20" PBUILD="r1" PCATEGORIE="x11-libs" STATE="unstable" DESCRIPTION="Xorg drm library." HOMEPAGE="http://dri.freedesktop.org/" sminclude xorg multilib mcore-split DEPEND="" SDEPEND=">= dev-libs/libpthread-stubs-0.1" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRC_URI=( http://dri.freedesktop.org/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" src_compile() { # add march=native to cflags to fix compile issues # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 export CFLAGS="${CFLAGS} -march=native" export CXXFLAGS="${CXXFLAGS} -march=native" mconfigure || die mmake || die }