From 08f90bdd4bdba0bf59f26c8a98774c2a88deaf07 Mon Sep 17 00:00:00 2001 From: sturm Date: Fri, 9 Jan 2004 21:10:34 +0000 Subject: [PATCH] missing DESTDIR --- games/xmris/patches/patch-Imakefile | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/games/xmris/patches/patch-Imakefile b/games/xmris/patches/patch-Imakefile index 2b3ae07f5b4..e84bc94a884 100644 --- a/games/xmris/patches/patch-Imakefile +++ b/games/xmris/patches/patch-Imakefile @@ -1,6 +1,6 @@ -$OpenBSD: patch-Imakefile,v 1.1 2000/11/01 16:25:30 espie Exp $ ---- Imakefile.orig Fri Dec 22 13:05:52 1995 -+++ Imakefile Wed Nov 1 17:11:54 2000 +$OpenBSD: patch-Imakefile,v 1.2 2004/01/09 21:10:34 sturm Exp $ +--- Imakefile.orig 1995-12-22 13:05:52.000000000 +0100 ++++ Imakefile 2004-01-09 22:05:46.000000000 +0100 @@ -122,7 +122,7 @@ FONT = thefont #ifndef InstallDefaultGardens @@ -23,6 +23,28 @@ $OpenBSD: patch-Imakefile,v 1.1 2000/11/01 16:25:30 espie Exp $ #endif /* transputerbuild */ +@@ -345,16 +345,16 @@ Xmris.ad : Xmris-ad.src + + XCOMM score directory install + install :: +- MakeDir($(SCORE)) ++ MakeDir($(DESTDIR)$(SCORE)) + @#not all $(INSTALL) have a -d flag, have to do it explicitly +- @echo installing $(INSTSCOREFLAGS) $(SCORE) ++ @echo installing $(INSTSCOREFLAGS) $(DESTDIR)$(SCORE) + @set -- $(INSTSCOREFLAGS) ; \ + while [ $$# -ne 0 ] ; \ + do \ + case "$$1" in \ +- "-o") shift ; chown $$1 $(SCORE) ; echo owner is $$1 ;; \ +- "-m") shift ; chmod $$1 $(SCORE) ;; \ +- "-g") shift ; chgrp $$1 $(SCORE) ; echo group is $$1 ;; \ ++ "-o") shift ; chown $$1 $(DESTDIR)$(SCORE) ; echo owner is $$1 ;; \ ++ "-m") shift ; chmod $$1 $(DESTDIR)$(SCORE) ;; \ ++ "-g") shift ; chgrp $$1 $(DESTDIR)$(SCORE) ; echo group is $$1 ;; \ + *) echo unknown option '$$1' ;; \ + esac ; \ + shift ; \ @@ -363,11 +363,11 @@ install :: #ifdef InstallDefaultGardens XCOMM install default gardens