summaryrefslogtreecommitdiffstats
path: root/fortune/fortune/Makefile
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-11-11 01:01:21 +0000
committerjtc <jtc@NetBSD.org>1993-11-11 01:01:21 +0000
commita872e801961cf10a267ab014aeed9c635aa66a7b (patch)
treee13d2a38bf79389a14688d7cb0af28031f098e7d /fortune/fortune/Makefile
parent46f77e37976fedad0ed1ec93f4f56a6db9d3d263 (diff)
downloadbsdgames-darwin-a872e801961cf10a267ab014aeed9c635aa66a7b.tar.gz
bsdgames-darwin-a872e801961cf10a267ab014aeed9c635aa66a7b.tar.zst
bsdgames-darwin-a872e801961cf10a267ab014aeed9c635aa66a7b.zip
Link with -lcompat instead of -lgnuregex.
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.
Diffstat (limited to 'fortune/fortune/Makefile')
-rw-r--r--fortune/fortune/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortune/fortune/Makefile b/fortune/fortune/Makefile
index 3a8b695f..58c53c0a 100644
--- a/fortune/fortune/Makefile
+++ b/fortune/fortune/Makefile
@@ -1,10 +1,10 @@
-# $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>