diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-02 10:26:56 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-02 10:26:56 -0500 |
commit | 6f87594cae18e4ec676280e40b38984ea3bc39e6 (patch) | |
tree | 554befa96dd3947f87350994d357b05e5b3964f9 | |
parent | 4450da7ef295d177b169061dbbaf2ad51e7cf2a0 (diff) | |
download | abslibre-6f87594cae18e4ec676280e40b38984ea3bc39e6.tar.gz abslibre-6f87594cae18e4ec676280e40b38984ea3bc39e6.tar.bz2 abslibre-6f87594cae18e4ec676280e40b38984ea3bc39e6.zip |
change mozilla-testing/iceweasel-libre: (optionally) enable ccache
Detect if ccache is enabled, and add a line to .mozconfig
-rw-r--r-- | mozilla-testing/iceweasel-libre/PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
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 |