]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
icecream: Fix symlinks that contained the machine tuple.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Feb 2011 17:11:46 +0000 (18:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Feb 2011 17:11:46 +0000 (18:11 +0100)
pkgs/core/icecream/icecream.nm

index 223f05bb5146c0010504481c917b1994602b6e6f..ab1e2ee3e5ab1d66f8fd3b085379bafc1f1dfcb5 100644 (file)
@@ -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 <michael.tremer@ipfire.org>
 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