From 40124c46c75cbef63b08d1fe885763b82c1ff727 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 11 Dec 2003 22:35:09 +0000 Subject: call ln with separate -s and -f args to appease Solaris. from Dima Veselov on tech-pkg. --- misc/screen/patches/patch-an | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'misc/screen/patches') diff --git a/misc/screen/patches/patch-an b/misc/screen/patches/patch-an index 204f8c2f014..46f103e4b54 100644 --- a/misc/screen/patches/patch-an +++ b/misc/screen/patches/patch-an @@ -1,8 +1,8 @@ -$NetBSD: patch-an,v 1.1 2002/09/15 06:51:40 kim Exp $ +$NetBSD: patch-an,v 1.2 2003/12/11 22:35:09 grant Exp $ ---- Makefile.in.orig Thu Feb 14 08:36:33 2002 -+++ Makefile.in Sun Sep 15 01:57:20 2002 -@@ -55,12 +55,12 @@ +--- Makefile.in.orig 2003-09-19 02:13:02.000000000 +1000 ++++ Makefile.in +@@ -55,12 +55,12 @@ CFILES= screen.c ansi.c fileio.c mark.c search.c tty.c term.c window.c utmp.c loadav.c putenv.c help.c \ termcap.c input.c attacher.c pty.c process.c display.c comm.c \ kmapdef.c acls.c braille.c braille_tsi.c logfile.c layer.c \ @@ -17,3 +17,12 @@ $NetBSD: patch-an,v 1.1 2002/09/15 06:51:40 kim Exp $ all: screen +@@ -78,7 +78,7 @@ install_bin: .version 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) ++ (cd $(DESTDIR)$(bindir) && ln -s -f $(SCREEN) screen) + cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS) + + ############################################################################### -- cgit v1.2.3