aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/glew
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2009-05-17 22:58:53 +0800
committermva <mva@FreeBSD.org>2009-05-17 22:58:53 +0800
commitb181774163a18ebe3e7d8db42d1dfd7627b936fb (patch)
tree90c5d316801b1db6f9c00fe1954ef16d30a1c500 /graphics/glew
parent30c25d4f82f001732809c6482a5567736c9892b4 (diff)
downloadfreebsd-ports-gnome-b181774163a18ebe3e7d8db42d1dfd7627b936fb.tar.gz
freebsd-ports-gnome-b181774163a18ebe3e7d8db42d1dfd7627b936fb.tar.zst
freebsd-ports-gnome-b181774163a18ebe3e7d8db42d1dfd7627b936fb.zip
Unbreak build on amd64.
Approved by: miwi (mentor)
Diffstat (limited to 'graphics/glew')
-rw-r--r--graphics/glew/files/patch-config_Makefile.freebsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/glew/files/patch-config_Makefile.freebsd b/graphics/glew/files/patch-config_Makefile.freebsd
index ebea3a475c9c..263f718789c1 100644
--- a/graphics/glew/files/patch-config_Makefile.freebsd
+++ b/graphics/glew/files/patch-config_Makefile.freebsd
@@ -16,7 +16,7 @@
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
-CFLAGS.EXTRA += -I/usr/X11R6/include
-+CFLAGS.EXTRA += -I${LOCALBASE}/include
++CFLAGS.EXTRA += -I${LOCALBASE}/include -fPIC
NAME = GLEW
WARN = -Wall -W
POPT = -O2