Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 22:12:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237275] Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for USES=gssapi
Message-ID:  <bug-237275-7788-ZfNtD2pd3d@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237275-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237275-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #5 from commit-hook@freebsd.org ---
A commit references this bug:

Author: pkubaj
Date: Fri Nov 29 22:11:34 UTC 2019
New revision: 518677
URL: https://svnweb.freebsd.org/changeset/ports/518677

Log:
  Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for USES=3Dgssapi

  Setting GSSAPILDFLAGS for USES=3Dgssapi 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 explicit=
ely
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.

  PR:           237275
  Approved by:  mentors (implicit approval), hrs (maintainer timeout)

Changes:
  head/Mk/Uses/gssapi.mk

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



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