summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2005-09-08 09:55:32 +0000
committerSimon Stelling <blubb@gentoo.org>2005-09-08 09:55:32 +0000
commit3eea70e647a5cb9efa9d46a71fa43a43d328e0f9 (patch)
tree3c377d5ce0b9df8cfe1791dfb44e32f5c030af2e /media-libs/glew/files
parentAdded missing inherit eutils. (diff)
downloadhistorical-3eea70e647a5cb9efa9d46a71fa43a43d328e0f9.tar.gz
historical-3eea70e647a5cb9efa9d46a71fa43a43d328e0f9.tar.bz2
historical-3eea70e647a5cb9efa9d46a71fa43a43d328e0f9.zip
multilib-strict
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-libs/glew/files')
-rw-r--r--media-libs/glew/files/glew-1.3.3-multilib.patch73
1 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/glew/files/glew-1.3.3-multilib.patch b/media-libs/glew/files/glew-1.3.3-multilib.patch
new file mode 100644
index 000000000000..2bb56b087fc0
--- /dev/null
+++ b/media-libs/glew/files/glew-1.3.3-multilib.patch
@@ -0,0 +1,73 @@
+--- Makefile.old 2005-09-04 16:39:47.000000000 +0200
++++ Makefile 2005-09-04 16:40:37.000000000 +0200
+@@ -29,6 +29,7 @@
+ ## THE POSSIBILITY OF SUCH DAMAGE.
+
+ GLEW_DEST ?= /usr
++LIBDIR = $(GLEW_DEST)/lib
+
+ include config/version
+
+@@ -112,18 +113,18 @@
+ # directories
+ $(INSTALL) -d -m 0755 $(GLEW_DEST)/bin
+ $(INSTALL) -d -m 0755 $(GLEW_DEST)/include/GL
+- $(INSTALL) -d -m 0755 $(GLEW_DEST)/lib
++ $(INSTALL) -d -m 0755 $(LIBDIR)
+ # runtime
+ ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
+ $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/bin/
+ else
+ ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
+ strip -x lib/$(LIB.SHARED)
+- $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
+- $(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME)
++ $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
++ $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
+ else
+- $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
+- $(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME)
++ $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
++ $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
+ endif
+ endif
+ # development files
+@@ -131,15 +132,15 @@
+ $(INSTALL) -m 0644 include/GL/glew.h $(GLEW_DEST)/include/GL
+ $(INSTALL) -m 0644 include/GL/glxew.h $(GLEW_DEST)/include/GL
+ ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
+- $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(GLEW_DEST)/lib/
++ $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/
+ else
+ ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
+ strip -x lib/$(LIB.STATIC)
+- $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/
+- $(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
++ $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
++ $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
+ else
+- $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/
+- $(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
++ $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
++ $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
+ endif
+ endif
+ # utilities
+@@ -149,13 +150,13 @@
+ $(RM) $(GLEW_DEST)/include/GL/wglew.h
+ $(RM) $(GLEW_DEST)/include/GL/glew.h
+ $(RM) $(GLEW_DEST)/include/GL/glxew.h
+- $(RM) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
++ $(RM) $(LIBDIR)/$(LIB.DEVLNK)
+ ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
+ $(RM) $(GLEW_DEST)/bin/$(LIB.SHARED)
+ else
+- $(RM) $(GLEW_DEST)/lib/$(LIB.SONAME)
+- $(RM) $(GLEW_DEST)/lib/$(LIB.SHARED)
+- $(RM) $(GLEW_DEST)/lib/$(LIB.STATIC)
++ $(RM) $(LIBDIR)/$(LIB.SONAME)
++ $(RM) $(LIBDIR)/$(LIB.SHARED)
++ $(RM) $(LIBDIR)/$(LIB.STATIC)
+ endif
+ $(RM) $(GLEW_DEST)/bin/$(GLEWINFO.BIN) $(GLEW_DEST)/bin/$(VISUALINFO.BIN)
+