Date: Sun, 25 Jan 2004 07:51:53 +0300 (MSK) From: Igor Pokrovsky <tiamat@comset.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61866: Update port: graphics/glew bento fix Message-ID: <200401250451.i0P4prSL003878@doom.homeunix.org> Resent-Message-ID: <200401250500.i0P50Uqk000381@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401250451.i0P4prSL003878>