summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/MesaLib/patches/patch-ah')
-rw-r--r--graphics/MesaLib/patches/patch-ah42
1 files changed, 0 insertions, 42 deletions
diff --git a/graphics/MesaLib/patches/patch-ah b/graphics/MesaLib/patches/patch-ah
deleted file mode 100644
index 60ef2ed02cb..00000000000
--- a/graphics/MesaLib/patches/patch-ah
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD: patch-ah,v 1.8 2008/04/24 07:40:24 bjs Exp $
-
---- src/mesa/drivers/dri/glcore/Makefile.orig 2007-09-28 20:43:28.000000000 -0400
-+++ src/mesa/drivers/dri/glcore/Makefile
-@@ -36,7 +36,7 @@ INCLUDE_DIRS = \
- MESA_MODULES = $(TOP)/src/mesa/libmesa.a
-
- # Libraries that the driver shared lib depends on
--LIB_DEPS = -lm -lpthread -lc
-+LIB_DEPS = -lm -lc
- # LIB_DEPS = -lGL -lm -lpthread -lc
-
-
-@@ -49,10 +49,12 @@ OBJECTS = $(C_SOURCES:.c=.o) \
- ##### RULES #####
-
- .c.o:
-- $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(DEFINES) $< -o $@
-+ $(LIBTOOL) --mode=compile --tag=CC \
-+ $(CC) -c -prefer-pic $(INCLUDE_DIRS) $(CFLAGS) $(DEFINES) $< -o $(@:.o=.lo)
-
- .S.o:
-- $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(DEFINES) $< -o $@
-+ $(LIBTOOL) --mode=compile --tag=CC \
-+ $(CC) -c -prefer-pic $(INCLUDE_DIRS) $(CFLAGS) $(DEFINES) $< -o $(@:.o=.lo)
-
-
- ##### TARGETS #####
-@@ -61,9 +63,10 @@ default: depend $(TOP)/$(LIB_DIR)/$(LIBN
-
-
- $(TOP)/$(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile
-- CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(LIBNAME) -noprefix \
-- -ldflags '$(LDFLAGS)' -install $(TOP)/$(LIB_DIR) \
-- $(OBJECTS) $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(MESA_MODULES)
-+ $(LIBTOOL) --mode=link $(CC) -o $(TOP)/$(LIB_DIR)/$(LIB_NAME:.so=.la) \
-+ $(LDFLAGS) $(OBJECTS:.o=.lo) $(WINLIB) $(LIB_DEPS) \
-+ $(WINOBJ:.o=.lo) $(MESA_MODULES:.a=.la) -rpath $(PREFIX)/lib \
-+ -module -avoid-version
-
-
- depend: $(C_SOURCES) $(ASM_SOURCES)