aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2012-10-04 21:29:54 +0000
committerMarcus von Appen <mva@FreeBSD.org>2012-10-04 21:29:54 +0000
commitac5449e264f1d9d00c2c2d99882b9f1238410299 (patch)
treea5a33d15b95802224394d4b8ba18717e23148949
parentdfd32459912c40273437aa74395eadb45ac66108 (diff)
downloadports-ac5449e264f1d9d00c2c2d99882b9f1238410299.tar.gz
ports-ac5449e264f1d9d00c2c2d99882b9f1238410299.zip
Notes
-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