summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-02 11:38:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-02 11:38:24 -0300
commitcc284e6a583d971d0d5371f024363413da2707d5 (patch)
treec3eddc4ef790738e146a01a5b4d26d6e7e4b6868 /core
parent4a662496845b00e9e85268bda9853ce13d5a4ba1 (diff)
[core] update
Diffstat (limited to 'core')
-rw-r--r--core/libpipeline/PKGBUILD2
-rw-r--r--core/mdadm/PKGBUILD6
-rw-r--r--core/pacman/PKGBUILD8
3 files changed, 12 insertions, 4 deletions
diff --git a/core/libpipeline/PKGBUILD b/core/libpipeline/PKGBUILD
index 086d93d54..a0a0f5045 100644
--- a/core/libpipeline/PKGBUILD
+++ b/core/libpipeline/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpipeline
pkgver=1.2.0
pkgrel=1
pkgdesc="a C library for manipulating pipelines of subprocesses in a flexible and convenient way"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libpipeline.nongnu.org/"
license=('GPL')
groups=('base')
diff --git a/core/mdadm/PKGBUILD b/core/mdadm/PKGBUILD
index cc4d53a15..e6f72fa5f 100644
--- a/core/mdadm/PKGBUILD
+++ b/core/mdadm/PKGBUILD
@@ -24,12 +24,12 @@ replaces=('raidtools')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i ../segfault-3.2.1.patch
- make CXFLAGS="$CFLAGS"
+ make CXFLAGS="$CFLAGS -Wno-error"
}
package() {
cd $srcdir/$pkgname-$pkgver
- make INSTALL=/bin/install DESTDIR=$pkgdir install
+ make CXFLAGS="-Wno-error" INSTALL=/bin/install DESTDIR=$pkgdir install
install -D -m644 ../mdadm.conf $pkgdir/etc/mdadm.conf
install -D -m755 ../mdadm $pkgdir/etc/rc.d/mdadm
install -D -m644 ../mdadm_install $pkgdir/lib/initcpio/install/mdadm
@@ -37,7 +37,7 @@ package() {
# symlink for backward compatibility
ln -sf /lib/initcpio/hooks/mdadm $pkgdir/lib/initcpio/hooks/raid
# build static mdassemble for Arch's initramfs
- make MDASSEMBLE_AUTO=1 mdassemble
+ make CXFLAGS="-Wno-error" MDASSEMBLE_AUTO=1 mdassemble
install -D -m755 mdassemble $pkgdir/sbin/mdassemble
}
md5sums=('d1e2549202bd79d9e99f1498d1109530'
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD
index 4bf78b019..336d5d9d6 100644
--- a/core/pacman/PKGBUILD
+++ b/core/pacman/PKGBUILD
@@ -18,10 +18,12 @@ options=(!libtool)
source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
pacman.conf
pacman.conf.x86_64
+ pacman.conf.mips64el
makepkg.conf)
md5sums=('b4f1fdbc17100923071ebe8fe9377be5'
'e99eb721b6b704f68c5f47468507c102'
'f8b939d9b2beb79a0436961a2d707d7c'
+ '14eac9e54b81e1f87a498e90a81c19af'
'a8684989d3dfad5a6e1bcf95af3e571b')
# keep an upgrade path for older installations
@@ -53,6 +55,12 @@ package() {
mychost="x86_64-unknown-linux-gnu"
myflags="-march=x86-64 "
;;
+ mips64el)
+ install -m644 $srcdir/pacman.conf.mips64el $pkgdir/etc/pacman.conf
+ mycarch="mips64el"
+ mychost="mips64el-unknown-linux-gnu"
+ myflags="-O2 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop "
+ ;;
esac
install -m644 $srcdir/makepkg.conf $pkgdir/etc/
# set things correctly in the default conf file