summaryrefslogtreecommitdiff
path: root/community/mg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mg/PKGBUILD')
-rw-r--r--community/mg/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD
index 176278440..89f11c138 100644
--- a/community/mg/PKGBUILD
+++ b/community/mg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mg
pkgver=20130922
pkgrel=2
pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://homepage.boetes.org/software/mg/"
depends=('ncurses' 'libbsd')
makedepends=('bmake' 'libclens')
@@ -19,6 +19,10 @@ md5sums=('35bd196ab32bae3531d6bc48be8779d0'
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -p1 <$srcdir/cleanup.patch
+
+ # The scripts building this package won't see and fix the warnings,
+ # even if they make the build fail.
+ sed -ri '/^CFLAGS\+=/d' Makefile*
}
build() {