diff options
Diffstat (limited to 'bin/ed')
-rw-r--r-- | bin/ed/Makefile | 8 |
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> |