From 161306a5d4679fa9f430dece13f89d3b8e29f12f Mon Sep 17 00:00:00 2001 From: skreuzer Date: Thu, 2 Apr 2015 18:44:43 +0000 Subject: Require lang/clang36 when building on FreeBSD 9.3 or older --- deskutils/taskwarrior/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + +.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 -- cgit