diff options
-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" |