From f843d0ffe751a5c79e3341f520672d0f237a6663 Mon Sep 17 00:00:00 2001 From: kili Date: Mon, 15 Oct 2007 07:31:57 +0000 Subject: [PATCH] Fix installation of tcdialog.1 if texlive_base is already installed. ok matthieu@ --- .../patches/patch-utils_dialog_Makefile_in | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/print/texlive/base/patches/patch-utils_dialog_Makefile_in b/print/texlive/base/patches/patch-utils_dialog_Makefile_in index 3bbd04ddee6..58baf8f66d8 100755 --- a/print/texlive/base/patches/patch-utils_dialog_Makefile_in +++ b/print/texlive/base/patches/patch-utils_dialog_Makefile_in @@ -1,7 +1,13 @@ -$OpenBSD: patch-utils_dialog_Makefile_in,v 1.1.1.1 2007/07/17 21:53:31 jasper Exp $ ---- utils/dialog/Makefile.in.orig Tue Jan 17 21:16:42 2006 -+++ utils/dialog/Makefile.in Fri May 4 20:28:41 2007 -@@ -109,18 +109,18 @@ install: install-exec $(man1dir)/tcdialog.$(manext) +$OpenBSD: patch-utils_dialog_Makefile_in,v 1.2 2007/10/15 07:31:57 kili Exp $ +--- utils/dialog/Makefile.in.orig Tue Jan 17 22:16:42 2006 ++++ utils/dialog/Makefile.in Sun Oct 14 21:54:04 2007 +@@ -104,23 +104,23 @@ SHELL = /bin/sh + @SET_MAKE@ + + .PHONY: install installdirs install-exec +-install: install-exec $(man1dir)/tcdialog.$(manext) ++install: install-exec ${DESTDIR}$(man1dir)/tcdialog.$(manext) + install-exec: installdirs $(bindir)/tcdialog installdirs: @@ -12,9 +18,9 @@ $OpenBSD: patch-utils_dialog_Makefile_in,v 1.1.1.1 2007/07/17 21:53:31 jasper Ex - $(INSTALL_PROGRAM) dialog $@ + $(INSTALL_PROGRAM) dialog ${DESTDIR}$@ - $(man1dir)/tcdialog.$(manext): dialog.man -- $(INSTALL_DATA) $(srcdir)/dialog.man $@ -+ $(INSTALL_DATA) $(srcdir)/dialog.man ${DESTDIR}$@ +-$(man1dir)/tcdialog.$(manext): dialog.man ++${DESTDIR}$(man1dir)/tcdialog.$(manext): dialog.man + $(INSTALL_DATA) $(srcdir)/dialog.man $@ check: