Annoying problem lzma - lzmalib

Walter Schwarzenfeld w.schwarzenfeld at utanet.at
Fri Jan 20 12:32:21 UTC 2017


I sikved it for  me (the problematic portss were math/R, lang/python34, 
sysutils/cppheck, archivers/rpm4, archivers/libarchive and  
textproc/the_silver_searcher - maybe there are more...)

I write for me a "archivers.mk"

.if !defined(_INCLUDE_USES_ARCHIVE_MK)
_INCLUDE_USES_ARCHIVE_MK=    yes
_USES_POST+=archivers

.if exists(/usr/local/lib/liblzma.so)
LZMADIR=/any_oath_you_want/bin/lzma
.if !exists(${LZMADIR}/liblzma.so)
post-extract:
         ln -s /usr/lib/liblzma.so ${LZMADIR}/liblzma.so
.endif
LDFLAGS+=       -L${LZMADIR}
.endif

.endif

and this solves it for all above mentioned ports.


More information about the freebsd-ports mailing list