git: c3b853fe522e - main - libcrypto: Install tests in the tests package

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Wed, 05 Nov 2025 21:26:26 UTC
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=c3b853fe522ead976863af086557be8863327eb0

commit c3b853fe522ead976863af086557be8863327eb0
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-11-05 21:17:31 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-11-05 21:17:31 +0000

    libcrypto: Install tests in the tests package
    
    libcrypto's Makefile.inc used PACKAGE=openssl, which overrides the
    PACKAGE=tests in libcrypto/tests/Makefile.  Use PACKAGE?=openssl
    instead to avoid this.  This puts the OpenSSL tests in the tests
    package where they belong.
    
    MFC after:      1 day
    Reviewed by:    manu, ngie
    Sponsored by:   https://www.patreon.com/bsdivy
    Differential Revision:  https://reviews.freebsd.org/D53595
---
 secure/lib/libcrypto/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index 5b281166df61..73c650d590ff 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -1,6 +1,6 @@
 .include <bsd.own.mk>
 
-PACKAGE=	openssl
+PACKAGE?=	openssl
 LIB_PACKAGE=
 
 LCRYPTO_SRC=	${SRCTOP}/crypto/openssl