aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2015-04-03 02:44:43 +0800
committerskreuzer <skreuzer@FreeBSD.org>2015-04-03 02:44:43 +0800
commit161306a5d4679fa9f430dece13f89d3b8e29f12f (patch)
treea896c938221f20326e1d260980954f5b0b8e9d35
parent3f2fde06ec89f07a2d6815b10b05ebdfcac47863 (diff)
downloadfreebsd-ports-gnome-161306a5d4679fa9f430dece13f89d3b8e29f12f.tar.gz
freebsd-ports-gnome-161306a5d4679fa9f430dece13f89d3b8e29f12f.tar.zst
freebsd-ports-gnome-161306a5d4679fa9f430dece13f89d3b8e29f12f.zip
Require lang/clang36 when building on FreeBSD 9.3 or older
-rw-r--r--deskutils/taskwarrior/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/deskutils/taskwarrior/Makefile b/deskutils/taskwarrior/Makefile
index 50b7c366c3c0..9032d593509e 100644
--- a/deskutils/taskwarrior/Makefile
+++ b/deskutils/taskwarrior/Makefile
@@ -20,6 +20,15 @@ ONLY_FOR_ARCHS= amd64
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GNUTLS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_GnuTLS=TRUE
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1000000
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang36:${PORTSDIR}/lang/clang36
+CPP= ${LOCALBASE}/bin/clang-cpp36
+CC= ${LOCALBASE}/bin/clang36
+CXX= ${LOCALBASE}/bin/clang++36
+.endif
+
WRKSRC= ${WRKDIR}/task-${PORTVERSION}
USES= cmake:outsource shebangfix