From e4aafbee1f08b007f2c676ef69c5164cce52f541 Mon Sep 17 00:00:00 2001
From: millert <>
Date: Fri, 13 Aug 2004 14:54:12 +0000
Subject: When running regex regress build a private copy with REDEBUG enabled.
 That way we get the asserts enabled.

---
 src/regress/lib/libc/regex/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/regress/lib/libc/regex/Makefile b/src/regress/lib/libc/regex/Makefile
index a29686bca4..271debb5d3 100644
--- a/src/regress/lib/libc/regex/Makefile
+++ b/src/regress/lib/libc/regex/Makefile
@@ -1,10 +1,11 @@
-#	$OpenBSD: Makefile,v 1.5 2002/09/02 20:01:43 avsm Exp $
+#	$OpenBSD: Makefile,v 1.6 2004/08/13 14:54:12 millert Exp $
 #	$NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $
 
 PROG=	re
-SRCS=	main.c split.c debug.c
+SRCS=	main.c split.c debug.c regcomp.c regerror.c regexec.c regfree.c
+.PATH: ${.CURDIR}/../../../../lib/libc/regex
 
-CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex
+CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex -DREDEBUG -DPOSIX_MISTAKE
 
 TESTS=	${.CURDIR}/tests
 
-- 
cgit v1.2.3-55-g6feb