summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-03-17 23:28:09 +0000
committerRene Ladan <rene@FreeBSD.org>2011-03-17 23:28:09 +0000
commitc32e22812c252488c829da6aec85b4d34cf6e0d7 (patch)
tree60cc5a6c91b459d31cd15d7bfe47abe6b4e25229 /astro
parent- update to 0.07 (diff)
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
Notes
Notes: svn path=/head/; revision=271180
Diffstat (limited to 'astro')
-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