diff options
-rw-r--r-- | community/mg/PKGBUILD | 8 |
1 files 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/ |