From 942ba770159f958b95475811991def588754ca54 Mon Sep 17 00:00:00 2001 From: suvari Date: Sun, 10 Feb 2019 01:12:50 +0300 Subject: [PATCH] libdrm: fix 32 bit lines.. --- x11/library/libdrm/actions.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x11/library/libdrm/actions.py b/x11/library/libdrm/actions.py index 505891a697..cf16141836 100644 --- a/x11/library/libdrm/actions.py +++ b/x11/library/libdrm/actions.py @@ -11,7 +11,13 @@ from pisi.actionsapi import shelltools def setup(): #pisitools.dosed("configure.ac", "pthread-stubs", deleteLine=True) autotools.autoreconf("-fi") - autotools.configure("--enable-udev") + options = " --enable-udev" + + if get.buildTYPE() == "_emul32": + options += " --libdir=/usr/lib32" + + autotools.configure(options) + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): @@ -19,4 +25,7 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + if get.buildTYPE() == "_emul32": + return + #pisitools.dodoc("README")