From e420845341622103879360f803bfaf5d425a6619 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lawrence=20Vel=C3=A1zquez?= <larryv@macports.org>
Date: Tue, 27 Jan 2015 00:37:24 -0500
Subject: [PATCH 15/16] (MP) libvpx: Enable ccache if requested

---
 contrib/libvpx/module.defs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs
index 1fb861d..0293db8 100644
--- a/contrib/libvpx/module.defs
+++ b/contrib/libvpx/module.defs
@@ -24,6 +24,10 @@ else ifeq (1-x86_64,$(BUILD.cross)-$(BUILD.machine))
     LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
 endif
 
+ifeq (yes,$(CCACHE))
+    LIBVPX.CONFIGURE.extra += --enable-ccache
+endif
+
 LIBVPX.BUILD.extra = quiet:=''
 LIBVPX.INSTALL.extra = quiet:=''
 LIBVPX.UNINSTALL.extra = quiet:=''
-- 
2.3.0

