termux-packages/packages/lrzsz/src-Makefile.am.patch
Henrik Grimler 94c7e0770e
lrzsz: enable package again
And build from latest commit on github repo.
2021-11-10 10:34:32 +01:00

28 lines
1.3 KiB
Diff

--- ./src/Makefile.am.orig 2021-11-10 10:12:52.155281162 +0100
+++ ./src/Makefile.am 2021-11-10 10:13:10.452346589 +0100
@@ -16,19 +16,19 @@
install-exec-local:
rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'`
rm -f $(bindir)/`echo lsx | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'`
rm -f $(bindir)/`echo lrb | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'`
rm -f $(bindir)/`echo lrx | sed -e '$(transform)'`
- ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
+ ln -s $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \
$(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'`
# rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'`
-# ln $(bindir)/`echo lrzszbug |sed -e '$(transform)'` \
+# ln -s $(bindir)/`echo lrzszbug |sed -e '$(transform)'` \
# $(bindir)/`echo lrzszbug |sed -e '$(transform)'`
uninstall-local: