Magellan Linux

Diff of /trunk/opengl-update/opengl-update.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1987 by niro, Thu Nov 15 12:59:19 2012 UTC revision 1988 by niro, Thu Nov 15 13:54:40 2012 UTC
# Line 241  set_new_implementation() Line 241  set_new_implementation()
241   mkdir -p ${DST_PREFIX}/${LIBDIR}   mkdir -p ${DST_PREFIX}/${LIBDIR}
242   pushd ${DST_PREFIX}/${LIBDIR} &> /dev/null   pushd ${DST_PREFIX}/${LIBDIR} &> /dev/null
243   # First remove old symlinks   # First remove old symlinks
244   for file in lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
245   do   do
246   [[ -h ${file} ]] && rm -f ${file}   [[ -h ${file} ]] && rm -f ${file}
247   done   done
# Line 249  set_new_implementation() Line 249  set_new_implementation()
249   # Note that we don't do .so*, just .so on purpose.  The   # Note that we don't do .so*, just .so on purpose.  The
250   # loader knows to look in the profile dir, and the   # loader knows to look in the profile dir, and the
251   # linked just needs the .so   # linked just needs the .so
252   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
253   do   do
254   [[ -f ${file} ]] || continue   [[ -f ${file} ]] || continue
255   [[ -f ${file##*/} ]] && rm -f ${file##*/}   [[ -f ${file##*/} ]] && rm -f ${file##*/}
# Line 269  set_new_implementation() Line 269  set_new_implementation()
269   mkdir -p ${DST_PREFIX}/${LIBDIR}/tls   mkdir -p ${DST_PREFIX}/${LIBDIR}/tls
270   pushd ${DST_PREFIX}/${LIBDIR}/tls &> /dev/null   pushd ${DST_PREFIX}/${LIBDIR}/tls &> /dev/null
271   # First remove old symlinks   # First remove old symlinks
272   for file in lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
273   do   do
274   [[ -h ${file} ]] && rm -f ${file}   [[ -h ${file} ]] && rm -f ${file}
275   done   done
276    
277   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/tls/lib{EGL,GL{,ESv{1,2}},OpenVG}{,core}.{so,dylib,a,la}   for file in ${PREFIX}/${LIBDIR}/opengl/${GL_LOCAL}/lib/tls/lib{EGL,GL*,OpenVG}{,core}.{so,dylib,a,la}
278   do   do
279   [[ -f ${file} ]] || continue   [[ -f ${file} ]] || continue
280   [[ -f ${file##*/} ]] && rm -f ${file##*/}   [[ -f ${file##*/} ]] && rm -f ${file##*/}

Legend:
Removed from v.1987  
changed lines
  Added in v.1988