diff options
author | anders <anders@FreeBSD.org> | 2003-01-05 21:27:55 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2003-01-05 21:27:55 +0800 |
commit | 58f9b4971d12ad64d39204067f4822a15345dc2b (patch) | |
tree | 7b8af1b3a72e215e6d89cdbeadb327da66571c2d /editors | |
parent | 53082a31e30764e3e0cdff5752ce810323a9756e (diff) | |
download | freebsd-ports-gnome-58f9b4971d12ad64d39204067f4822a15345dc2b.tar.gz freebsd-ports-gnome-58f9b4971d12ad64d39204067f4822a15345dc2b.tar.zst freebsd-ports-gnome-58f9b4971d12ad64d39204067f4822a15345dc2b.zip |
Use /var/tmp instead of /usr/tmp as temp dir.
PR: 45120
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sam/files/patch-ag | 167 |
1 files changed, 64 insertions, 103 deletions
diff --git a/editors/sam/files/patch-ag b/editors/sam/files/patch-ag index da7977f6ca04..bafbb628b72a 100644 --- a/editors/sam/files/patch-ag +++ b/editors/sam/files/patch-ag @@ -1,103 +1,64 @@ -*** sam/Makefile.orig Fri Feb 11 11:16:53 2000 ---- sam/Makefile Fri Feb 11 11:25:38 2000 -*************** -*** 8,14 **** - # - # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified - # if your compiler supports posix-compatible compilation -! OS=-DIRIX -ansiposix - - # add -Iincludedir for any include directories that need to be searched - # for posix header files (for UMIPS, add -I/usr/include/posix) ---- 8,14 ---- - # - # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified - # if your compiler supports posix-compatible compilation -! OS=-DBSDi - - # add -Iincludedir for any include directories that need to be searched - # for posix header files (for UMIPS, add -I/usr/include/posix) -*************** -*** 22,30 **** - # where sam is to be installed. SAMSAVEDIR is the name of the directory - # where the samsave file restoration script is stored. - RSAMNAME=sam -! TERMNAME=/v/bin/samterm -! SAMDIR=/usr/bin -! SAMSAVEDIR=/v/bin - - # Set TMP to a good place for tmp files (with lots of room) - TMP=/usr/tmp ---- 22,30 ---- - # where sam is to be installed. SAMSAVEDIR is the name of the directory - # where the samsave file restoration script is stored. - RSAMNAME=sam -! TERMNAME=$(PREFIX)/bin/samterm -! SAMDIR=$(PREFIX)/bin -! SAMSAVEDIR=$(PREFIX)/bin - - # Set TMP to a good place for tmp files (with lots of room) - TMP=/usr/tmp -*************** -*** 37,47 **** - # Set RXNAME and RXPATHNAME to the name of the remote execution command - # and the pathname of its executable - RXNAME=rsh -! RXPATHNAME=/usr/bsd/rsh - - SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave - -! CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS) - - SYSFLAGS= -DHOMEDIR=\"$(HOMEDIR)\" -DRSAMNAME=\"$(RSAMNAME)\" \ - -DTERMNAME=\"$(TERMNAME)\" -DTMP=\"$(TMP)\" \ ---- 37,47 ---- - # Set RXNAME and RXPATHNAME to the name of the remote execution command - # and the pathname of its executable - RXNAME=rsh -! RXPATHNAME=/usr/bin/rsh - - SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave - -! CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS) - - SYSFLAGS= -DHOMEDIR=\"$(HOMEDIR)\" -DRSAMNAME=\"$(RSAMNAME)\" \ - -DTERMNAME=\"$(TERMNAME)\" -DTMP=\"$(TMP)\" \ -*************** -*** 50,56 **** - -DSAMSAVE=\"$(SAMSAVE)\" - - LIB=../libframe/libframe.a ../libXg/libXg.a -! CC=cc - - OBJ=sam.o address.o buffer.o cmd.o disc.o error.o file.o io.o \ - list.o mesg.o moveto.o multi.o rasp.o regexp.o shell.o \ ---- 50,56 ---- - -DSAMSAVE=\"$(SAMSAVE)\" - - LIB=../libframe/libframe.a ../libXg/libXg.a -! CC?=cc - - OBJ=sam.o address.o buffer.o cmd.o disc.o error.o file.o io.o \ - list.o mesg.o moveto.o multi.o rasp.o regexp.o shell.o \ -*************** -*** 68,76 **** - rm -f sam - - install: sam -! cp sam $(SAMDIR)/$(RSAMNAME) -! cp samsave $(SAMSAVEDIR)/samsave -! chmod +x samsave - - $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h - ---- 68,76 ---- - rm -f sam - - install: sam -! ${BSD_INSTALL_PROGRAM} sam $(SAMDIR)/$(RSAMNAME) -! ${BSD_INSTALL_SCRIPT} samsave $(SAMSAVEDIR)/samsave -! ${BSD_INSTALL_SCRIPT} B.sh $(SAMSAVEDIR)/B - - $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h - +--- sam/Makefile.orig Sun Jan 5 13:21:26 2003 ++++ sam/Makefile Sun Jan 5 13:21:27 2003 +@@ -8,7 +8,7 @@ + # + # Additionally, -D_POSIX_SOURCE (or its equivalent) may be specified + # if your compiler supports posix-compatible compilation +-OS=-DIRIX -ansiposix ++OS=-DBSDi + + # add -Iincludedir for any include directories that need to be searched + # for posix header files (for UMIPS, add -I/usr/include/posix) +@@ -22,12 +22,12 @@ + # where sam is to be installed. SAMSAVEDIR is the name of the directory + # where the samsave file restoration script is stored. + RSAMNAME=sam +-TERMNAME=/v/bin/samterm +-SAMDIR=/usr/bin +-SAMSAVEDIR=/v/bin ++TERMNAME=$(PREFIX)/bin/samterm ++SAMDIR=$(PREFIX)/bin ++SAMSAVEDIR=$(PREFIX)/bin + + # Set TMP to a good place for tmp files (with lots of room) +-TMP=/usr/tmp ++TMP=/var/tmp + + # Set SHELLNAME and SHELLPATH to the name of a shell and the pathname + # of its executable +@@ -37,11 +37,11 @@ + # Set RXNAME and RXPATHNAME to the name of the remote execution command + # and the pathname of its executable + RXNAME=rsh +-RXPATHNAME=/usr/bsd/rsh ++RXPATHNAME=/usr/bin/rsh + + SAMSAVE=/bin/sh\\n$(SAMSAVEDIR)/samsave + +-CFLAGS=$(OS) -D_LIBXG_EXTENSION $(INCS) ++CFLAGS+=$(OS) -D_LIBXG_EXTENSION $(INCS) + + SYSFLAGS= -DHOMEDIR=\"$(HOMEDIR)\" -DRSAMNAME=\"$(RSAMNAME)\" \ + -DTERMNAME=\"$(TERMNAME)\" -DTMP=\"$(TMP)\" \ +@@ -50,7 +50,7 @@ + -DSAMSAVE=\"$(SAMSAVE)\" + + LIB=../libframe/libframe.a ../libXg/libXg.a +-CC=cc ++CC?=cc + + OBJ=sam.o address.o buffer.o cmd.o disc.o error.o file.o io.o \ + list.o mesg.o moveto.o multi.o rasp.o regexp.o shell.o \ +@@ -68,9 +68,9 @@ + rm -f sam + + install: sam +- cp sam $(SAMDIR)/$(RSAMNAME) +- cp samsave $(SAMSAVEDIR)/samsave +- chmod +x samsave ++ ${BSD_INSTALL_PROGRAM} sam $(SAMDIR)/$(RSAMNAME) ++ ${BSD_INSTALL_SCRIPT} samsave $(SAMSAVEDIR)/samsave ++ ${BSD_INSTALL_SCRIPT} B.sh $(SAMSAVEDIR)/B + + $(OBJ): sam.h ../include/u.h ../include/libc.h errors.h mesg.h + |