diff options
Diffstat (limited to 'base/binutils/Pkgfile')
-rwxr-xr-x | base/binutils/Pkgfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/base/binutils/Pkgfile b/base/binutils/Pkgfile index c59793978..ca19bdd33 100755 --- a/base/binutils/Pkgfile +++ b/base/binutils/Pkgfile @@ -6,7 +6,7 @@ name=binutils version=2.19.1 -release=1 +release=2 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build() { @@ -21,8 +21,11 @@ sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c mkdir ../binutils-build cd ../binutils-build ../$name-$version/configure --prefix=/usr \ +--mandir=/usr/share/man \ +--infodir=/usr/share/info \ --enable-shared - +sed -i -e "s:mandir \= \/usr\/share:mandir \= ${pkgdir}\/usr\/share:" Makefile +sed -i -e "s:infodir \= \/usr\/share:infodir \= ${pkgdir}\/usr\/share:" Makefile make tooldir=/usr make check make tooldir=/usr DESTDIR=$PKG install |