1 |
Author: wolf31o2 |
2 |
Date: 2008-02-28 18:15:55 +0000 (Thu, 28 Feb 2008) |
3 |
New Revision: 146 |
4 |
|
5 |
Modified: |
6 |
trunk/openglify |
7 |
Log: |
8 |
Let's clean up openglify so it works on both older and newer versions of X.Org server. |
9 |
|
10 |
Modified: trunk/openglify |
11 |
=================================================================== |
12 |
--- trunk/openglify 2008-02-26 23:09:51 UTC (rev 145) |
13 |
+++ trunk/openglify 2008-02-28 18:15:55 UTC (rev 146) |
14 |
@@ -30,19 +30,25 @@ |
15 |
ln -sf /etc/opengl/lib32/libGL.la /usr/lib32/libGL.la |
16 |
fi |
17 |
|
18 |
-# We create symlinks fo the libglx.so and libglx.a |
19 |
+# We create symlinks for the libglx.so and libglx.a |
20 |
if [ -d /usr/lib/xorg/modules/extensions ] |
21 |
then |
22 |
ln -sf /etc/opengl/lib/modules/extensions/libglx.so \ |
23 |
/usr/lib/xorg/modules/extensions/libglx.so |
24 |
ln -sf /etc/opengl/lib/modules/extensions/libglx.a \ |
25 |
/usr/lib/xorg/modules/extensions/libglx.a |
26 |
- if [ -d /usr/lib32 ] |
27 |
+ if [ -d /usr/lib32/xorg/modules/extensions ] |
28 |
then |
29 |
ln -sf /etc/opengl/lib32/modules/extensions/libglx.so \ |
30 |
/usr/lib32/xorg/modules/extensions/libglx.so |
31 |
ln -sf /etc/opengl/lib32/modules/extensions/libglx.a \ |
32 |
/usr/lib32/xorg/modules/extensions/libglx.a |
33 |
+ elif [ -d /usr/lib32/modules/extensions ] |
34 |
+ then |
35 |
+ ln -sf /etc/opengl/lib32/modules/extensions/libglx.so \ |
36 |
+ /usr/lib32/modules/extensions/libglx.so |
37 |
+ ln -sf /etc/opengl/lib32/modules/extensions/libglx.a \ |
38 |
+ /usr/lib32/modules/extensions/libglx.a |
39 |
fi |
40 |
fi |
41 |
|
42 |
|
43 |
-- |
44 |
gentoo-commits@l.g.o mailing list |