Install 32-bit libcrypto engines in /usr/lib32/engines instead of

/usr/lib32 and let 32-bit libcrypto search that location instead of
/usr/lib/engines.

Reviewed by:	jkim
This commit is contained in:
Tijl Coosemans 2020-06-01 18:58:09 +00:00
parent 1cfffed85d
commit 82c3a6548f
3 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,8 @@
lib32
dtrace
..
engines
..
geom
..
i18n

View File

@ -75,7 +75,7 @@ CFLAGS+= -DPOLY1305_ASM
.if defined(LIB)
CFLAGS+= -DOPENSSLDIR="\"/etc/ssl\""
CFLAGS+= -DENGINESDIR="\"/usr/lib/engines\""
CFLAGS+= -DENGINESDIR="\"${LIBDIR}/engines\""
.endif
CFLAGS+= -DNDEBUG

View File

@ -1,6 +1,6 @@
# $FreeBSD$
SHLIBDIR?= /usr/lib/engines
SHLIBDIR= ${LIBDIR}/engines
LCRYPTO_SRC= ${SRCTOP}/crypto/openssl