diff options
author | joerg <joerg> | 2009-07-07 20:21:37 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 20:21:37 +0000 |
commit | 8ed1eb118d9664ba0b9844667e0050441fc49a10 (patch) | |
tree | 5b9172854f8c506603243cb453270069ec41bf74 /time/gnutime/patches | |
parent | 97b985094e027f0a910642061dc32b350deabe39 (diff) | |
download | pkgsrc-8ed1eb118d9664ba0b9844667e0050441fc49a10.tar.gz |
user-destdir support
Diffstat (limited to 'time/gnutime/patches')
-rw-r--r-- | time/gnutime/patches/patch-ab | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/time/gnutime/patches/patch-ab b/time/gnutime/patches/patch-ab index 416314f7eec..29fdc3fa36f 100644 --- a/time/gnutime/patches/patch-ab +++ b/time/gnutime/patches/patch-ab @@ -1,14 +1,41 @@ -$NetBSD: patch-ab,v 1.4 2006/04/08 04:22:55 jlam Exp $ +$NetBSD: patch-ab,v 1.5 2009/07/07 20:21:37 joerg Exp $ ---- Makefile.in.orig 1996-07-11 17:07:03.000000000 -0400 +--- Makefile.in.orig 1996-07-11 23:07:03.000000000 +0200 +++ Makefile.in -@@ -178,7 +178,8 @@ time.info: time.texi version.texi +@@ -114,10 +114,10 @@ distclean-binPROGRAMS: + maintainer-clean-binPROGRAMS: + + install-binPROGRAMS: $(bin_PROGRAMS) +- $(mkinstalldirs) $(bindir) ++ $(mkinstalldirs) ${DESTDIR}$(bindir) + list="$(bin_PROGRAMS)"; for p in $$list; do \ + if test -f $$p; then \ +- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ ++ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \ + else :; fi; \ + done + +@@ -176,10 +176,11 @@ time.info: time.texi version.texi + TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $< + install-info: $(INFO_DEPS) - $(mkinstalldirs) $(infodir) +- $(mkinstalldirs) $(infodir) ++ $(mkinstalldirs) ${DESTDIR}$(infodir) for file in $(INFO_DEPS); do \ - for ifile in `cd $(srcdir) && echo $$file*`; do \ +- $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \ + for ifile in `cd $(srcdir) && echo $$file $$file-[1-9]*`; do \ + test ! -f $(srcdir)/$$ifile || \ - $(INSTALL_DATA) $(srcdir)/$$ifile $(infodir)/$$ifile; \ ++ $(INSTALL_DATA) $(srcdir)/$$ifile ${DESTDIR}$(infodir)/$$ifile; \ done; \ done + +@@ -279,7 +280,7 @@ all: $(INFO_DEPS) $(PROGRAMS) Makefile + install-strip: + $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install + installdirs: +- $(mkinstalldirs) $(bindir) $(infodir) ++ $(mkinstalldirs) ${DESTDIR}$(bindir) ${DESTDIR}$(infodir) + + + mostlyclean-generic: |