diff options
Diffstat (limited to 'games-misc/yadex/files/yadex-1.7.0-destdir.patch')
-rw-r--r-- | games-misc/yadex/files/yadex-1.7.0-destdir.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-misc/yadex/files/yadex-1.7.0-destdir.patch b/games-misc/yadex/files/yadex-1.7.0-destdir.patch new file mode 100644 index 000000000000..a1f430c4bd9f --- /dev/null +++ b/games-misc/yadex/files/yadex-1.7.0-destdir.patch @@ -0,0 +1,36 @@ +diff -Naur yadex-1.7.0/GNUmakefile yadex-1.7.0.new/GNUmakefile +--- yadex-1.7.0/GNUmakefile 2006-03-16 16:08:10.000000000 -0800 ++++ yadex-1.7.0.new/GNUmakefile 2006-03-16 16:11:32.000000000 -0800 +@@ -392,19 +392,19 @@ + + .PHONY: install + install: $(OBJDIR)/install +- @scripts/mkinstalldirs $(BINDIR) +- @scripts/mkinstalldirs $(ETCDIR) +- @scripts/mkinstalldirs $(MANDIR) +- @scripts/mkinstalldirs $(MANDIR)/man6 +- @scripts/mkinstalldirs $(SHAREDIR) +- $(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(BINDIR)/yadex-$(VERSION) +- rm -f $(BINDIR)/yadex +- ln -s yadex-$(VERSION) $(BINDIR)/yadex +- $(OBJDIR)/install -m 644 doc/yadex.6 $(MANDIR)/man6/yadex-$(VERSION).6 +- rm -f $(MANDIR)/man6/yadex.6 +- ln -s yadex-$(VERSION).6 $(MANDIR)/man6/yadex.6 +- $(OBJDIR)/install -m 644 -d $(SHAREDIR) $(YGD) +- $(OBJDIR)/install -m 644 -d $(ETCDIR) yadex.cfg ++ @scripts/mkinstalldirs $(DESTDIR)$(BINDIR) ++ @scripts/mkinstalldirs $(DESTDIR)$(ETCDIR) ++ @scripts/mkinstalldirs $(DESTDIR)$(MANDIR) ++ @scripts/mkinstalldirs $(DESTDIR)$(MANDIR)/man6 ++ @scripts/mkinstalldirs $(DESTDIR)$(SHAREDIR) ++ $(OBJDIR)/install -m 755 $(OBJDIR)/yadex $(DESTDIR)$(BINDIR)/yadex-$(VERSION) ++ rm -f $(DESTDIR)$(BINDIR)/yadex ++ ln -s yadex-$(VERSION) $(DESTDIR)$(BINDIR)/yadex ++ $(OBJDIR)/install -m 644 doc/yadex.6 $(DESTDIR)$(MANDIR)/man6/yadex-$(VERSION).6 ++ rm -f $(DESTDIR)$(MANDIR)/man6/yadex.6 ++ ln -s yadex-$(VERSION).6 $(DESTDIR)$(MANDIR)/man6/yadex.6 ++ $(OBJDIR)/install -m 644 -d $(DESTDIR)$(SHAREDIR) $(YGD) ++ $(OBJDIR)/install -m 644 -d $(DESTDIR)$(ETCDIR) yadex.cfg + @echo "---------------------------------------------------------------" + @echo " Yadex is now installed." + @echo |