Lines 20-27
Link Here
|
20 |
|
20 |
|
21 |
# Our data |
21 |
# Our data |
22 |
ENV_FILE="${ROOT}/etc/env.d/03opengl" |
22 |
ENV_FILE="${ROOT}/etc/env.d/03opengl" |
23 |
PREFIX="${ROOT}/usr" |
23 |
ROOTPREFIX="/usr" |
24 |
DST_PREFIX="${ROOT}/usr" |
24 |
PREFIX="${ROOT}${ROOTPREFIX}" |
|
|
25 |
DST_PREFIX="${ROOT}${ROOTPREFIX}" |
25 |
|
26 |
|
26 |
get_current_implementation() { |
27 |
get_current_implementation() { |
27 |
local ret |
28 |
local ret |
Lines 136-141
Link Here
|
136 |
local libdir |
137 |
local libdir |
137 |
local gl_local |
138 |
local gl_local |
138 |
local moduledir |
139 |
local moduledir |
|
|
140 |
local ldpath |
139 |
|
141 |
|
140 |
# Set a sane umask... bug #83115 |
142 |
# Set a sane umask... bug #83115 |
141 |
umask 022 |
143 |
umask 022 |
Lines 198-204
Link Here
|
198 |
"${PREFIX}/${libdir}/opengl/xorg-x11/include/" |
200 |
"${PREFIX}/${libdir}/opengl/xorg-x11/include/" |
199 |
|
201 |
|
200 |
# Setup the $LDPATH |
202 |
# Setup the $LDPATH |
201 |
ldpath="${ldpath:+${ldpath}:}${PREFIX}/${libdir}/opengl/${gl_local}/lib" |
203 |
ldpath="${ldpath:+${ldpath}:}${ROOTPREFIX}/${libdir}/opengl/${gl_local}/lib" |
202 |
done |
204 |
done |
203 |
|
205 |
|
204 |
store_config ${ENV_FILE} LDPATH "${ldpath}" |
206 |
store_config ${ENV_FILE} LDPATH "${ldpath}" |