Matthias Kilian wrote:
> On Sun, Oct 14, 2007 at 05:51:15PM +0100, Edd Barrett wrote:
>> I'm not sure what the best fix is for this, so I would like to ask the
>> list what they think is best.
>
> Quick hack that pushes the manpage install bits to DESTDIR:
Works for me. ok.
>
> Index: patches/patch-utils_dialog_Makefile_in
> ===================================================================
> RCS file:
> /cvs/ports/print/texlive/base/patches/patch-utils_dialog_Makefile_in,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-utils_dialog_Makefile_in
> --- patches/patch-utils_dialog_Makefile_in 17 Jul 2007 21:53:31 -0000
> 1.1.1.1
> +++ patches/patch-utils_dialog_Makefile_in 14 Oct 2007 20:21:23 -0000
> @@ -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)
> +--- 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
> - $(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:
>
--
Matthieu Herrb