- Fix the include path reported by pkg-config --cflags

Submitted by:	acm@
This commit is contained in:
Marcus von Appen 2013-10-10 16:37:02 +00:00
parent 5711aebd96
commit 1f26542905
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330016
2 changed files with 13 additions and 4 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= glew PORTNAME= glew
PORTVERSION= 1.10.0 PORTVERSION= 1.10.0
PORTREVISION= 1
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= SF MASTER_SITES= SF
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz

View file

@ -1,7 +1,15 @@
$FreeBSD$ --- Makefile.orig 2013-07-22 16:11:22.000000000 +0200
--- Makefile.orig 2012-10-04 19:45:21.000000000 +0200 +++ Makefile 2013-10-03 21:24:28.000000000 +0200
+++ Makefile 2012-10-04 19:45:38.000000000 +0200 @@ -40,7 +40,7 @@
@@ -72,7 +72,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) OPT = $(POPT)
endif endif
INCLUDE = -Iinclude INCLUDE = -Iinclude