aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glew
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2012-10-05 05:29:54 +0800
committermva <mva@FreeBSD.org>2012-10-05 05:29:54 +0800
commitace7d42599cb53c1ab85182b7945946f18bb34c6 (patch)
treea5a33d15b95802224394d4b8ba18717e23148949 /graphics/glew
parentcdafb45198368046e4206243a218c7ebc1f80a5f (diff)
downloadfreebsd-ports-gnome-ace7d42599cb53c1ab85182b7945946f18bb34c6.tar.gz
freebsd-ports-gnome-ace7d42599cb53c1ab85182b7945946f18bb34c6.tar.zst
freebsd-ports-gnome-ace7d42599cb53c1ab85182b7945946f18bb34c6.zip
- Update to 1.9.0
Diffstat (limited to 'graphics/glew')
-rw-r--r--graphics/glew/Makefile2
-rw-r--r--graphics/glew/distinfo4
-rw-r--r--graphics/glew/files/patch-Makefile11
-rw-r--r--graphics/glew/files/patch-config_Makefile.freebsd7
4 files changed, 13 insertions, 11 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile
index 539f1d5964c6..524be03d7408 100644
--- a/graphics/glew/Makefile
+++ b/graphics/glew/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= glew
-PORTVERSION= 1.8.0
+PORTVERSION= 1.9.0
CATEGORIES= graphics
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo
index 69a146954d07..dcca2250b334 100644
--- a/graphics/glew/distinfo
+++ b/graphics/glew/distinfo
@@ -1,2 +1,2 @@
-SHA256 (glew-1.8.0.tgz) = e0041a98b7763a9cc079f5aec8965958b95b37cf1b91a5ded2a8c00d878dfa57
-SIZE (glew-1.8.0.tgz) = 523395
+SHA256 (glew-1.9.0.tgz) = 9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787
+SIZE (glew-1.9.0.tgz) = 544440
diff --git a/graphics/glew/files/patch-Makefile b/graphics/glew/files/patch-Makefile
index f17419f0e084..1a841b85366e 100644
--- a/graphics/glew/files/patch-Makefile
+++ b/graphics/glew/files/patch-Makefile
@@ -1,11 +1,12 @@
---- Makefile.orig 2008-11-03 07:25:21.000000000 +0100
-+++ Makefile 2009-05-04 21:58:03.000000000 +0200
-@@ -59,7 +59,7 @@
+$FreeBSD$
+--- Makefile.orig 2012-10-04 19:45:21.000000000 +0200
++++ Makefile 2012-10-04 19:45:38.000000000 +0200
+@@ -72,7 +72,7 @@
OPT = $(POPT)
endif
INCLUDE = -Iinclude
-CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
+CFLAGS += $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
- LIB.SRCS = src/glew.c
- LIB.OBJS = $(LIB.SRCS:.c=.o)
+ all debug: glew.lib glew.lib.mx glew.bin
+
diff --git a/graphics/glew/files/patch-config_Makefile.freebsd b/graphics/glew/files/patch-config_Makefile.freebsd
index 8258f2300278..c48a4c3be498 100644
--- a/graphics/glew/files/patch-config_Makefile.freebsd
+++ b/graphics/glew/files/patch-config_Makefile.freebsd
@@ -1,5 +1,6 @@
---- config/Makefile.freebsd.orig 2011-04-27 18:16:34.000000000 +0200
-+++ config/Makefile.freebsd 2011-05-09 19:43:51.000000000 +0200
+$FreeBSD$
+--- config/Makefile.freebsd.orig 2012-10-04 19:47:46.000000000 +0200
++++ config/Makefile.freebsd 2012-10-04 19:49:06.000000000 +0200
@@ -1,22 +1,22 @@
NAME = $(GLEW_NAME)
-CC = cc
@@ -8,7 +9,7 @@
+CC ?= cc
+LD ?= ld
+LDFLAGS.EXTRA = -L${LOCALBASE}/lib
- LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
+ LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
-CFLAGS.EXTRA += -I/usr/X11R6/include