diff options
author | ache <ache@FreeBSD.org> | 1995-01-11 05:45:48 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-01-11 05:45:48 +0000 |
commit | 48a3ca7f45bfe12aaf989130ade7c6b154d3416a (patch) | |
tree | 0dcc26bcf690ed023a1ba48ab42ddc888b9ad22d /gnu/usr.bin/diff | |
parent | 3f43d126a1c62d34a45fc5637dceb71979ce12a1 (diff) | |
download | FreeBSD-src-48a3ca7f45bfe12aaf989130ade7c6b154d3416a.zip FreeBSD-src-48a3ca7f45bfe12aaf989130ade7c6b154d3416a.tar.gz |
Use -lgnuregex
Diffstat (limited to 'gnu/usr.bin/diff')
-rw-r--r-- | gnu/usr.bin/diff/Makefile | 6 | ||||
-rw-r--r-- | gnu/usr.bin/diff/diff.h | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/diff/Makefile b/gnu/usr.bin/diff/Makefile index fe3a5e9..717a247 100644 --- a/gnu/usr.bin/diff/Makefile +++ b/gnu/usr.bin/diff/Makefile @@ -1,8 +1,10 @@ PROG= diff SRCS= diff.c analyze.c io.c context.c ed.c normal.c ifdef.c util.c dir.c \ - version.c regex.c getopt.c getopt1.c side.c cmpbuf.c + version.c getopt.c getopt1.c side.c cmpbuf.c CFLAGS+=-DHAVE_CONFIG_H -MAN= diff.1 + +DPADD+= ${LIBGNUREGEX} +LDADD+= -lgnuregex .include <bsd.prog.mk> diff --git a/gnu/usr.bin/diff/diff.h b/gnu/usr.bin/diff/diff.h index e75050f..9d51ffc 100644 --- a/gnu/usr.bin/diff/diff.h +++ b/gnu/usr.bin/diff/diff.h @@ -20,7 +20,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "system.h" #include <ctype.h> #include <stdio.h> -#include "regex.h" +#include "gnuregex.h" #ifndef PR_FILE_NAME #define PR_FILE_NAME "/bin/pr" |