Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 1999 15:36:39 -0800
From:      Chris Piazza <cpiazza@jaxon.net>
To:        Mark Ovens <mark@dogma.freebsd-uk.eu.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: glclock port broken?
Message-ID:  <19991214153639.C722@norn.ca.eu.org>
In-Reply-To: <19991214213635.D339@marder-1>; from mark@dogma.freebsd-uk.eu.org on Tue, Dec 14, 1999 at 09:36:35PM %2B0000
References:  <19991214213635.D339@marder-1>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991214153639.C722>