On 24 April 2008, the GL library was removed from the configuration to "Fix build with the latest version of the Mesalib package". Symbols from this library are still referenced though. The patch was changed to the original libraries and order with the exception of the additional libSM and libICE. It builds fine using the latest Mesalib package.
21 lines
670 B
Text
21 lines
670 B
Text
$NetBSD: patch-aa,v 1.6 2012/01/29 15:53:27 marino Exp $
|
|
|
|
--- makefile.orig 2000-06-18 15:37:40.000000000 +0100
|
|
+++ makefile 2008-04-24 14:54:35.000000000 +0100
|
|
@@ -13,12 +13,12 @@
|
|
|
|
COMPILER = g++ -c
|
|
LINKER = g++
|
|
- OPT = -O2
|
|
+ OPT =
|
|
|
|
- INCLUDE_PATH = -I/usr/X11R6/include
|
|
- LIB_PATH = -L/usr/X11R6/lib
|
|
+ INCLUDE_PATH = -I${LOCALBASE}/include
|
|
+ LIB_PATH = -L${LOCALBASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/lib
|
|
|
|
- LIBS = -lglut -lGLU -lGL -lXi -lXmu -lXext -lX11 -lm
|
|
+ LIBS = -lglut -lGLU -lGL -lXi -lXmu -lXext -lX11 -lXt -lSM -lICE -lm
|
|
MARK_LIBS = -lm
|
|
|
|
#
|