[Bug 271218] Mk/Uses/ssl.mk: relies on ${PREFIX} == ${LOCALBASE}

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 May 2023 00:18:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271218

            Bug ID: 271218
           Summary: Mk/Uses/ssl.mk: relies on ${PREFIX} == ${LOCALBASE}
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: ngie@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

When trying to get security/openssl30 and openssl from base to play well with
one another, the easier path forward (I found) was to change the --prefix for
OpenSSL from ports. This broke some interesting assumptions regarding default
CPPFLAGS, LDFLAGS, etc, where the code explicitly assumes that the port will
always be installed to /usr/local (${LOCALBASE}), instead of a
user/maintainer-specified --prefix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.