pretend we have openssl-1.1

This commit is contained in:
christos 2018-02-05 11:57:28 +00:00
parent 00a8c5d883
commit 6fec6006f2
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.10 2017/11/06 10:26:13 snj Exp $
# $NetBSD: Makefile.inc,v 1.11 2018/02/05 11:57:28 christos Exp $
WARNS?= 4
@ -15,6 +15,7 @@ CPPFLAGS+=-DHAVE_DLOPEN
CPPFLAGS+=-DHAVE_HEADER_AD
CPPFLAGS+=-DHAVE_LOGIN_CAP
CPPFLAGS+=-DHAVE_STDLIB_H
CPPFLAGS+=-DOPENSSL_VERSION_NUMBER=0x10100000L
CPPFLAGS+=-DWITH_OPENSSL -DENABLE_PKCS11 -D_OPENBSD_SOURCE
.if !defined(NOPIC)

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2018/02/04 03:19:53 christos Exp $
# $NetBSD: Makefile,v 1.14 2018/02/05 11:58:13 christos Exp $
USE_FORT?= yes # network protocol library
@ -10,6 +10,7 @@ LINTFLAGS+= -Sw
LIB= radius
CPPFLAGS+= -I.
CPPFLAGS+= -DOPENSSL_VERSION_NUMBER=0x10100000L
CPPFLAGS+= -DWITH_SSL
LIBDPLIBS+=crypto ${.CURDIR}/../../crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto