1 --- glew-2.2.0/Makefile 2020-03-15 12:53:59.000000000 +0100
2 +++ glew-2.2.0/Makefile 2020-04-17 11:51:25.568482195 +0200
6 $(LIB.SHARED.DIR)/$(LIB.SHARED): $(LIB.SOBJS)
7 - $(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
8 + $(LD) $(LDFLAGS.SO) $(LDFLAGS) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
10 $(LN) $(LIB.SHARED) $(LIB.SHARED.DIR)/$(LIB.SONAME)
11 $(LN) $(LIB.SHARED) $(LIB.SHARED.DIR)/$(LIB.DEVLNK)
14 tmp/$(SYSTEM)/default/static/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
16 - $(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
17 + $(CC) -DGLEW_NO_GLU -DGLEW_STATIC $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
19 tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
21 - $(CC) -DGLEW_NO_GLU -DGLEW_BUILD $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
22 + $(CC) -DGLEW_NO_GLU -DGLEW_BUILD $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
24 # Force re-write of glew.pc, GLEW_DEST can vary
29 bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
30 - $(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
31 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
36 bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
37 - $(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
38 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
44 $(GLEWINFO.BIN.OBJ): $(GLEWINFO.BIN.SRC) include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
46 - $(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
47 + $(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
49 $(VISUALINFO.BIN.OBJ): $(VISUALINFO.BIN.SRC) include/GL/glew.h include/GL/wglew.h include/GL/glxew.h
51 - $(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) -o $@ -c $<
52 + $(CC) -DGLEW_NO_GLU $(CFLAGS) $(CFLAGS.SO) $(LDFLAGS) -o $@ -c $<
56 --- glew-2.1.0/Makefile.install 2018-08-15 13:51:45.220637107 +0200
57 +++ glew-2.1.0/Makefile 2018-08-15 13:52:02.168740876 +0200
58 @@ -231,6 +231,7 @@ install.bin: glew.bin
61 $(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
62 + $(INSTALL) -m 0644 include/GL/eglew.h "$(DESTDIR)$(INCDIR)/"
63 $(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
64 $(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
65 $(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
66 @@ -241,6 +242,7 @@ install.pkgconfig: glew.pc
67 $(INSTALL) -m 0644 glew.pc "$(DESTDIR)$(PKGDIR)/"
70 + $(RM) "$(DESTDIR)$(INCDIR)/eglew.h"
71 $(RM) "$(DESTDIR)$(INCDIR)/wglew.h"
72 $(RM) "$(DESTDIR)$(INCDIR)/glew.h"
73 $(RM) "$(DESTDIR)$(INCDIR)/glxew.h"