From e85cd77eb07c0367e3df7dd73ab145daf9570f87 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 27 Dec 2013 02:16:12 +0000 Subject: [PATCH] - Convert to new LIB_DEPENDS format - Remove outdated OSVERSION check --- archivers/p5-Compress-Raw-Lzma/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/archivers/p5-Compress-Raw-Lzma/Makefile b/archivers/p5-Compress-Raw-Lzma/Makefile index bd5a54488d69..4a674f8890e2 100644 --- a/archivers/p5-Compress-Raw-Lzma/Makefile +++ b/archivers/p5-Compress-Raw-Lzma/Makefile @@ -19,20 +19,20 @@ TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod USE_PERL5= configure USES= perl5 +LZMA_DEPEND?= sys + .include .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: