summaryrefslogtreecommitdiff
path: root/community/gnustep-make/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnustep-make/PKGBUILD')
-rw-r--r--community/gnustep-make/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/community/gnustep-make/PKGBUILD b/community/gnustep-make/PKGBUILD
index 75241dab0..c33c4a79f 100644
--- a/community/gnustep-make/PKGBUILD
+++ b/community/gnustep-make/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnustep-make
pkgver=2.6.5
pkgrel=2
pkgdesc="The GNUstep make package"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnustep.org/"
license=('GPL')
depends=()
@@ -24,6 +24,12 @@ build() {
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
+
+ if [ "$CARCH" = "mips64el" ]; then
+ sed -i 's|GNUSTEP_HOST_CPU=.*|GNUSTEP_HOST_CPU=mips64el|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
+ sed -i 's|GNUSTEP_HOST=.*|GNUSTEP_HOST=mips64el-unknown-linux-gnu|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
+ fi
+
install -D -m755 \
$pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh \
$pkgdir/etc/profile.d/GNUstep.sh