aboutsummaryrefslogtreecommitdiff
path: root/deskutils/taskwarrior
diff options
context:
space:
mode:
authorSteven Kreuzer <skreuzer@FreeBSD.org>2015-04-02 18:44:43 +0000
committerSteven Kreuzer <skreuzer@FreeBSD.org>2015-04-02 18:44:43 +0000
commit1466e21f9abfd75e2c646eec40f472665a268ad6 (patch)
treea896c938221f20326e1d260980954f5b0b8e9d35 /deskutils/taskwarrior
parentea81eda3e6c89eaba1b317f8b4cd7436285f06dc (diff)
downloadports-1466e21f9abfd75e2c646eec40f472665a268ad6.tar.gz
ports-1466e21f9abfd75e2c646eec40f472665a268ad6.zip
Require lang/clang36 when building on FreeBSD 9.3 or older
Notes
Notes: svn path=/head/; revision=383042
Diffstat (limited to 'deskutils/taskwarrior')
-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