Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2019 18:25:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237972] Mk/Uses/ssl.mk: "options helpers are incorrectly set" for OPENSSL_LDFLAGS
Message-ID:  <bug-237972-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237972

            Bug ID: 237972
           Summary: Mk/Uses/ssl.mk: "options helpers are incorrectly set"
                    for OPENSSL_LDFLAGS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

Created attachment 204456
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204456&action=
=3Dedit
[patch] fix developer sanity check when USES=3Dssl

After bsd.sanity.mk added a check for "incorrectly set options helpers" (ap=
prox
Apr 18), some ports started failing check-sanity if DEVELOPER=3Dyes.

You can see this with at least devel/gsoap and net/libvncserver.

example:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
% make DEVELOPER=3Dyes check-sanity
/!\ gsoap-2.8.83: Makefile errors /!\

The following options helpers are incorrectly set after bsd.port.options.mk
and are ineffective: OPENSSL_LDFLAGS

*** Error code 1

Stop.
make: stopped in /usr/ports/devel/gsoap
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I think the fix is to change Uses/ssl.mk to specify LDFLAGS instead of
OPENSSL_LDFLAGS.  Attached.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237972-7788>