From d0c301a4a8fb607a6847fdcb6e39e6f2bfcce059 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Thu, 28 Jun 2012 21:33:42 +0200 Subject: Fix mg build. --- community/mg/PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD index 601e1af1b..7254bc6eb 100644 --- a/community/mg/PKGBUILD +++ b/community/mg/PKGBUILD @@ -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/ -- cgit v1.2.3-54-g00ecf