diff options
author | dholland <dholland@pkgsrc.org> | 2011-07-17 07:45:19 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-07-17 07:45:19 +0000 |
commit | cc5a3e953238c59b093031443aa79f9bc611ab95 (patch) | |
tree | 0e45a9e67e67e1507096e79d20f004bed06a6989 /graphics | |
parent | 07fba130523a795b8be6f20c9e5f00ccdd143483 (diff) | |
download | pkgsrc-cc5a3e953238c59b093031443aa79f9bc611ab95.tar.gz |
Fix broken build on NetBSD.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/glew/distinfo | 4 | ||||
-rw-r--r-- | graphics/glew/patches/patch-aa | 22 |
2 files changed, 17 insertions, 9 deletions
diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo index 9effe442d11..bf461ddf292 100644 --- a/graphics/glew/distinfo +++ b/graphics/glew/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.11 2011/07/13 19:47:38 adam Exp $ +$NetBSD: distinfo,v 1.12 2011/07/17 07:45:19 dholland Exp $ SHA1 (glew-1.6.0.tgz) = ed555d15d0f01239b262c4cf803e97d60d8a18b6 RMD160 (glew-1.6.0.tgz) = 5b896cb9bf3b2058cc6a5e167d64bae04b46eb6c Size (glew-1.6.0.tgz) = 494713 bytes -SHA1 (patch-aa) = 8f1d6f48e26f8ce13282b676ac18ac49f596ae9b +SHA1 (patch-aa) = 0d1afd9009f5bb89868ca6d9c5f6561fce3d9e4b SHA1 (patch-ac) = f071608a22b201575f009fb8a257d27deab2c8fc SHA1 (patch-ad) = 0801264561feb144179f7e6904080873529890ff diff --git a/graphics/glew/patches/patch-aa b/graphics/glew/patches/patch-aa index 6801c128864..0d619a4beb6 100644 --- a/graphics/glew/patches/patch-aa +++ b/graphics/glew/patches/patch-aa @@ -1,8 +1,10 @@ -$NetBSD: patch-aa,v 1.2 2008/09/01 10:06:33 dholland Exp $ +$NetBSD: patch-aa,v 1.3 2011/07/17 07:45:19 dholland Exp $ ---- config/Makefile.netbsdelf.orig 2006-02-03 13:24:33.000000000 +0000 +Configuration for NetBSD. (Also used for Dragonfly.) + +--- config/Makefile.netbsdelf.orig 2011-07-17 07:35:16.000000000 +0000 +++ config/Makefile.netbsdelf -@@ -0,0 +1,23 @@ +@@ -0,0 +1,29 @@ +NAME = $(GLEW_NAME) +CC = cc +LD = ld @@ -21,8 +23,14 @@ $NetBSD: patch-aa,v 1.2 2008/09/01 10:06:33 dholland Exp $ +WARN = -Wall -W +POPT ?= -O2 +BIN.SUFFIX = -+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -+LIB.DEVLNK = lib$(NAME).so -+LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -+LIB.STATIC = lib$(NAME).a ++LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) ++LIB.DEVLNK = lib$(NAME).so ++LIB.SHARED = lib$(NAME).so.$(SO_VERSION) ++LIB.STATIC = lib$(NAME).a ++LDFLAGS.SO = -shared -soname $(LIB.SONAME) ++LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR) ++LIB.DEVLNK.MX = lib$(NAME)mx.so ++LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION) ++LIB.STATIC.MX = lib$(NAME)mx.a ++LDFLAGS.SO.MX = -shared -soname $(LIB.SONAME.MX) +SHARED_OBJ_EXT = pic_o |