mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Convert to new LIB_DEPENDS format
- Remove outdated OSVERSION check
This commit is contained in:
parent
f0ac993256
commit
e85cd77eb0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337634
@ -19,20 +19,20 @@ TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
||||
USE_PERL5= configure
|
||||
USES= perl5
|
||||
|
||||
LZMA_DEPEND?= sys
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if (${ARCH} == "sparc64")
|
||||
LZMA_DEPEND= xz
|
||||
.endif
|
||||
|
||||
.if (${OSVERSION} > 900012) || ((${OSVERSION} > 800505) && (${OSVERSION} < 900000))
|
||||
LZMA_DEPEND?= sys
|
||||
.else
|
||||
LZMA_DEPEND?= xz
|
||||
.if ${LZMA_DEPEND} == "lzmalib"
|
||||
LIB_DEPENDS+= liblzma.so.1:${PORTSDIR}/archivers/lzmalib
|
||||
.endif
|
||||
|
||||
.if (${LZMA_DEPEND} == "xz") || (${LZMA_DEPEND} == "lzmalib")
|
||||
LIB_DEPENDS+= liblzma.so:${PORTSDIR}/archivers/${LZMA_DEPEND}
|
||||
.if ${LZMA_DEPEND} == "xz"
|
||||
LIB_DEPENDS+= liblzma.so.5:${PORTSDIR}/archivers/xz
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
|
Loading…
Reference in New Issue
Block a user