Date: Sat, 06 Aug 2016 09:28:59 +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-NoSk1GShpe@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 --- Comment #4 from Fukang Chen <loader@FreeBSD.org> --- Please correct me if I'm wrong, I think the settings in the Uses/*.mk are appended by the order they loaded. r417650 loads bsd.ssl.mk first then Uses/ncurses.mk: % make -C /usr/ports/lang/python27 -dv -V PKGNAME 2>&1 | grep Global:LDFLAGS Global:LDFLAGS =3D=20 Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} ${OPENSSL_LDFLAGS} Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} ${OPENSSL_LDFLAGS} -Wl,-rpath=3D${NCURSESRPATH} Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} ${OPENSSL_LDFLAGS} -Wl,-rpath=3D${NCURSESRPATH} -L${LOCALBASE}/lib r417651 loads Uses/ssl.mk first then Uses/ncurses.mk: % make -C /usr/ports/lang/python27 -dv -V PKGNAME 2>&1 | grep Global:LDFLAGS Global:LDFLAGS =3D=20 Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} -Wl,-rpath=3D${NCURSESRPAT= H} Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} -Wl,-rpath=3D${NCURSESRPAT= H} -L${LOCALBASE}/lib Global:LDFLAGS =3D ${${:UTHREADS}_${:ULDFLAGS}} -Wl,-rpath=3D${NCURSESRPAT= H} -L${LOCALBASE}/lib ${OPENSSL_LDFLAGS} for the port security/heimdal, gssapi.mk is loaded first,=20 when it sees LDFLAGS empty, LDFLAGS is set to -Wl,-rpath,${_RPATH}:/usr/lib r417650 loads bsd.ssl.mk first then Uses/gssapi.mk % make -C /usr/ports/security/heimdal -dv -V PKGNAME 2>&1 | grep Global:LDF= LAGS Global:LDFLAGS =3D=20 Global:LDFLAGS =3D ${OPENSSL_LDFLAGS} Global:LDFLAGS =3D -Wl,-rpath,/usr/local/lib/heimdal:/usr/local/lib=20=20 Global:LDFLAGS =3D -Wl,-rpath,/usr/local/lib/heimdal:/usr/local/lib=20=20 -L${LOCALBASE}/lib r417651 loads Uses/gssapi.mk then Uses/ssl.mk % make -C /usr/ports/security/heimdal -dv -V PKGNAME 2>&1 | grep Global:LDF= LAGS Global:LDFLAGS =3D=20 Global:LDFLAGS =3D -Wl,-rpath,${_RPATH}:/usr/lib Global:LDFLAGS =3D -Wl,-rpath,${_RPATH}:/usr/lib -L${LOCALBASE}/lib Global:LDFLAGS =3D -Wl,-rpath,${_RPATH}:/usr/lib -L${LOCALBASE}/lib ${OPENSSL_LDFLAGS} --=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-NoSk1GShpe>