From 7a776800685ed89fb9db209cb90579a7eb04c4c8 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Mon, 2 Aug 1993 16:40:59 +0000 Subject: Use system's posix compliant regex library (GNU regex for now). --- bin/ed/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/ed/Makefile b/bin/ed/Makefile index 77020043e89a..a33244286d25 100644 --- a/bin/ed/Makefile +++ b/bin/ed/Makefile @@ -1,14 +1,16 @@ PROG= ed -CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX -DHAVE_STRING_H=1 -SRCS= ed.c re.c buf.c cbc.c regex.c +CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX +SRCS= ed.c re.c buf.c cbc.c LINKS= ${BINDIR}/ed ${BINDIR}/red MLINKS= ed.1 red.1 .if exists(/usr/lib/libcrypt.a) CFLAGS+=-DDES -DPADD+= ${LIBCRYPT} LDADD+= -lcrypt +DPADD+= ${LIBCRYPT} .endif +LDADD+= -lgnuregex +DPADD+= /usr/lib/libgnuregex.a .include -- cgit v1.2.3