Created attachment 181507 [details] patch to add /usr/lib to link commandline Makefile.lib sets LDFLAGS like so: LDFLAGS= -shared -E -lGL -L${LOCALBASE}/lib -lX11 -lXi -lXmu -lm -lz The LLD linker does not include default search paths, so /usr/lib has to be explicitly specified, in addition to /usr/local/lib, as in the attached patch. This will unblock 101 skipped ports in the LLD exp-run (PR 214864).
Ping.
(In reply to Ed Maste from comment #1) Hi, pong! I'm alive... I will check this one tomorrow (Taiwan Time). Sorry about my delay!
A commit references this bug: Author: araujo Date: Thu Aug 24 09:01:11 UTC 2017 New revision: 448652 URL: https://svnweb.freebsd.org/changeset/ports/448652 Log: The LLD linker does not include default search paths, so /usr/lib has to be explicitly specified also bump PORTREVISION. PR: ports/218399 Submitted by: emaste Changes: head/print/gl2ps/Makefile head/print/gl2ps/files/Makefile.lib
Done! Thanks. Sorry the delay!
A commit references this bug: Author: araujo Date: Thu Aug 24 09:13:09 UTC 2017 New revision: 448656 URL: https://svnweb.freebsd.org/changeset/ports/448656 Log: Bump PORTREVISION to reflect print/gl2ps changes. PR: ports/218399 (based on) Submitted by: emaste Changes: head/cad/opencascade/Makefile head/math/octave/Makefile head/math/vtk5/Makefile head/science/paraview/Makefile
Does it make sense to add -L/usr/lib globally in case !LLD_UNSAFE?
There's no trouble adding it always.