diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-23 07:24:20 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-03-23 07:24:20 +0000 |
commit | 52bd9c4f01eb576473eee1ddf5a8ac491bfbbb45 (patch) | |
tree | 8a3bb3cb8aa8cb6833ee78dd396f436b5684f1c9 /textproc/2bsd-diff/files/patch-Makefile | |
parent | Remove unused MASTER_SITE_SUBDIR. (diff) |
Add 2bsd-diff 2.11, 2.11BSD diff utility. It can process large
files with less memory. GNU Diff often can not work with files
larger than 33% of datasize (from limit) due to memory exhaustion.
PR: ports/50097
Submitted by: risner@stdio.com
Notes
Notes:
svn path=/head/; revision=77225
Diffstat (limited to 'textproc/2bsd-diff/files/patch-Makefile')
-rw-r--r-- | textproc/2bsd-diff/files/patch-Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/2bsd-diff/files/patch-Makefile b/textproc/2bsd-diff/files/patch-Makefile new file mode 100644 index 000000000000..7bb318b354b7 --- /dev/null +++ b/textproc/2bsd-diff/files/patch-Makefile @@ -0,0 +1,36 @@ +--- Makefile.orig Tue Oct 22 13:29:46 1996 ++++ Makefile Wed Mar 19 01:29:12 2003 +@@ -1,9 +1,9 @@ + # @(#)Makefile 4.1.1 1996/10/21 + # +-DIFF= /bin/diff +-DIFFH= /usr/libexec/diffh +-PR= /bin/pr +-CFLAGS= -O -DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"' ++DIFF= ${PREFIX}/bin/2diff ++DIFFH= ${PREFIX}/libexec/2diffh ++PR= /usr/bin/pr ++CFLAGS+=-DDIFF='"${DIFF}"' -DDIFFH='"${DIFFH}"' -DPR='"${PR}"' + SEPFLAG=-i + DESTDIR= + +@@ -14,14 +14,15 @@ + all: diff diffh + + diff: ${OBJS} +- cc ${CFLAGS} -o diff ${OBJS} ${SEPFLAG} ${LDFLAGS} ++ ${CC} ${CFLAGS} -o diff ${OBJS} ${SEPFLAG} ${LDFLAGS} + + diffh: diffh.o +- cc -o diffh diffh.o ${SEPFLAG} ${LDFLAGS} ++ ${CC} ${CFLAGS} -o diffh diffh.o ${SEPFLAG} ${LDFLAGS} + + clean: + rm -f diff diffh ${OBJS} diffh.o + + install: all +- install -s diff ${DESTDIR}/bin/diff +- install -s diffh ${DESTDIR}/usr/libexec/diffh ++ ${BSD_INSTALL_PROGRAM} diff ${DIFF} ++ ${BSD_INSTALL_PROGRAM} diffh ${DIFFH} ++ ${BSD_INSTALL_MAN} ../../man/man1/diff.1 ${MANPREFIX}/man/man1/2diff.1 |