From: Michael Tremer Date: Fri, 18 Feb 2011 22:42:44 +0000 (+0100) Subject: ccache: Fix vendor tuple. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94b1fa72fa69b81da34dccd8aa04a450f0237a21;p=ipfire-3.x.git ccache: Fix vendor tuple. --- diff --git a/pkgs/core/ccache/ccache.nm b/pkgs/core/ccache/ccache.nm index 375d23b00..3ebfbc323 100644 --- a/pkgs/core/ccache/ccache.nm +++ b/pkgs/core/ccache/ccache.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = ccache PKG_VER = 3.1.4 -PKG_REL = 1 +PKG_REL = 2 PKG_MAINTAINER = PKG_GROUP = Development/Compilers @@ -36,6 +36,8 @@ PKG_SUMMARY = C/C++ compiler cache. PKG_BUILD_DEPS+= perl zlib-devel +CCACHE_PLATFORM_TARGET = $(subst -gnu,,$(DISTRO_MACHINE)) + define PKG_DESCRIPTION ccache is a compiler cache. It acts as a caching pre-processor to \ C/C++ compilers, using the -E compiler switch and a hash to detect \ @@ -66,7 +68,7 @@ define STAGE_INSTALL_CMDS mkdir -pv $(BUILDROOT)/usr/lib/ccache for i in gcc g++ cc c++; do \ ln -svf ../../bin/ccache $(BUILDROOT)/usr/lib/ccache/$${i}; \ - ln -svf ../../bin/ccache $(BUILDROOT)/usr/lib/ccache/$(DISTRO_MACHINE)-$${i}; \ + ln -svf ../../bin/ccache $(BUILDROOT)/usr/lib/ccache/$(CCACHE_PLATFORM_TARGET)-$${i}; \ done -mkdir -pv $(BUILDROOT)/etc/profile.d