[plt-scheme] [patch] pltscheme doesn't respect destdir

From: Marijn Schouten (hkBst) (hkBst at gentoo.org)
Date: Sun Jul 22 10:56:22 EDT 2007

pltscheme doesn't always respect destdir. The following patch fixes a few 
occurences of this.

Marijn

--- src/mred/Makefile.in.orig   2007-07-07 14:07:17.000000000 -0400
+++ src/mred/Makefile.in        2007-07-07 14:13:02.000000000 -0400
@@ -314,12 +314,12 @@
         echo "no dynamic libs"

  install-lib-3m-wx_xt:
-       cd ..; $(ICP) mred/libmred3m. at LIBSFX@ "$(libdir)"
+       cd ..; $(ICP) mred/libmred3m. at LIBSFX@ "$(DESTDIR)$(libdir)"

  install-wx_xt-3m:
         $(MAKE) @MRLIBINSTALL at -3m-wx_xt
-       cd ..; $(ICP) mred/mred at MMM@ "$(bindir)/mred at MMM_INSTALLED@"
-       $(MZSCHEME) -mvqu "$(srcdir)/../mzscheme/collects-path.ss" 
"$(bindir)/mred at MMM_INSTALLED@@EXE_SUFFIX@" @COLLECTS_PATH@
+       cd ..; $(ICP) mred/mred at MMM@ "$(DESTDIR)$(bindir)/mred at MMM_INSTALLED@"
+       $(MZSCHEME) -mvqu "$(srcdir)/../mzscheme/collects-path.ss" 
"$(DESTDIR)$(bindir)/mred at MMM_INSTALLED@@EXE_SUFFIX@" @COLLECTS_PATH@

  install-wx_xt-3m-final:
         cd .


Posted on the users mailing list.