summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/glew/distinfo3
-rw-r--r--graphics/glew/patches/patch-ac26
2 files changed, 28 insertions, 1 deletions
diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo
index 9107bc87525..d8810a2c149 100644
--- a/graphics/glew/distinfo
+++ b/graphics/glew/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/08/15 15:21:27 abs Exp $
+$NetBSD: distinfo,v 1.2 2006/10/04 21:59:27 rillig Exp $
SHA1 (glew-1.3.4-src.tgz) = d70fb9fc07b99ec87a192818f73fc31b42c0811b
RMD160 (glew-1.3.4-src.tgz) = 1f845fddb61c5a679a105aeae9ff21037d9fab6d
Size (glew-1.3.4-src.tgz) = 362854 bytes
SHA1 (patch-aa) = 4d29ab40d2a12c433f804f953c0309df52611588
SHA1 (patch-ab) = 35e46b52e743d2d4e3dcb275c57d91676f64b9b4
+SHA1 (patch-ac) = 426186e47277f63dd7853c84e76b1192a7913b2c
diff --git a/graphics/glew/patches/patch-ac b/graphics/glew/patches/patch-ac
new file mode 100644
index 00000000000..69eca5b48df
--- /dev/null
+++ b/graphics/glew/patches/patch-ac
@@ -0,0 +1,26 @@
+$NetBSD: patch-ac,v 1.1 2006/10/04 21:59:27 rillig Exp $
+
+--- Makefile.orig 2006-03-03 00:02:51.000000000 +0100
++++ Makefile 2006-10-04 23:57:19.000000000 +0200
+@@ -87,7 +87,7 @@ lib/$(LIB.STATIC): $(LIB.OBJS)
+ $(AR) cr $@ $^
+
+ lib/$(LIB.SHARED): $(LIB.SOBJS)
+- $(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
++ $(LD) $(LDFLAGS) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
+ ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
+ else
+ $(LN) $(LIB.SHARED) lib/$(LIB.SONAME)
+@@ -95,10 +95,10 @@ else
+ endif
+
+ bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.SRCS)
+- $(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(BIN.LIBS)
+
+ bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.SRCS)
+- $(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(BIN.LIBS)
+
+ %.o: %.c
+ $(CC) -c $(CFLAGS) -o $@ $<