From owner-freebsd-ports Tue Dec 14 15:36:45 1999 Delivered-To: freebsd-ports@freebsd.org Received: from norn.ca.eu.org (cr965240-b.abtsfd1.bc.wave.home.com [24.113.19.137]) by hub.freebsd.org (Postfix) with ESMTP id 545AB152E5 for ; Tue, 14 Dec 1999 15:36:43 -0800 (PST) (envelope-from cpiazza@norn.ca.eu.org) Received: by norn.ca.eu.org (Postfix, from userid 1000) id 66E8523A; Tue, 14 Dec 1999 15:36:39 -0800 (PST) Date: Tue, 14 Dec 1999 15:36:39 -0800 From: Chris Piazza To: Mark Ovens Cc: ports@FreeBSD.ORG Subject: Re: glclock port broken? Message-ID: <19991214153639.C722@norn.ca.eu.org> References: <19991214213635.D339@marder-1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991214213635.D339@marder-1>; from mark@dogma.freebsd-uk.eu.org on Tue, Dec 14, 1999 at 09:36:35PM +0000 X-Operating-System: FreeBSD 4.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Dec 14, 1999 at 09:36:35PM +0000, Mark Ovens wrote: > Just tried to build glclock from the ports (ports tree cvsup'd 10 > minutes ago) and it fails at the link stage. Can anyone tell me what's > wrong? > > 3.3-STABLE (as of the end of Sept.) and XFree 3.3.5. > Here's a patch to fix it. I'll commit this after the freeze. Index: glclock/patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/x11-clocks/glclock/patches/patch-aa,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 patch-aa --- glclock/patches/patch-aa 1999/09/25 22:29:13 1.1.1.1 +++ glclock/patches/patch-aa 1999/12/14 23:35:48 @@ -1,5 +1,5 @@ --- makefile.orig Sat Jun 12 08:37:05 1999 -+++ makefile Sat Sep 25 15:23:49 1999 ++++ makefile Tue Dec 14 15:34:07 1999 @@ -3,22 +3,27 @@ # June 1998 by Masaki Kawase (g93088@isc.chubu.ac.jp) # @@ -16,12 +16,13 @@ - LIB_PATH = -L/usr/local/X11R6/lib + GLCLOCK_DIR = ${PREFIX}/lib/X11/glclock/ +- LIBS = -lglut -lGLU -lGL -lXext -lXmu -lX11 -lm + INCLUDE_PATH = -I${X11BASE}/include + LIB_PATH = -L${X11BASE}/lib -Wl,-rpath,/usr/X11R6/lib + +# Link with -lGL on FreeBSD so we use hardware-accelerated GL, when installed. +# (see http://www.freebsd.org/~3d) - LIBS = -lglut -lGLU -lGL -lXext -lXmu -lX11 -lm ++ LIBS = -lglut -lGLU -lGL -lXext -lXmu -lX11 -lm -lXi # for Mesa # LIBS = -lglut -lMesatk -lMesaGLU -lMesaGL -lXi -lXext -lXmu -lX11 -lm -Chris -- cpiazza@jaxon.net cpiazza@FreeBSD.org Abbotsford, BC, Canada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message