summaryrefslogtreecommitdiff
path: root/graphics/ogre3d
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2011-03-16 05:36:37 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2011-03-16 05:36:37 +0000
commit9fe38eb7935ba1311e39974b562b706c28dd4d19 (patch)
tree8280ae3c199fc553b5d3d51304fc4ed134c7f5df /graphics/ogre3d
parent- fix option WITH_PAM (diff)
fix the compilation if graphics/glew is installed
remove devil from the dependency-list as it is no longer needed
Notes
Notes: svn path=/head/; revision=271003
Diffstat (limited to 'graphics/ogre3d')
-rw-r--r--graphics/ogre3d/Makefile1
-rw-r--r--graphics/ogre3d/files/patch-RenderSystems-GL-CMakeLists.txt13
2 files changed, 13 insertions, 1 deletions
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 1dd41ef21b32..de38bc419ace 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= A scene-oriented, flexible 3D engine written in C++
LIB_DEPENDS= zzip.13:${PORTSDIR}/devel/zziplib \
- IL.2:${PORTSDIR}/graphics/devil \
freetype.9:${PORTSDIR}/print/freetype2
USE_LDCONFIG= YES
diff --git a/graphics/ogre3d/files/patch-RenderSystems-GL-CMakeLists.txt b/graphics/ogre3d/files/patch-RenderSystems-GL-CMakeLists.txt
new file mode 100644
index 000000000000..ff9b1c6e18f2
--- /dev/null
+++ b/graphics/ogre3d/files/patch-RenderSystems-GL-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- RenderSystems/GL/CMakeLists.txt.orig 2010-11-03 19:24:48.000000000 +0100
++++ RenderSystems/GL/CMakeLists.txt 2011-03-15 10:40:52.000000000 +0100
+@@ -204,7 +204,9 @@
+
+
+ include_directories(
+- ${CMAKE_CURRENT_SOURCE_DIR}/include
++ BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/include
++)
++include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/GLSL/include
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/atifs/include
+ ${CMAKE_CURRENT_SOURCE_DIR}/src/nvparse