Module Name:    src
Committed By:   christos
Date:           Thu Feb 25 21:24:00 UTC 2021

Modified Files:
        src/distrib/utils/libhack: Makefile.inc

Log Message:
Add regcomp.c and regexec.c so that we get a version that does not use NLS
and brings in all the locale code.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/distrib/utils/libhack/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/libhack/Makefile.inc
diff -u src/distrib/utils/libhack/Makefile.inc:1.36 src/distrib/utils/libhack/Makefile.inc:1.37
--- src/distrib/utils/libhack/Makefile.inc:1.36	Fri Apr 17 10:55:24 2020
+++ src/distrib/utils/libhack/Makefile.inc	Thu Feb 25 16:24:00 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.36 2020/04/17 14:55:24 jdolecek Exp $
+# $NetBSD: Makefile.inc,v 1.37 2021/02/25 21:24:00 christos Exp $
 #
 # Include this fragment to build libhack.o
 # It is .o and not .a to make sure these are the
@@ -25,7 +25,7 @@ HACKOBJS+=	getcap.o getgrent.o getnet.o 
 		localeconv.o multibyte.o perror.o runetable.o setlocale.o \
 		nl_langinfo.o strcasecmp.o \
 		strerror.o strsignal.o syslog.o utmp.o fmtcheck.o \
-	    aligned_alloc.o
+		aligned_alloc.o regcomp.o regexec.o
 
 .if (${USE_YP} != "no")
 HACKOBJS+=	yplib.o
@@ -78,9 +78,12 @@ libhack.o: ${HACKOBJS}
 	${HACKSRC} \
 	${HACKSRC}/../../../lib/libc/gen \
 	${HACKSRC}/../../../lib/libc/locale \
+	${HACKSRC}/../../../lib/libc/regex \
 	${HACKSRC}/../../../lib/libc/stdlib
 .else
 # XXX .PATH won't work here, because of crunchgen used by various builds
+regcomp.o:	${HACKSRC}/../../../lib/libc/regex/regcomp.c
+regexec.o:	${HACKSRC}/../../../lib/libc/regex/regexec.c
 getcap.o:	${HACKSRC}/../../../lib/libc/gen/getcap.c
 getgrent.o:	${HACKSRC}/getgrent.c
 gethost.o:	${HACKSRC}/gethost.c

Reply via email to