Revert kn's Makefile surgery. It no longer does what it was supposed
authortb <tb@openbsd.org>
Fri, 14 Oct 2022 17:09:43 +0000 (17:09 +0000)
committertb <tb@openbsd.org>
Fri, 14 Oct 2022 17:09:43 +0000 (17:09 +0000)
to do and I'm still not clear what it was supposed to fix.

regress/usr.sbin/rpki-client/Makefile
regress/usr.sbin/rpki-client/openssl11/Makefile

index 59b61c7..54afb19 100644 (file)
@@ -1,6 +1,13 @@
-# $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>
index f9a0eae..c7215cd 100644 (file)
@@ -1,9 +1,3 @@
-.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