diff options
Diffstat (limited to 'wm/afterstep1/patches/patch-ah')
-rw-r--r-- | wm/afterstep1/patches/patch-ah | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/wm/afterstep1/patches/patch-ah b/wm/afterstep1/patches/patch-ah new file mode 100644 index 00000000000..b4a5c295e88 --- /dev/null +++ b/wm/afterstep1/patches/patch-ah @@ -0,0 +1,54 @@ +$NetBSD: patch-ah,v 1.1.1.1 2005/01/14 13:36:36 jmmv Exp $ + +--- autoconf/Makefile.common.lib.in.orig Fri Oct 20 06:27:57 2000 ++++ autoconf/Makefile.common.lib.in Sun Mar 11 15:16:36 2001 +@@ -4,7 +4,7 @@ + + @MAKEFILEDEFINES@ + +-all: @LIBPROG@ $(INSTALLONBUILD) ++all: @LIBPROG@ + + install.bin: + +@@ -15,24 +15,7 @@ + install.script: + + install.dyn: +- $(INSTALL_LIB) $(DYNPROG).$(LIBVER) $(LIBDIR) +- -@/bin/rm -f $(LIBDIR)/$(DYNPROG).$(LIBVERMAJOR) $(LIBDIR)/$(DYNPROG) +- ln -sf $(DYNPROG).$(LIBVER) $(LIBDIR)/$(DYNPROG).$(LIBVERMAJOR) +- ln -sf $(DYNPROG).$(LIBVERMAJOR) $(LIBDIR)/$(DYNPROG) +- @( \ +- if test `uname` = "Linux"; then \ +- if test $(LIBDIR) = "/lib" || test $(LIBDIR) = "/usr/lib"; then \ +- echo "" > /dev/null; \ +- elif grep -q $(LIBDIR) /etc/ld.so.conf > /dev/null 2>&1; then \ +- echo "" > /dev/null; \ +- else \ +- echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \ +- echo "$(DYNPROG), you may need to add it or set LD_LIBRARY_PATH."; \ +- fi; \ +- echo "ldconfig"; \ +- ldconfig; \ +- fi \ +- ) ++ $(LIBTOOL) --mode=install $(INSTALL_LIB) $(PROG) $(LIBDIR)/$(PROG:.la=.so).$(LIBVERMAJOR).$(LIBVERMINOR) + + uninstall.bin: + +@@ -80,12 +63,10 @@ + fi + + $(PROG): $(OBJS) +- $(RMF) $(PROG) +- $(AR) $(PROG) $(OBJS) +- $(RANLIB) $(PROG) ++ $(LIBTOOL) --mode=link $(CC) $(LDSTATIC) $(OBJS:.o=.lo) -rpath $(LIBDIR) -version-info $(LIBVERMAJOR):$(LIBVERMINOR) -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 |