ncurses rebuild

This commit is contained in:
Allan McRae 2008-08-17 03:02:26 +00:00
parent c41fec41e7
commit 9b8f3b945f

View File

@ -2,7 +2,7 @@
pkgname=grub pkgname=grub
pkgver=0.97 pkgver=0.97
pkgrel=12 pkgrel=13
pkgdesc="A GNU multiboot boot loader" pkgdesc="A GNU multiboot boot loader"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
license=('GPL') license=('GPL')
@ -62,9 +62,11 @@ build() {
patch -Np1 -i ../040_all_grub-0.96-nxstack.patch || return 1 patch -Np1 -i ../040_all_grub-0.96-nxstack.patch || return 1
# patch from frugalware to make it boot when more than 2GB ram installed # patch from frugalware to make it boot when more than 2GB ram installed
patch -Np1 -i ../05-grub-0.97-initrdaddr.diff || return 1 patch -Np1 -i ../05-grub-0.97-initrdaddr.diff || return 1
CFLAGS="-static" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin CFLAGS="-static" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \
--mandir=/usr/share/man --infodir=/usr/share/info
else else
CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin CFLAGS= ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \
--mandir=/usr/share/man --infodir=/usr/share/info
fi fi
fi fi
@ -73,6 +75,8 @@ build() {
install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst
install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
rm -f ${pkgdir}/usr/share/info/dir
if [ "$DESTARCH" = "x86_64" ]; then if [ "$DESTARCH" = "x86_64" ]; then
# fool makepkg into building a x86_64 package # fool makepkg into building a x86_64 package
export CARCH="x86_64" export CARCH="x86_64"