As soon as POSIX regular expressions are integrated into libc, -lgnuregex
will be going away. Fortune use the old re_comp() & re_exec() regex
routines that are provided by -lcompat.
-# $Id: Makefile,v 1.5 1993/08/05 02:16:36 jtc Exp $
+# $Id: Makefile,v 1.6 1993/11/11 01:01:21 jtc Exp $
PROG= fortune
MAN6= fortune.0
CFLAGS+= -I${.CURDIR}/../strfile
-LDADD+= -lgnuregex
-DPADD+= /usr/lib/libgnuregex.a
+LDADD+= -lcompat
+DPADD+= ${LIBCOMPAT}
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.prog.mk>