From owner-svn-ports-all@freebsd.org Wed Aug 7 08:40:46 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6558EC3062; Wed, 7 Aug 2019 08:40:46 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 463Q261yYXz4PmM; Wed, 7 Aug 2019 08:40:46 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0356A9DD5; Wed, 7 Aug 2019 08:40:46 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x778ejT4092823; Wed, 7 Aug 2019 08:40:45 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x778ejGD092822; Wed, 7 Aug 2019 08:40:45 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201908070840.x778ejGD092822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 7 Aug 2019 08:40:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508300 - head/devel/include-what-you-use X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/devel/include-what-you-use X-SVN-Commit-Revision: 508300 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2019 08:40:46 -0000 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 -CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm80/lib/cmake/llvm \ - -DClang_DIR=${LOCALBASE}/llvm80/lib/cmake/clang +CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/llvm \ + -DClang_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/clang .include