From 3a6dcb1fad4ca4a345e71cbd2674a3e648b52e18 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sun, 12 Jul 2015 03:39:36 +0000 Subject: [PATCH] Add new include path for sha256.h This fixes the bootstrap build on FreeBSD 10. Submitted by: andrew --- lib/libmd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile index 61bea29c96b1..c1f6eb9a03af 100644 --- a/lib/libmd/Makefile +++ b/lib/libmd/Makefile @@ -48,7 +48,8 @@ CLEANFILES+= md[245]hl.c md[245].ref md[245].3 mddriver \ # in which case: # * macros are used to rename symbols to libcrypt internal names # * no weak aliases are generated -CFLAGS+= -I${.CURDIR} -DWEAK_REFS +CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sys/crypto/sha2 +CFLAGS+= -DWEAK_REFS .PATH: ${.CURDIR}/${MACHINE_ARCH} ${.CURDIR}/../../sys/crypto/sha2 .if exists(${MACHINE_ARCH}/sha.S)