summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-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 \