diff options
author | mva <mva@FreeBSD.org> | 2013-10-11 00:37:02 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2013-10-11 00:37:02 +0800 |
commit | e579c83993cc85ca28d67fab6836964967c0a2f5 (patch) | |
tree | 78db9e29df6e84f7e728cb617f18082b68ff1c31 /graphics/glew | |
parent | 4aac3ef130b37581e6c57839420b0e83b9eb8bef (diff) | |
download | freebsd-ports-graphics-e579c83993cc85ca28d67fab6836964967c0a2f5.tar.gz freebsd-ports-graphics-e579c83993cc85ca28d67fab6836964967c0a2f5.tar.zst freebsd-ports-graphics-e579c83993cc85ca28d67fab6836964967c0a2f5.zip |
- Fix the include path reported by pkg-config --cflags
Submitted by: acm@
Diffstat (limited to 'graphics/glew')
-rw-r--r-- | graphics/glew/Makefile | 1 | ||||
-rw-r--r-- | graphics/glew/files/patch-Makefile | 16 |
2 files changed, 13 insertions, 4 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile index 2e18a32ec6d..f15d78b7a12 100644 --- a/graphics/glew/Makefile +++ b/graphics/glew/Makefile @@ -3,6 +3,7 @@ PORTNAME= glew PORTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF EXTRACT_SUFX= .tgz diff --git a/graphics/glew/files/patch-Makefile b/graphics/glew/files/patch-Makefile index 1a841b85366..5630144d942 100644 --- a/graphics/glew/files/patch-Makefile +++ b/graphics/glew/files/patch-Makefile @@ -1,7 +1,15 @@ -$FreeBSD$ ---- Makefile.orig 2012-10-04 19:45:21.000000000 +0200 -+++ Makefile 2012-10-04 19:45:38.000000000 +0200 -@@ -72,7 +72,7 @@ +--- Makefile.orig 2013-07-22 16:11:22.000000000 +0200 ++++ Makefile 2013-10-03 21:24:28.000000000 +0200 +@@ -40,7 +40,7 @@ + $(error "Platform '$(SYSTEM)' not supported") + endif + +-GLEW_DEST ?= /usr ++GLEW_DEST ?= $(PREFIX) + BINDIR ?= $(GLEW_DEST)/bin + LIBDIR ?= $(GLEW_DEST)/lib + INCDIR ?= $(GLEW_DEST)/include/GL +@@ -71,7 +71,7 @@ OPT = $(POPT) endif INCLUDE = -Iinclude |