svn commit: r508302 - head/devel/creduce

Mark Linimon linimon at FreeBSD.org
Wed Aug 7 08:57:27 UTC 2019


Author: linimon
Date: Wed Aug  7 08:57:27 2019
New Revision: 508302
URL: https://svnweb.freebsd.org/changeset/ports/508302

Log:
  Refactor out the constant string '80' to ease future maintenance.

Modified:
  head/devel/creduce/Makefile

Modified: head/devel/creduce/Makefile
==============================================================================
--- head/devel/creduce/Makefile	Wed Aug  7 08:47:31 2019	(r508301)
+++ head/devel/creduce/Makefile	Wed Aug  7 08:57:27 2019	(r508302)
@@ -8,8 +8,9 @@ MASTER_SITES=	http://embed.cs.utah.edu/creduce/
 MAINTAINER=	swills at FreeBSD.org
 COMMENT=	Produces small test cases
 
-BUILD_DEPENDS=	llvm-config80:devel/llvm80
-RUN_DEPENDS=	llvm-config80:devel/llvm80 \
+LLVM_VER=	80
+BUILD_DEPENDS=	llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
+RUN_DEPENDS=	llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} \
 		topformflat:devel/delta \
 		astyle:devel/astyle \
 		p5-Benchmark-Timer>=0:devel/p5-Benchmark-Timer \
@@ -22,10 +23,10 @@ RUN_DEPENDS=	llvm-config80:devel/llvm80 \
 BROKEN_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config80 \
-		CC=${LOCALBASE}/bin/clang80 \
-		CXX=${LOCALBASE}/bin/clang++80 \
-		CPP=${LOCALBASE}/bin/clang-cpp80
+CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} \
+		CC=${LOCALBASE}/bin/clang${LLVM_VER} \
+		CXX=${LOCALBASE}/bin/clang++${LLVM_VER} \
+		CPP=${LOCALBASE}/bin/clang-cpp${LLVM_VER}
 
 USES=		autoreconf gmake libtool perl5
 


More information about the svn-ports-all mailing list