ports/61866: Update port: graphics/glew bento fix
Igor Pokrovsky
tiamat at comset.net
Sun Jan 25 05:00:36 UTC 2004
>Number: 61866
>Category: ports
>Synopsis: Update port: graphics/glew bento fix
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 24 21:00:29 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Igor Pokrovsky
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Jan 22 19:08:56 MSK 2004 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386
>Description:
Added -fPIC compiler option to fix build on AMD64
>How-To-Repeat:
>Fix:
--- glew.diff begins here ---
diff -ru /usr/ports/graphics/glew/files/patch-Makefile glew/files/patch-Makefile
--- /usr/ports/graphics/glew/files/patch-Makefile Thu Jan 1 21:26:52 2004
+++ glew/files/patch-Makefile Sun Jan 25 07:38:55 2004
@@ -1,5 +1,5 @@
--- Makefile.orig Sun Dec 14 18:21:44 2003
-+++ Makefile Wed Dec 31 06:25:49 2003
++++ Makefile Sun Jan 25 07:38:41 2004
@@ -83,6 +83,27 @@
else
@@ -10,7 +10,7 @@
+NAME = GLEW
+CC ?= gcc
+LD ?= ld
-+CFLAGS.EXTRA = -I${X11BASE}/include
++CFLAGS.EXTRA = -fPIC -I${X11BASE}/include
+LDFLAGS.SO = -shared -soname $(LIB.SONAME)
+LDFLAGS.EXTRA = -L${X11BASE}/lib
+LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
--- glew.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list