]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
Link with -lcompat instead of -lgnuregex.
authorjtc <jtc@NetBSD.org>
Thu, 11 Nov 1993 01:01:21 +0000 (01:01 +0000)
committerjtc <jtc@NetBSD.org>
Thu, 11 Nov 1993 01:01:21 +0000 (01:01 +0000)
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.

fortune/fortune/Makefile

index 3a8b695fda8fe393bea1844d4117b0182e468b35..58c53c0a5a8a3aeef4b655b38ba2c0306953f879 100644 (file)
@@ -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>