summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/boinc-astropulse/Makefile5
1 files changed, 5 insertions, 0 deletions
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