aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@FreeBSD.org>1993-08-02 16:40:59 +0000
committerJ.T. Conklin <jtc@FreeBSD.org>1993-08-02 16:40:59 +0000
commit7a776800685ed89fb9db209cb90579a7eb04c4c8 (patch)
tree83893e7bf77229c8caae79bd46d4442205697c55 /bin
parent0d1a37c0f1cdc36c65d7e569bc4acf0ea9711800 (diff)
downloadsrc-7a776800685ed89fb9db209cb90579a7eb04c4c8.tar.gz
src-7a776800685ed89fb9db209cb90579a7eb04c4c8.zip
Use system's posix compliant regex library (GNU regex for now).
Notes
Notes: svn path=/head/; revision=227
Diffstat (limited to 'bin')
-rw-r--r--bin/ed/Makefile8
1 files changed, 5 insertions, 3 deletions
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 <bsd.prog.mk>