diff options
Diffstat (limited to 'app-misc/leave/files')
-rw-r--r-- | app-misc/leave/files/README | 9 | ||||
-rw-r--r-- | app-misc/leave/files/leave-fix-makefile.diff | 20 |
2 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/leave/files/README b/app-misc/leave/files/README new file mode 100644 index 000000000000..1af71d7431fd --- /dev/null +++ b/app-misc/leave/files/README @@ -0,0 +1,9 @@ +The leave utility waits until the specified time, then reminds you that you +have to leave. You are reminded 5 minutes and 1 minute before the actual +time, at the time, and every minute thereafter. When you log off, leave +exits just before it would have printed the next message. + +To get rid of leave you should either log off or use `kill -s KILL` giving its +process id. + +This program is included with FreeBSD and is distributed under the BSD license. diff --git a/app-misc/leave/files/leave-fix-makefile.diff b/app-misc/leave/files/leave-fix-makefile.diff new file mode 100644 index 000000000000..efcb89eadea6 --- /dev/null +++ b/app-misc/leave/files/leave-fix-makefile.diff @@ -0,0 +1,20 @@ +--- Makefile.orig 2004-10-16 23:04:50.144563171 -0400 ++++ Makefile 2004-10-16 23:57:27.639495962 -0400 +@@ -2,5 +2,16 @@ + # $FreeBSD: /repoman/r/ncvs/src/usr.bin/leave/Makefile,v 1.5 2002/02/08 22:31:41 markm Exp $ + + PROG= leave ++CC ?= gcc ++CFLAGS= ++LDFLAGS= + +-.include <bsd.prog.mk> ++#.include <bsd.prog.mk> ++ ++all: $(PROG) ++$(PROG): leave.o ++ $(CC) $(LDFLAGS) leave.o -o $(PROG) ++leave.o: ++ $(CC) $(CFLAGS) -c leave.c ++clean: ++ rm -f $(PROG) *.o |