[Bug 280311] www/nginx and www/nginx-devel: possibly an error in the ports' Makefiles for the HTTPV3_LSSL build option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Jul 2024 07:29:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280311

            Bug ID: 280311
           Summary: www/nginx and www/nginx-devel: possibly an error in
                    the ports' Makefiles for the HTTPV3_LSSL build option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: spambox@haruhiism.net
                CC: joneum@FreeBSD.org, osa@FreeBSD.org
                CC: joneum@FreeBSD.org, osa@FreeBSD.org

I was looking for Makefile examples for LibreSSL usage and noticed that for
both nginx and nginx-devel the Makefiles contain a duplicated line:

HTTPV3_LSSL_BUILD_DEPENDS=     
${LOCALBASE}/include/tls.h:security/libressl-devel
HTTPV3_LSSL_BUILD_DEPENDS=     
${LOCALBASE}/include/tls.h:security/libressl-devel

presumably instead of

HTTPV3_LSSL_BUILD_DEPENDS=     
${LOCALBASE}/include/tls.h:security/libressl-devel
HTTPV3_LSSL_RUN_DEPENDS=       
${LOCALBASE}/include/tls.h:security/libressl-devel

I feel like this might lead to the LibreSSL port not being installed during
package installation on systems that do not use DEFAULT_VERSIONS+=
ssl=libressl-devel, with possible issues on systems with DEFAULT_VERSIONS+=
ssl=libressl when versions of these ports diverge.

-- 
You are receiving this mail because:
You are the assignee for the bug.