Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 13:32:12 +0100
From:      Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
To:        freebsd-ports@freebsd.org
Subject:   Re: Annoying problem lzma - lzmalib
Message-ID:  <15e7c23c-3cfc-a0ea-e2a8-0c2aded195ff@utanet.at>
In-Reply-To: <245fde33-3c94-55f0-c675-0cf54aaf9af4@utanet.at>
References:  <245fde33-3c94-55f0-c675-0cf54aaf9af4@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15e7c23c-3cfc-a0ea-e2a8-0c2aded195ff>