From 4fa5eef42be4ae01f4e88a0426e2e041696ef5b1 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 10 Feb 2011 10:07:11 +0100 Subject: prt-get, adaptation pour les 2 architectures --- base/prt-get/Pkgfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'base') diff --git a/base/prt-get/Pkgfile b/base/prt-get/Pkgfile index 91b139fdd..852197118 100644 --- a/base/prt-get/Pkgfile +++ b/base/prt-get/Pkgfile @@ -5,13 +5,20 @@ name=prt-get version=5.18 -release=3 +release=4 source=(http://jw.smts.ch/files/crux/prt-get-$version.tar.gz prt-get.diff prt-get.conf prt-get.aliases) build() { cd ${name}-${version} patch -p1 -i $SRC/$name.diff +case `uname -m` in + x86_64) + sed -i "s/\.footprint/\.footprint\.x86_64/" src/prtget.cpp;; + + i?86) + sed -i "s/\.footprint/\.footprint\.i686/" src/prtget.cpp;; +esac ./configure \ --prefix=/usr \ -- cgit v1.2.3-70-g09d2