summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-10 10:07:11 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-10 10:07:11 +0100
commit4fa5eef42be4ae01f4e88a0426e2e041696ef5b1 (patch)
tree16705d595acda6ec60aa5689b424a9dee762d515
parent9870aa9f8f369214c53ef2284195974494095f42 (diff)
downloadnutyx-pakxe-4fa5eef42be4ae01f4e88a0426e2e041696ef5b1.tar.gz
nutyx-pakxe-4fa5eef42be4ae01f4e88a0426e2e041696ef5b1.tar.bz2
nutyx-pakxe-4fa5eef42be4ae01f4e88a0426e2e041696ef5b1.tar.xz
nutyx-pakxe-4fa5eef42be4ae01f4e88a0426e2e041696ef5b1.zip
prt-get, adaptation pour les 2 architectures
-rw-r--r--base/prt-get/Pkgfile9
1 files changed, 8 insertions, 1 deletions
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 \