If portupgrades fail because of missing ‘/usr/local/lib/liblzma.la’, try:

  1. Download the tarball http://www.sawp.com.br/share/liblzma_freebsd/liblzma__freebsd_x86.tar.gz</p> <pre lang="bash">wget http://www.sawp.com.br/share/liblzma_freebsd/liblzma__freebsd_x86.tar.gz</pre>

  2. Extract the files</p> <pre lang="bash">tar zvxf liblzma__freebsd_x86.tar.gz</pre>

  3. Move to appropriate directory:</p> <pre lang="bash">mv liblzma* /usr/local/lib/</pre>

Continue the port installation.