Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2019 10:55:37 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mark Linimon <linimon@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r508300 - head/devel/include-what-you-use
Message-ID:  <o911-9wxi-wny@FreeBSD.org>
In-Reply-To: <201908070840.x778ejGD092822@repo.freebsd.org> (Mark Linimon's message of "Wed, 7 Aug 2019 08:40:45 %2B0000 (UTC)")
References:  <201908070840.x778ejGD092822@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon <linimon@FreeBSD.org> writes:

> Author: linimon
> Date: Wed Aug  7 08:40:45 2019
> New Revision: 508300
> URL: https://svnweb.freebsd.org/changeset/ports/508300
>
> Log:
>   Refactor out the constant string '80' to ease future maintenance.
>
> Modified:
>   head/devel/include-what-you-use/Makefile
>
> Modified: head/devel/include-what-you-use/Makefile
> ==============================================================================
> --- head/devel/include-what-you-use/Makefile	Wed Aug  7 08:33:24 2019	(r508299)
> +++ head/devel/include-what-you-use/Makefile	Wed Aug  7 08:40:45 2019	(r508300)
> @@ -12,8 +12,9 @@ COMMENT=	Tool for use with clang to analyze #includes 
>  LICENSE=	NCSA
>  LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
>  
> -BUILD_DEPENDS=	clang80:devel/llvm80
> -RUN_DEPENDS=	clang80:devel/llvm80
> +LLVM_VER=	80
> +BUILD_DEPENDS=	clang${LLVM_VER}:devel/llvm${LLVM_VER}
> +RUN_DEPENDS=	clang${LLVM_VER}:devel/llvm${LLVM_VER}
>  
>  USES=		cmake compiler:c++11-lang ncurses python:run shebangfix
>  USE_GITHUB=	yes
> @@ -23,7 +24,7 @@ SHEBANG_FILES=	fix_includes.py \
>  
>  GH_TAGNAME=	clang_8.0

Either LLVM_VER or GH_TAGNAME should be eliminated to avoid redundancy.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?o911-9wxi-wny>