summaryrefslogtreecommitdiffstats
path: root/base/binutils/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-24 19:38:42 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-24 19:38:42 +0100
commit63d04846ca35825b3aa71fab5dc5ccd6ae1d0e7a (patch)
treeb54119f0eca40ff5cb353f6b4ffabf8d57cee742 /base/binutils/Pkgfile
parent48e626ccbaa1cda4889519076b9eb6312c16fc34 (diff)
downloadnutyx-extra-63d04846ca35825b3aa71fab5dc5ccd6ae1d0e7a.tar.gz
nutyx-extra-63d04846ca35825b3aa71fab5dc5ccd6ae1d0e7a.tar.bz2
nutyx-extra-63d04846ca35825b3aa71fab5dc5ccd6ae1d0e7a.tar.xz
nutyx-extra-63d04846ca35825b3aa71fab5dc5ccd6ae1d0e7a.zip
Maj binutils#2.19.1-2
Diffstat (limited to 'base/binutils/Pkgfile')
-rwxr-xr-xbase/binutils/Pkgfile7
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