mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
mesa: Fix reversed header symlink
This commit is contained in:
@@ -9,7 +9,7 @@ COPYRIGHT="1999-2013 Brian Paul All Rights Reserved."
|
||||
LICENSE="MIT"
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/10.0.1/MesaLib-10.0.1.tar.bz2"
|
||||
CHECKSUM_MD5="0a72ca5b36046a658bf6038326ff32ed"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
@@ -75,20 +75,20 @@ INSTALL()
|
||||
cp $(find $mesaBuildDir -name 'libswpipe.so') \
|
||||
"$addOnsDir/opengl/Software Pipe"
|
||||
|
||||
# OpenGL Kit
|
||||
mkdir -p $includeDir/os/opengl/GL
|
||||
cp ./include/HaikuGL/OpenGLKit.h $includeDir/os/
|
||||
cp ./include/HaikuGL/GLView.h $includeDir/os/opengl/
|
||||
cp ./include/HaikuGL/GLRenderer.h $includeDir/os/opengl/
|
||||
# OpenGL Kit
|
||||
mkdir -p $includeDir/os/opengl
|
||||
cp ./include/HaikuGL/OpenGLKit.h $includeDir/os/
|
||||
cp ./include/HaikuGL/GLView.h $includeDir/os/opengl/
|
||||
cp ./include/HaikuGL/GLRenderer.h $includeDir/os/opengl/
|
||||
|
||||
# Standard GL headers
|
||||
cp ./include/GL/gl.h $includeDir/os/opengl/GL/
|
||||
cp ./include/GL/gl_mangle.h $includeDir/os/opengl/GL/
|
||||
cp ./include/GL/glext.h $includeDir/os/opengl/GL/
|
||||
# Standard GL headers
|
||||
mkdir -p $includeDir/GL
|
||||
cp ./include/GL/gl.h $includeDir/GL/
|
||||
cp ./include/GL/gl_mangle.h $includeDir/GL/
|
||||
cp ./include/GL/glext.h $includeDir/GL/
|
||||
|
||||
# Symlink GL in kit to system GL directory
|
||||
cd $includeDir
|
||||
ln -snf os/opengl/GL GL
|
||||
# Create GL symlink in opengl kit
|
||||
symlinkRelative -s $includeDir/GL $includeDir/os/opengl/GL
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
|
||||
@@ -10,7 +10,7 @@ LICENSE="MIT"
|
||||
# remember to update SOURCE_DIR as well for the -X revision
|
||||
SRC_URI="https://github.com/kallisti5/mesa/archive/7.9.2-3.tar.gz"
|
||||
CHECKSUM_MD5="1f7d846ea2982ffa175c906443aaabd3"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
if [ $effectiveTargetArchitecture != x86 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
@@ -68,19 +68,19 @@ INSTALL()
|
||||
"$addOnsDir/opengl/Legacy Software Rasterizer"
|
||||
|
||||
# OpenGL Kit
|
||||
mkdir -p $includeDir/os/opengl/GL
|
||||
mkdir -p $includeDir/os/opengl
|
||||
cp ./include/HaikuGL/OpenGLKit.h $includeDir/os/
|
||||
cp ./include/HaikuGL/GLView.h $includeDir/os/opengl/
|
||||
cp ./include/HaikuGL/GLRenderer.h $includeDir/os/opengl/
|
||||
|
||||
# Standard GL headers
|
||||
cp ./include/GL/gl.h $includeDir/os/opengl/GL/
|
||||
cp ./include/GL/gl_mangle.h $includeDir/os/opengl/GL/
|
||||
cp ./include/GL/glext.h $includeDir/os/opengl/GL/
|
||||
mkdir -p $includeDir/GL
|
||||
cp ./include/GL/gl.h $includeDir/GL/
|
||||
cp ./include/GL/gl_mangle.h $includeDir/GL/
|
||||
cp ./include/GL/glext.h $includeDir/GL/
|
||||
|
||||
# Symlink GL in kit to system GL directory
|
||||
cd $includeDir
|
||||
ln -snf os/opengl/GL GL
|
||||
# Create GL symlink in opengl kit
|
||||
symlinkRelative -s $includeDir/GL $includeDir/os/opengl/GL
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
|
||||
Reference in New Issue
Block a user