diff options
Diffstat (limited to 'community/mg')
-rw-r--r-- | community/mg/PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD index be271595b..7254bc6eb 100644 --- a/community/mg/PKGBUILD +++ b/community/mg/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mg pkgver=20110905 pkgrel=1 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') license=('custom') @@ -20,13 +20,17 @@ md5sums=('2de35316fa8ebafe6003efaae70b723e' build() { cd $srcdir/$pkgname-$pkgver - unset CFLAGS 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.in + ./configure make prefix=/usr mkdir -p $pkgdir/usr/bin - make install INSTALL=/bin/install prefix=$pkgdir/usr + make install prefix=$pkgdir/usr mkdir -p $pkgdir/usr/share/ mv $pkgdir/usr/man $pkgdir/usr/share/ |