From: Michael Tremer Date: Sat, 19 Feb 2011 17:11:46 +0000 (+0100) Subject: icecream: Fix symlinks that contained the machine tuple. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bd748430c71d32862cb2bcf9182c38d6357b833;p=ipfire-3.x.git icecream: Fix symlinks that contained the machine tuple. --- diff --git a/pkgs/core/icecream/icecream.nm b/pkgs/core/icecream/icecream.nm index 223f05bb5..ab1e2ee3e 100644 --- a/pkgs/core/icecream/icecream.nm +++ b/pkgs/core/icecream/icecream.nm @@ -29,7 +29,7 @@ include $(PKGROOT)/Include PKG_NAME = icecream PKG_VER = 0.9.6 -PKG_REL = 2 +PKG_REL = 3 PKG_MAINTAINER = Michael Tremer PKG_GROUP = Development/Compilers @@ -40,6 +40,8 @@ PKG_SUMMARY = Distributed compiler. PKG_DEPS += gcc-c++ /usr/bin/ldd PKG_BUILD_DEPS+= gcc-c++ +ICECREAM_TARGET_PLATFORM = $(subst -gnu,,$(DISTRO_MACHINE)) + define PKG_DESCRIPTION Icecream is a distributed compile system. It allows parallel compiling by \ distributing the compile jobs to several nodes of a compile network running the \ @@ -63,7 +65,7 @@ define STAGE_INSTALL_CMDS mkdir -pv $(BUILDROOT)/usr/lib/icecc/bin for i in gcc g++ cc c++; do \ ln -svf ../../../bin/icecc $(BUILDROOT)/usr/lib/icecc/bin/$${i}; \ - ln -svf ../../../bin/icecc $(BUILDROOT)/usr/lib/icecc/bin/$(DISTRO_MACHINE)-$${i}; \ + ln -svf ../../../bin/icecc $(BUILDROOT)/usr/lib/icecc/bin/$(ICECREAM_TARGET_PLATFORM)-$${i}; \ done sed -e 's|^#!.*|#!/bin/bash|' -i $(BUILDROOT)/usr/lib/icecc/icecc-create-env