From ed441840d473ea2e55a742aaee6fa6ac44eb1344 Mon Sep 17 00:00:00 2001 From: Aldas Nabazas <aldas@opensde.net> Date: Wed, 15 Apr 2009 13:22:40 +0300 Subject: [PATCH] mesa: create compat symlinks for glew --- x11/mesa/mesa.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/x11/mesa/mesa.conf b/x11/mesa/mesa.conf index 79366fa63..93cf5327f 100644 --- a/x11/mesa/mesa.conf +++ b/x11/mesa/mesa.conf @@ -23,3 +23,12 @@ if ! pkginstalled freeglut; then cd - } fi + +mesa_symlinks() { + cd $root/usr/lib + ln -sdfv ../X11/include/GL $root/usr/include/GL + ln -sfv ../X11/${libdir##*/}/libGL.* . + ln -sfv ../X11/${libdir##*/}/libGLU.* . +} + +hook_add postmake 5 mesa_symlinks