diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile index d21cacb30674..e38171ea10d8 100644 --- a/graphics/glew/Makefile +++ b/graphics/glew/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= glew -PORTVERSION= 1.11.0 -PORTREVISION= 2 +PORTVERSION= 1.12.0 CATEGORIES= graphics MASTER_SITES= SF diff --git a/graphics/glew/distinfo b/graphics/glew/distinfo index 4ce879cd4ddc..fdda38d472ec 100644 --- a/graphics/glew/distinfo +++ b/graphics/glew/distinfo @@ -1,2 +1,2 @@ -SHA256 (glew-1.11.0.tgz) = 69bbce306ac281c4fa806a7a7d02c0596281a2d8f9d70690e98126f23ba513d6 -SIZE (glew-1.11.0.tgz) = 601430 +SHA256 (glew-1.12.0.tgz) = af58103f4824b443e7fa4ed3af593b8edac6f3a7be3b30911edbc7344f48e4bf +SIZE (glew-1.12.0.tgz) = 610965 diff --git a/graphics/glew/files/patch-config__Makefile.freebsd b/graphics/glew/files/patch-config__Makefile.freebsd index f94b64b9a0d2..d11b08dd0dc9 100644 --- a/graphics/glew/files/patch-config__Makefile.freebsd +++ b/graphics/glew/files/patch-config__Makefile.freebsd @@ -1,5 +1,5 @@ ---- ./config/Makefile.freebsd.orig 2014-08-11 16:14:56.000000000 +0200 -+++ ./config/Makefile.freebsd 2014-08-17 19:36:47.000000000 +0200 +--- config/Makefile.freebsd.orig 2015-02-08 09:24:57 UTC ++++ config/Makefile.freebsd @@ -1,22 +1,22 @@ NAME = $(GLEW_NAME) -CC = cc @@ -11,7 +11,7 @@ LDFLAGS.GL = -lGL -lX11 LDFLAGS.STATIC = -Wl,-Bstatic LDFLAGS.DYNAMIC = -Wl,-Bdynamic --CFLAGS.EXTRA += -I/usr/X11R6/include +-CFLAGS.EXTRA += -I/usr/X11R6/include -fPIC +CFLAGS.EXTRA += -I${LOCALBASE}/include -fPIC NAME = GLEW WARN = -Wall -W diff --git a/graphics/glew/pkg-plist b/graphics/glew/pkg-plist index 646eb8b13abd..a0e5b508bfd9 100644 --- a/graphics/glew/pkg-plist +++ b/graphics/glew/pkg-plist @@ -15,6 +15,7 @@ libdata/pkgconfig/glewmx.pc %%PORTDOCS%%%%DOCSDIR%%/basic.html %%PORTDOCS%%%%DOCSDIR%%/build.html %%PORTDOCS%%%%DOCSDIR%%/credits.html +%%PORTDOCS%%%%DOCSDIR%%/github.png %%PORTDOCS%%%%DOCSDIR%%/glew.css %%PORTDOCS%%%%DOCSDIR%%/glew.html %%PORTDOCS%%%%DOCSDIR%%/glew.png