e60316b4fe
Downgraded graphics/MesaLib to 6.4.2nb3 Downgraded graphics/glu to 6.4.2 Downgraded graphics/glut to 6.4.2 Downgraded graphics/glx-utils to 6.4.2 Downgraded graphics/MesaDemos to 6.4.2 Downgraded graphics/Mesa to 6.4.2 Approved byg agc@.
28 lines
811 B
Text
28 lines
811 B
Text
$NetBSD: patch-ae,v 1.9 2007/08/13 11:18:45 seb Exp $
|
|
|
|
--- src/glw/Makefile.orig 2005-07-26 07:55:56.000000000 +0200
|
|
+++ src/glw/Makefile
|
|
@@ -17,7 +17,7 @@ OBJECTS = $(GLW_SOURCES:.c=.o)
|
|
##### RULES #####
|
|
|
|
.c.o:
|
|
- $(CC) -c $(INCDIRS) $(CFLAGS) $<
|
|
+ ${LIBTOOL} --mode=compile $(CC) -c $(INCDIRS) $(CFLAGS) $<
|
|
|
|
|
|
|
|
@@ -33,10 +33,10 @@ clean:
|
|
|
|
# Make the library
|
|
$(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS)
|
|
- $(TOP)/bin/mklib -o $(GLW_LIB) -linker '$(CC)' \
|
|
- -major $(MAJOR) -minor $(MINOR) -patch $(TINY) \
|
|
- $(MKLIB_OPTIONS) -install $(LIB_DIR) \
|
|
- $(GLW_LIB_DEPS) $(OBJECTS)
|
|
+ ${LIBTOOL} --mode=link ${CC} -o ${GLW_LIB_NAME:.so=.la} \
|
|
+ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \
|
|
+ -version-info ${MAJOR}:${MINOR} -L${X11BASE}/lib \
|
|
+ ${GLW_LIB_DEPS:S|-lGL|../mesa/libGL.la|} -Wl,-R${X11BASE}/lib
|
|
|
|
|
|
#
|