Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 18:44:44 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383042 - head/deskutils/taskwarrior
Message-ID:  <201504021844.t32Iii4i024094@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skreuzer
Date: Thu Apr  2 18:44:43 2015
New Revision: 383042
URL: https://svnweb.freebsd.org/changeset/ports/383042

Log:
  Require lang/clang36 when building on FreeBSD 9.3 or older

Modified:
  head/deskutils/taskwarrior/Makefile

Modified: head/deskutils/taskwarrior/Makefile
==============================================================================
--- head/deskutils/taskwarrior/Makefile	Thu Apr  2 18:38:55 2015	(r383041)
+++ head/deskutils/taskwarrior/Makefile	Thu Apr  2 18:44:43 2015	(r383042)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504021844.t32Iii4i024094>