summaryrefslogtreecommitdiff
path: root/wm/afterstep/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'wm/afterstep/patches/patch-ag')
-rw-r--r--wm/afterstep/patches/patch-ag55
1 files changed, 55 insertions, 0 deletions
diff --git a/wm/afterstep/patches/patch-ag b/wm/afterstep/patches/patch-ag
new file mode 100644
index 00000000000..45b49c5d173
--- /dev/null
+++ b/wm/afterstep/patches/patch-ag
@@ -0,0 +1,55 @@
+$NetBSD: patch-ag,v 1.1.1.1 2000/12/12 02:03:46 wiz Exp $
+
+--- autoconf/Makefile.common.in.orig Wed Aug 25 17:44:20 1999
++++ autoconf/Makefile.common.in Fri Aug 27 21:56:14 1999
+@@ -7,7 +7,7 @@
+ all: $(PROG)
+
+ install.bin: $(PROG)
+- $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)/$(PROG)
+
+ install.lib: @LIBPROG@ @LIBINSTALL@
+
+@@ -70,10 +70,10 @@
+ done
+
+ $(PROG): $(OBJS) $(LIBS_DEPEND)
+- $(CC) $(OBJS) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@)
++ $(LIBTOOL) --mode=link $(CC) $(OBJS:.o=.lo) $(LIBRARIES) $(EXTRA_LIBRARIES) -o $(@)
+
+ .c.o:
+- $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c
++ $(LIBTOOL) --mode=compile $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c
+
+ #
+ # include dependency files if they exist
+@@ -84,23 +84,17 @@
+ include .depend
+ #endif
+
+-../../lib/libafterstep.a:
++../../lib/libafterstep.la:
+ cd ../../lib/; ${MAKE}
+
+-../../asimagelib/libasimage.a:
++../../asimagelib/libasimage.la:
+ cd ../../asimagelib/; ${MAKE}
+
+-../Config/libasConfig.a:
++../Config/libasConfig.la:
+ cd ../Config/; ${MAKE}
+
+-../../lib/libafterstep.so:
+- cd ../../lib/; ${MAKE}
+-
+-../../asimagelib/libasimage.so:
+- cd ../../asimagelib/; ${MAKE}
+-
+-../Config/libasConfig.so:
+- cd ../Config/; ${MAKE}
++../Script/Widgets/Widgets.la:
++ cd ../Script/Widgets/; ${MAKE}
+
+ #
+ # End of Make.common