# Description: Controls the generation of executables and other compile-related tasks
# URL: http://www.gnu.org/software/make/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=make
-version=3.81
-release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+version=3.82
+release=2
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2
+ savannah-bugs.patch)
build() {
cd $name-$version
+ patch -p0 -i ../savannah-bugs.patch
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --disable-nls
+ --disable-nls \
+ --mandir=/usr/man
make
make DESTDIR=$PKG install
- rm -rf $PKG/usr/info
+ rm -rf $PKG/usr/share
}