[Lunar-commits] <moonbase> ftgl: tweak of the BUILD to find opengl when NVIDIA is installed.
Dennis 'stumbles' Veatch
stumbles at lunar-linux.org
Fri Sep 19 16:25:12 CEST 2008
commit 11b21afeff4daffc41b25423b0ad4eac171d58cb
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date: Fri Sep 19 10:25:12 2008 -0400
ftgl: tweak of the BUILD to find opengl when NVIDIA is installed.
---
video/ftgl/BUILD | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/video/ftgl/BUILD b/video/ftgl/BUILD
index b38b661..10b538f 100644
--- a/video/ftgl/BUILD
+++ b/video/ftgl/BUILD
@@ -4,7 +4,11 @@
cd unix/ &&
- OPTS="$OPTS --enable-shared"
+ if module_installed NVIDIA-beta || module_installed NVIDIA; then
+ OPTS="$OPTS --with-gl-lib=/usr/lib/opengl/nvidia/"
+ fi &&
+
+ OPTS="$OPTS --enable-shared --enable-threaded"
default_build
More information about the Lunar-commits
mailing list