diff options
author | Nigel Kukard <nkukard@lbsd.net> | 2008-05-01 19:33:44 +0000 |
---|---|---|
committer | Nigel Kukard <nkukard@lbsd.net> | 2008-05-01 19:33:44 +0000 |
commit | bce15df3bea6d1ab4a88db9d31fc2dd30418decc (patch) | |
tree | 6617f7fa11d9509ef1df6b837c8f27daeb5a603f /package/screen/screen-4.0.2_install-fix.patch | |
parent | 47cb1237188a854f4f8e8f8ea35f4a62f450b77b (diff) |
* Added screen
The cross compile fix is unavoidable
Diffstat (limited to 'package/screen/screen-4.0.2_install-fix.patch')
-rw-r--r-- | package/screen/screen-4.0.2_install-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/screen/screen-4.0.2_install-fix.patch b/package/screen/screen-4.0.2_install-fix.patch new file mode 100644 index 000000000..e56458f2b --- /dev/null +++ b/package/screen/screen-4.0.2_install-fix.patch @@ -0,0 +1,17 @@ +diff -ru screen-4.0.2_vanilla/Makefile.in screen-4.0.2_install-fix/Makefile.in +--- screen-4.0.2_vanilla/Makefile.in 2003-12-05 13:59:39.000000000 +0000 ++++ screen-4.0.2_install-fix/Makefile.in 2008-05-01 10:47:49.000000000 +0000 +@@ -74,11 +74,12 @@ + -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \ + then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi + $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN) +- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN) ++ -chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN) + # This doesn't work if $(bindir)/screen is a symlink + -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi + rm -f $(DESTDIR)$(bindir)/screen + (cd $(DESTDIR)$(bindir) && ln -sf $(SCREEN) screen) ++ mkdir -p $(DESTDIR)$(SCREENENCODINGS) + cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS) + + ############################################################################### |