mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] lrzsz: install into DESTDIR in all cases
@ 2017-06-12 18:37 Roland Hieber
  0 siblings, 0 replies; only message in thread
From: Roland Hieber @ 2017-06-12 18:37 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber, Roland Hieber

From: Roland Hieber <rohieb@rohieb.name>

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
---
 ...akefile-with-DESTDIR-don-t-act-on-usr-bin.patch | 55 ++++++++++++++++++++++
 patches/lrzsz-0.12.20/series                       |  4 ++
 2 files changed, 59 insertions(+)
 create mode 100644 patches/lrzsz-0.12.20/0001-Makefile-with-DESTDIR-don-t-act-on-usr-bin.patch
 create mode 100644 patches/lrzsz-0.12.20/series

diff --git a/patches/lrzsz-0.12.20/0001-Makefile-with-DESTDIR-don-t-act-on-usr-bin.patch b/patches/lrzsz-0.12.20/0001-Makefile-with-DESTDIR-don-t-act-on-usr-bin.patch
new file mode 100644
index 0000000..8661d99
--- /dev/null
+++ b/patches/lrzsz-0.12.20/0001-Makefile-with-DESTDIR-don-t-act-on-usr-bin.patch
@@ -0,0 +1,55 @@
+From: Roland Hieber <r.hieber@pengutronix.de>
+Date: Mon, 12 Jun 2017 19:32:52 +0200
+Subject: [PATCH] Makefile: with DESTDIR, don't act on /usr/bin
+
+Makefile.in was manually updated because I could not dig up old enough
+autotools that would regenerate it without errors.
+
+Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
+---
+ src/Makefile.am | 6 +++---
+ src/Makefile.in | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index dd0a56c6ad8b..287b09e39c36 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -18,13 +18,13 @@ install-exec-local:
+ 	rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lsx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` 
+ #	rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
+diff --git a/src/Makefile.in b/src/Makefile.in
+index d7846b6a2672..a410595d0730 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -372,13 +372,13 @@ install-exec-local:
+ 	rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lsx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrb | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` 
+-	rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
++	rm -f $(DESTDIR)/$(bindir)/`echo lrx | sed -e '$(transform)'`
+ 	ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ 		$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` 
+ #	rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
diff --git a/patches/lrzsz-0.12.20/series b/patches/lrzsz-0.12.20/series
new file mode 100644
index 0000000..a170ac6
--- /dev/null
+++ b/patches/lrzsz-0.12.20/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Makefile-with-DESTDIR-don-t-act-on-usr-bin.patch
+# 78944bb019fb35e94820ca202a618489  - git-ptx-patches magic
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-12 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-12 18:37 [ptxdist] [PATCH] lrzsz: install into DESTDIR in all cases Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox