Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Aug 2016 07:02:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211592] bsd.ssl.mk migration to USES exposed conflict between ncurses/ssl rpaths (base vs ports)
Message-ID:  <bug-211592-13-CqVwYdbUY5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211592-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211592-13@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=3D211592

Fukang Chen <loader@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |loader@FreeBSD.org

--- Comment #1 from Fukang Chen <loader@FreeBSD.org> ---
Created attachment 173350
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173350&action=
=3Dedit
LDFLAGS.txt

Here's a list of make -V LDFLAGS output, these ports might be affected by
loading ssl.mk after other USES.

I just noticed there's a port security/heimdal that doesn't have ncurses in
USES:

r417650: -Wl,-rpath,/usr/local/lib/heimdal:/usr/local/lib   -L/usr/local/lib
r417651:  -Wl,-rpath,/usr/local/lib/heimdal:/usr/lib -L/usr/local/lib
-Wl,-rpath,/usr/local/lib

LDFLAGS is empty when security/heimdal loads gssapi.mk,
then it goes to line 162:

https://svnweb.freebsd.org/ports/head/Mk/Uses/gssapi.mk?view=3Dmarkup#l156
156     .if !empty(LDFLAGS:M-Wl,-rpath,*)
157     .for F in ${LDFLAGS:M-Wl,-rpath,*}
158     LDFLAGS:=3D       -Wl,-rpath,${_RPATH}:${F:S/-Wl,-rpath,//} \
159                     ${LDFLAGS:N-Wl,-rpath,*}
160     .endfor
161     .else
162     LDFLAGS+=3D       -Wl,-rpath,${_RPATH}:/usr/lib
163     .endif

--=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-211592-13-CqVwYdbUY5>