From cea1dd9ee05c1c959e8125c07e2a47567d62adde Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 14 Jun 2013 14:22:51 +0000 Subject: [PATCH] Convert to new options helpers --- devel/ccache/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile index 66a901f2e1af..d8fe070c6e13 100644 --- a/devel/ccache/Makefile +++ b/devel/ccache/Makefile @@ -28,6 +28,8 @@ OPTIONS_DEFINE= CLANGLINK LLVMLINK STATIC DOCS CLANGLINK_DESC= Create clang compiler links if clang is installed LLVMLINK_DESC= Create llvm compiler links if llvm is installed +STATIC_LDFLAGS= -static + .include 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}" \