to do and I'm still not clear what it was supposed to fix.
-# $OpenBSD: Makefile,v 1.11 2021/11/08 23:06:49 kn Exp $
+# $OpenBSD: Makefile,v 1.12 2022/10/14 17:09:43 tb Exp $
SUBDIR += libressl
+.if exists(/usr/local/bin/eopenssl11)
SUBDIR += openssl11
+.else
+.END:
+ @echo 'Run "pkg_add openssl--%1.1" to run tests against OpenSSL 1.1'
+ @echo SKIPPED
+.endif
.include <bsd.subdir.mk>
+.include <bsd.regress.mk>
-.if ! exists(/usr/local/bin/eopenssl11)
-regress:
- @echo 'Run "pkg_add openssl--%1.1" to run tests against OpenSSL 1.1'
- @echo SKIPPED
-.endif
-
LDADD += -Wl,-rpath,/usr/local/lib/eopenssl11 -L/usr/local/lib/eopenssl11
CFLAGS += -I${.CURDIR}/ -I/usr/local/include/eopenssl11/
CFLAGS += -DLIBRESSL_INTERNAL