From 77004a4a743f164ae901da53d620cd6050d52869 Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 23 Jan 2019 13:53:45 +0300 Subject: [PATCH] glew:rebuild --- x11/library/glew/actions.py | 6 +++--- x11/library/glew/pspec.xml | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/x11/library/glew/actions.py b/x11/library/glew/actions.py index a29c912f34..0b1cdcbd6b 100755 --- a/x11/library/glew/actions.py +++ b/x11/library/glew/actions.py @@ -16,7 +16,7 @@ def build(): if get.buildTYPE() == "emul32": pisitools.dosed("config/Makefile.linux", "LD = cc", "LD = gcc -m32") shelltools.system("sed -i 's|lib64|lib32|' config/Makefile.linux") - autotools.make('CC="%s -m32" CXXFLAGS="%s"' % (get.CC(), get.CXXFLAGS())) + autotools.make('CC="%s -m32" CXXFLAGS="%s" LIBDIR=/usr/lib32' % (get.CC(), get.CXXFLAGS())) return else: autotools.make('CC=%s CXXFLAGS="%s"' % (get.CC(), get.CXXFLAGS())) @@ -31,7 +31,7 @@ def install(): PKGDIR=%s/usr/lib32/pkgconfig" % (get.installDIR() , get.installDIR(), get.installDIR(), get.installDIR(), get.installDIR())) pisitools.remove("/usr/lib32/libGLEW.a") - pisitools.dosed("%s/usr/lib32/pkgconfig/glew.pc" % get.installDIR(), "/usr/lib", "/usr/lib32") + #pisitools.dosed("%s/usr/lib32/pkgconfig/glew.pc" % get.installDIR(), "/usr/lib", "/usr/lib32") return autotools.rawInstall("GLEW_DEST=%s/usr/ \ @@ -43,4 +43,4 @@ def install(): pisitools.dobin("bin/visualinfo") pisitools.dohtml("doc/*") - pisitools.dodoc("README.md", "doc/*.txt", "LICENSE.txt") \ No newline at end of file + pisitools.dodoc("README.md", "doc/*.txt", "LICENSE.txt") diff --git a/x11/library/glew/pspec.xml b/x11/library/glew/pspec.xml index 0745fa3dce..bf3c883cd0 100755 --- a/x11/library/glew/pspec.xml +++ b/x11/library/glew/pspec.xml @@ -75,6 +75,13 @@ + + 2019-01-23 + 2.1.0 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2018-07-27 2.1.0