From 6f87594cae18e4ec676280e40b38984ea3bc39e6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 2 Jan 2012 10:26:56 -0500 Subject: change mozilla-testing/iceweasel-libre: (optionally) enable ccache Detect if ccache is enabled, and add a line to .mozconfig --- mozilla-testing/iceweasel-libre/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mozilla-testing') diff --git a/mozilla-testing/iceweasel-libre/PKGBUILD b/mozilla-testing/iceweasel-libre/PKGBUILD index bff0cef79..a9c8fdd76 100644 --- a/mozilla-testing/iceweasel-libre/PKGBUILD +++ b/mozilla-testing/iceweasel-libre/PKGBUILD @@ -100,6 +100,10 @@ build() { patch -Np1 -i "$srcdir/libre.patch" cp -f ${srcdir}/region.properties ./browser/locales/en-US/chrome/browser-region/ + if [[ $(check_buildenv ccache) = "y" && $(check_option ccache) != "n" ]]; then + echo "ac_add_options --with-ccache=`which ccache`" >> .mozconfig + fi + # Fix PRE_RELEASE_SUFFIX sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' \ browser/base/Makefile.in -- cgit v1.2.3-2-g168b