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@.
30 lines
939 B
Text
30 lines
939 B
Text
$NetBSD: patch-af,v 1.8 2007/08/13 11:18:45 seb Exp $
|
|
|
|
--- src/glu/sgi/Makefile.orig 2005-07-26 07:55:56.000000000 +0200
|
|
+++ src/glu/sgi/Makefile
|
|
@@ -115,9 +115,11 @@ OBJECTS = $(C_OBJECTS) $(CC_OBJECTS)
|
|
##### RULES #####
|
|
|
|
.c.o:
|
|
+ ${LIBTOOL} --tag=CC --mode=compile \
|
|
$(CC) -c $(INCDIRS) $(CFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@
|
|
|
|
.cc.o:
|
|
+ ${LIBTOOL} --tag=CXX --mode=compile \
|
|
$(CXX) -c $(INCDIRS) $(CXXFLAGS) -DNDEBUG -DLIBRARYBUILD $< -o $@
|
|
|
|
|
|
@@ -136,10 +138,9 @@ $(LIB_DIR):
|
|
|
|
# Make the library:
|
|
$(LIB_DIR)/$(GLU_LIB_NAME): $(OBJECTS)
|
|
- $(TOP)/bin/mklib -o $(GLU_LIB) -linker '$(CXX)' \
|
|
- -major $(GLU_MAJOR) -minor $(GLU_MINOR) -patch $(GLU_TINY) \
|
|
- -cplusplus $(MKLIB_OPTIONS) -install $(LIB_DIR) \
|
|
- $(GLU_LIB_DEPS) $(OBJECTS)
|
|
+ ${LIBTOOL} --tag=CXX --mode=link ${CXX} -o ${GLU_LIB_NAME:.so=.la} \
|
|
+ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \
|
|
+ -version-info ${GLU_MAJOR}:${GLU_MINOR} ${GLU_LIB_DEPS}
|
|
|
|
|
|
clean:
|