From c32e22812c252488c829da6aec85b4d34cf6e0d7 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Thu, 17 Mar 2011 23:28:09 +0000 Subject: Add archivers/xz as a build dependency on systems which do not have it in the base system. This fixes the package build. Submitted by: pointyhat via pav --- astro/boinc-astropulse/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'astro') diff --git a/astro/boinc-astropulse/Makefile b/astro/boinc-astropulse/Makefile index 0e465bab0a07..504ed0f0e9bf 100644 --- a/astro/boinc-astropulse/Makefile +++ b/astro/boinc-astropulse/Makefile @@ -19,6 +19,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \ ${NONEXISTENT}:${PORTSDIR}/astro/boinc-setiathome-enhanced:patch +# stolen and adapted from bsd.port.mk +.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 +BUILD_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz +.endif + RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float -- cgit v1.2.3