From 70f0371ab19ca921288bc5fd9262f746afb2bdb6 Mon Sep 17 00:00:00 2001 From: tnut Date: Wed, 16 Feb 2011 08:42:42 +0100 Subject: rsync, maj 3.07-1, ajout du filtre --- base/rsync/Pkgfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'base/rsync/Pkgfile') diff --git a/base/rsync/Pkgfile b/base/rsync/Pkgfile index a670d60cb..918797059 100755 --- a/base/rsync/Pkgfile +++ b/base/rsync/Pkgfile @@ -6,7 +6,7 @@ name=rsync version=3.0.7 -release=1 +release=2 source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz\ rsync.driver) @@ -19,5 +19,12 @@ build() { make make DESTDIR=$PKG install install -d $PKG/etc/ports/drivers + case `uname -m` in + i?86) + sed -i "s/ARCH/x86_64/g" $SRC/rsync.driver;; + x86_64) + sed -i "s/ARCH/i686/g" $SRC/rsync.driver;; + esac + install -m 755 $SRC/rsync.driver $PKG/etc/ports/drivers/rsync } -- cgit v1.2.3-70-g09d2