[Bug 237275] Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for USES=gssapi

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 14 09:20:00 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237275

            Bug ID: 237275
           Summary: Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for
                    USES=gssapi
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
                CC: timp87 at gmail.com
             Flags: maintainer-feedback?(timp87 at gmail.com)
                CC: timp87 at gmail.com

Created attachment 203658
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203658&action=edit
patch

Setting GSSAPILDFLAGS for USES=gssapi causes -L/usr/lib to be added to LDFLAGS.

This breaks compilation of some ports, like www/squid on GCC architectures when
new GCC from ports needs to be used.

The new GCC tries to link to libstdc++ and fails. Not setting it explicitely
causes /usr/local/lib/gcc8/libstdc++.so to be taken instead and /usr/lib is
searched for libraries anyway, just with lower priority.

Tested on powerpc64 and amd64 on www/squid.

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


More information about the freebsd-ports-bugs mailing list