summaryrefslogtreecommitdiff
path: root/packages/mesa/files
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-07-24 16:14:43 +0000
committerRaymond Danks <raymond@edanks.com>2006-07-24 16:14:43 +0000
commit03ed24fd55e522465ea04368e7b727300ad8d595 (patch)
tree1fe4c33465a2ef05a8ac219ecb2414c35f61cbd1 /packages/mesa/files
parent726016c3d5faac212552737f41b0dd479c7786d7 (diff)
mesa - Move library dependencies from RDEPENDS to DEPENDS.
- Update build config instead of using environment to override toolchain vars. - mklib patch for understanding -Wl linker flags. - mesa depends upon makedepend-native.
Diffstat (limited to 'packages/mesa/files')
-rw-r--r--packages/mesa/files/.mtn2git_empty0
-rw-r--r--packages/mesa/files/mklib-rpath-link.patch20
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/mesa/files/.mtn2git_empty b/packages/mesa/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/mesa/files/.mtn2git_empty
diff --git a/packages/mesa/files/mklib-rpath-link.patch b/packages/mesa/files/mklib-rpath-link.patch
new file mode 100644
index 0000000000..07361f531a
--- /dev/null
+++ b/packages/mesa/files/mklib-rpath-link.patch
@@ -0,0 +1,20 @@
+--- Mesa/bin/mklib.orig 2006-06-04 20:56:22.000000000 -0600
++++ Mesa/bin/mklib 2006-06-04 20:57:04.000000000 -0600
+@@ -98,6 +98,9 @@
+ -L*)
+ DEPS="$DEPS $1"
+ ;;
++ -Wl*)
++ DEPS="$DEPS $1"
++ ;;
+ '-cplusplus')
+ CPLUSPLUS=1
+ ;;
+--- Mesa/configs/default.orig 2006-06-04 21:01:47.000000000 -0600
++++ Mesa/configs/default 2006-06-04 21:01:16.000000000 -0600
+@@ -71,4 +71,4 @@
+ GLU_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) -lm
+ GLUT_LIB_DEPS = -L$(LIB_DIR) -l$(GLU_LIB) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lX11 -lXmu -lXt -lXi -lm
+ GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LIB_PATH) -lXt -lX11
+-APP_LIB_DEPS = -L$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm
++APP_LIB_DEPS = -L$(LIB_DIR) $(EXTRA_LIB_PATH) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) -lm