diff options
author | krion <krion@FreeBSD.org> | 2005-01-08 18:45:44 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-01-08 18:45:44 +0800 |
commit | e5485f4af4eba64c192b96fab87f3d24caa53f1d (patch) | |
tree | 6aad2ef9399ad33e56f7a496d8eaf76e97a4fc3e /graphics | |
parent | 4f962cae1802ab74f3c857df223fb624010f8762 (diff) | |
download | freebsd-ports-gnome-e5485f4af4eba64c192b96fab87f3d24caa53f1d.tar.gz freebsd-ports-gnome-e5485f4af4eba64c192b96fab87f3d24caa53f1d.tar.zst freebsd-ports-gnome-e5485f4af4eba64c192b96fab87f3d24caa53f1d.zip |
Fix build on amd64.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/glew/files/patch-Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/graphics/glew/files/patch-Makefile b/graphics/glew/files/patch-Makefile index da5238fb7e31..7ef8e4dc9cc5 100644 --- a/graphics/glew/files/patch-Makefile +++ b/graphics/glew/files/patch-Makefile @@ -1,6 +1,9 @@ ---- Makefile.orig Sun Dec 14 18:21:44 2003 -+++ Makefile Sun Jan 25 07:38:41 2004 -@@ -83,6 +83,26 @@ + +$FreeBSD$ + +--- Makefile.orig ++++ Makefile +@@ -143,6 +143,26 @@ else # ---------------------------------------------------------------------------- @@ -27,20 +30,20 @@ # Irix # ---------------------------------------------------------------------------- ifeq ($(patsubst IRIX%,IRIX,$(SYSTEM)), IRIX) -@@ -158,6 +179,7 @@ +@@ -228,6 +248,7 @@ endif endif endif +endif - AR = ar - INSTALL = install -@@ -171,7 +193,7 @@ + ifeq (undefined, $(origin SHARED_OBJ_EXT)) + SHARED_OBJ_EXT = o +@@ -245,7 +266,7 @@ STRIP = -s endif INCLUDE = -Iinclude -CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA) -+CFLAGS += $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA) ++CFLAGS += $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA) -fPIC LIB.SRCS = src/glew.c LIB.OBJS = $(LIB.SRCS:.c=.o) |