svn commit: r320928 - head/devel/ccache

Bryan Drewery bdrewery at FreeBSD.org
Fri Jun 14 14:22:51 UTC 2013


Author: bdrewery
Date: Fri Jun 14 14:22:51 2013
New Revision: 320928
URL: http://svnweb.freebsd.org/changeset/ports/320928

Log:
  Convert to new options helpers

Modified:
  head/devel/ccache/Makefile

Modified: head/devel/ccache/Makefile
==============================================================================
--- head/devel/ccache/Makefile	Fri Jun 14 14:19:15 2013	(r320927)
+++ head/devel/ccache/Makefile	Fri Jun 14 14:22:51 2013	(r320928)
@@ -28,6 +28,8 @@ OPTIONS_DEFINE=	CLANGLINK LLVMLINK STATI
 CLANGLINK_DESC=	Create clang compiler links if clang is installed
 LLVMLINK_DESC=	Create llvm compiler links if llvm is installed
 
+STATIC_LDFLAGS=	-static
+
 .include <bsd.port.options.mk>
 
 PLIST_SUB+=	CCLINKDIR="${CCLINKDIR}"
@@ -47,10 +49,6 @@ CCACHE_COMPILERS+=	clang clang++
 CCACHE_COMPILERS+=	llvm-gcc llvm-c++ llvm-g++
 .endif
 
-.if ${PORT_OPTIONS:MSTATIC}
-LDFLAGS+=		"--static"
-.endif
-
 CCACHE_COMPILERS+=	${EXTRA_COMPILERS}
 SUB_LIST+=	CCACHE_COMPILERS="${CCACHE_COMPILERS}" \
 		CCLINKDIR="${CCLINKDIR}" \


More information about the svn-ports-all mailing list