Use system's posix compliant regex library (GNU regex for now).
This commit is contained in:
parent
0d1a37c0f1
commit
7a77680068
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227
@ -1,14 +1,16 @@
|
|||||||
PROG= ed
|
PROG= ed
|
||||||
CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX -DHAVE_STRING_H=1
|
CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX
|
||||||
SRCS= ed.c re.c buf.c cbc.c regex.c
|
SRCS= ed.c re.c buf.c cbc.c
|
||||||
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
||||||
MLINKS= ed.1 red.1
|
MLINKS= ed.1 red.1
|
||||||
|
|
||||||
.if exists(/usr/lib/libcrypt.a)
|
.if exists(/usr/lib/libcrypt.a)
|
||||||
CFLAGS+=-DDES
|
CFLAGS+=-DDES
|
||||||
DPADD+= ${LIBCRYPT}
|
|
||||||
LDADD+= -lcrypt
|
LDADD+= -lcrypt
|
||||||
|
DPADD+= ${LIBCRYPT}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
LDADD+= -lgnuregex
|
||||||
|
DPADD+= /usr/lib/libgnuregex.a
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user