diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2010-12-17 13:30:56 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-22 23:36:10 +0100 |
commit | 748eb04a40d0dd5ef3b65448e0e732648c1ac019 (patch) | |
tree | 9cea1f2ddefa776f224f10c9749e4dc447364523 /package/screen/screen-install-fix.patch | |
parent | 0b584467c193234250819ee52d806f8cec13c1f0 (diff) |
screen: bump to version 4.0.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/screen/screen-install-fix.patch')
-rw-r--r-- | package/screen/screen-install-fix.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/screen/screen-install-fix.patch b/package/screen/screen-install-fix.patch new file mode 100644 index 000000000..a2fa35d34 --- /dev/null +++ b/package/screen/screen-install-fix.patch @@ -0,0 +1,21 @@ +diff -ru screen-4.0.2_vanilla/Makefile.in screen-4.0.2_install-fixup/Makefile.in +--- screen-4.0.2_vanilla/Makefile.in 2003-12-05 13:59:39.000000000 +0000 ++++ screen-4.0.2_install-fixup/Makefile.in 2009-01-03 15:20:22.000000000 +0000 +@@ -71,14 +71,9 @@ + $(CC) -c -I. -I$(srcdir) $(M_CFLAGS) $(DEFS) $(OPTIONS) $(CFLAGS) $< + + install_bin: .version screen +- -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) +-# 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) ++ $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/screen ++ -chmod 4755 $(DESTDIR)$(bindir)/screen ++ mkdir -p $(DESTDIR)$(SCREENENCODINGS) + cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS) + + ############################################################################### |