diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-01-11 04:18:38 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-01-11 04:18:38 +0000 |
| commit | 2e0ad3014479d258153f10812b8446d63c240839 (patch) | |
| tree | 6a5d331b95325545e2b8332e29d97d1a33366ec3 /gnu | |
| parent | a316b26e50bbed7cf655fbba726ab87d8ab7599d (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/tar/Makefile | 5 | ||||
| -rw-r--r-- | gnu/usr.bin/tar/buffer.c | 2 | ||||
| -rw-r--r-- | gnu/usr.bin/tar/tar.c | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/gnu/usr.bin/tar/Makefile b/gnu/usr.bin/tar/Makefile index cab7e00f96fd..8311bea26615 100644 --- a/gnu/usr.bin/tar/Makefile +++ b/gnu/usr.bin/tar/Makefile @@ -1,7 +1,7 @@ PROG= tar SRCS= buffer.c create.c diffarch.c extract.c fnmatch.c getdate.y \ getoldopt.c getopt.c getopt1.c gnu.c list.c mangle.c names.c port.c \ - regex.c rtapelib.c tar.c update.c version.c + rtapelib.c tar.c update.c version.c CFLAGS+= -DRETSIGTYPE=void -DDIRENT=1 -DHAVE_SYS_MTIO_H=1 -DHAVE_UNISTD_H=1 CFLAGS+= -DHAVE_GETGRGID=1 -DHAVE_GETPWUID=1 -DHAVE_STRING_H=1 CFLAGS+= -DHAVE_LIMITS_H=1 -DHAVE_STRSTR=1 -DHAVE_VALLOC=1 -DHAVE_MKDIR=1 @@ -12,5 +12,8 @@ CLEANFILES+=y.tab.h NOMAN=noman NOSHARED=yes +DPADD+= ${LIBGNUREGEX} +LDADD+= -lgnuregex + .include <bsd.prog.mk> .include "../../usr.bin/Makefile.inc" diff --git a/gnu/usr.bin/tar/buffer.c b/gnu/usr.bin/tar/buffer.c index e0ffc2d28654..eb7e3ef78410 100644 --- a/gnu/usr.bin/tar/buffer.c +++ b/gnu/usr.bin/tar/buffer.c @@ -57,7 +57,7 @@ time_t time (); #include "tar.h" #include "port.h" #include "rmt.h" -#include "regex.h" +#include "gnuregex.h" /* Either stdout or stderr: The thing we write messages (standard msgs, not errors) to. Stdout unless we're writing a pipe, in which case stderr */ diff --git a/gnu/usr.bin/tar/tar.c b/gnu/usr.bin/tar/tar.c index ec2c3d1bb8d7..33604bf22eb9 100644 --- a/gnu/usr.bin/tar/tar.c +++ b/gnu/usr.bin/tar/tar.c @@ -35,7 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "tar.h" #include "port.h" -#include "regex.h" +#include "gnuregex.h" #include "fnmatch.h" /* |
