aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-03-18 07:28:09 +0800
committerrene <rene@FreeBSD.org>2011-03-18 07:28:09 +0800
commit4bdeaeac1f6b680e44fa09c64e68fc6b6354f12a (patch)
treea441d09bfa0377e24261e52978ec2353fa58f042 /astro
parent6ac5ac950f7a028ea9eb9db2689f78323d40ad02 (diff)
downloadfreebsd-ports-gnome-4bdeaeac1f6b680e44fa09c64e68fc6b6354f12a.tar.gz
freebsd-ports-gnome-4bdeaeac1f6b680e44fa09c64e68fc6b6354f12a.tar.zst
freebsd-ports-gnome-4bdeaeac1f6b680e44fa09c64e68fc6b6354f12a.zip
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
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