1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00

rpki-client regress: use openssl 3.5 if available and fall back to 3.3.

The packages will be updated from 3.3 to 3.5 automatically. No action
needed for those running full regress.
This commit is contained in:
tb
2025-07-16 15:21:45 +00:00
parent 20b69545ed
commit 59ba13b996
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.15 2025/01/15 11:00:09 tb Exp $
# $OpenBSD: Makefile,v 1.16 2025/07/16 15:21:45 tb Exp $
SUBDIR += libressl
.if exists(/usr/local/bin/eopenssl33)
.if exists(/usr/local/bin/eopenssl33) || exists(/usr/local/bin/eopenssl35)
SUBDIR += openssl
.endif
@@ -1,6 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2025/01/15 11:00:09 tb Exp $
# $OpenBSD: Makefile,v 1.4 2025/07/16 15:21:45 tb Exp $
.if exists(/usr/local/bin/eopenssl35)
EOPENSSL = eopenssl35
.else
EOPENSSL = eopenssl33
.endif
LDADD += -Wl,-rpath,/usr/local/lib/${EOPENSSL} -L/usr/local/lib/${EOPENSSL}
CFLAGS += -I${.CURDIR}/ -I/usr/local/include/${EOPENSSL}/