summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorconklin <conklin@FreeBSD.org>1993-08-02 16:40:59 +0000
committerconklin <conklin@FreeBSD.org>1993-08-02 16:40:59 +0000
commit9db585a2cc2e5bfa823bd9a34976f9f0cbd24c7f (patch)
tree83893e7bf77229c8caae79bd46d4442205697c55 /bin
parentc4e3d1f069114043ee6b0b68fd4aa0eac183edc5 (diff)
downloadFreeBSD-src-9db585a2cc2e5bfa823bd9a34976f9f0cbd24c7f.zip
FreeBSD-src-9db585a2cc2e5bfa823bd9a34976f9f0cbd24c7f.tar.gz
Use system's posix compliant regex library (GNU regex for now).
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 7702004..a332442 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>
OpenPOWER on IntegriCloud