diff options
author | adam <adam@pkgsrc.org> | 2015-11-03 20:28:45 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2015-11-03 20:28:45 +0000 |
commit | 08081d8c59923b8ed787c6c187f5a33b44f4e2cc (patch) | |
tree | 91a07bf74a555299be6efadfe3f00996b0950b90 | |
parent | 42180151f37f695874876985e2bc86b48c3331bd (diff) | |
download | pkgsrc-08081d8c59923b8ed787c6c187f5a33b44f4e2cc.tar.gz |
Fix for pkg-config creation on Darwin
-rw-r--r-- | graphics/glew/distinfo | 5 | ||||
-rw-r--r-- | graphics/glew/patches/patch-ac | 22 |
2 files changed, 20 insertions, 7 deletions
diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo index df8c3a8173f..23c7971c294 100644 --- a/graphics/glew/distinfo +++ b/graphics/glew/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.19 2015/08/12 10:52:48 adam Exp $ +$NetBSD: distinfo,v 1.20 2015/11/03 20:28:45 adam Exp $ SHA1 (glew-1.13.0.tgz) = d5b1c499f429aa91c466193b4e8ea94a84019e37 RMD160 (glew-1.13.0.tgz) = 4ed99bea403cbe72d05cfca25694b31209922f9f +SHA512 (glew-1.13.0.tgz) = 8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f Size (glew-1.13.0.tgz) = 616070 bytes -SHA1 (patch-ac) = 2b2e391420a6467808530d387871e708f70a4a11 +SHA1 (patch-ac) = c660635a526a7da09282b50567b9b230a35bd774 SHA1 (patch-config_Makefile.linux) = 49ae0366211065225c944cd0088af6e591f12aa9 diff --git a/graphics/glew/patches/patch-ac b/graphics/glew/patches/patch-ac index 367622fd444..26914880ca5 100644 --- a/graphics/glew/patches/patch-ac +++ b/graphics/glew/patches/patch-ac @@ -1,10 +1,22 @@ -$NetBSD: patch-ac,v 1.12 2015/08/12 10:52:49 adam Exp $ +$NetBSD: patch-ac,v 1.13 2015/11/03 20:28:45 adam Exp $ +On Darwin, do not put GLU as required lib in glew.pc. Use LDFLAGS for linking. ---- Makefile.orig 2015-08-10 11:47:22.000000000 +0000 +--- Makefile.orig 2015-11-03 19:58:23.000000000 +0000 +++ Makefile -@@ -115,7 +115,7 @@ ifneq ($(STRIP),) +@@ -47,8 +47,10 @@ LIBDIR ?= $(GLEW_DEST)/lib + INCDIR ?= $(GLEW_DEST)/include/GL + + ifneq ($(GLEW_NO_GLU), -DGLEW_NO_GLU) ++ifneq ($(SYSTEM), darwin) + LIBGLU = glu + endif ++endif + + DIST_NAME ?= glew-$(GLEW_VERSION) + DIST_SRC_ZIP ?= $(shell pwd)/$(DIST_NAME).zip +@@ -115,7 +117,7 @@ ifneq ($(STRIP),) endif lib/$(LIB.SHARED): $(LIB.SOBJS) @@ -13,7 +25,7 @@ Use LDFLAGS for linking. ifneq ($(LN),) $(LN) $(LIB.SHARED) lib/$(LIB.SONAME) $(LN) $(LIB.SHARED) lib/$(LIB.DEVLNK) -@@ -163,7 +163,7 @@ ifneq ($(STRIP),) +@@ -163,7 +165,7 @@ ifneq ($(STRIP),) endif lib/$(LIB.SHARED.MX): $(LIB.SOBJS.MX) @@ -22,7 +34,7 @@ Use LDFLAGS for linking. ifneq ($(LN),) $(LN) $(LIB.SHARED.MX) lib/$(LIB.SONAME.MX) $(LN) $(LIB.SHARED.MX) lib/$(LIB.DEVLNK.MX) -@@ -222,13 +222,13 @@ bin: +@@ -222,13 +224,13 @@ bin: mkdir bin bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJ) lib/$(LIB.SHARED) |