wok diff mingw32-gcc/receipt @ rev 4015
mingw32*: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 03 21:46:00 2009 +0200 (2009-09-03) |
parents | c7273ab63c41 |
children | d437e141264c |
line diff
1.1 --- a/mingw32-gcc/receipt Wed Jun 24 16:14:49 2009 +0000 1.2 +++ b/mingw32-gcc/receipt Thu Sep 03 21:46:00 2009 +0200 1.3 @@ -48,9 +48,10 @@ 1.4 cd $SOURCE-$VERSION-build 1.5 $src/configure \ 1.6 --prefix=/usr \ 1.7 + --libexecdir=/usr/lib \ 1.8 --infodir=/usr/share/info \ 1.9 --mandir=/usr/share/man \ 1.10 - --with-sysroot=/usr/$MINGW32_TARGET \ 1.11 + --with-sysroot=/usr/lib/$MINGW32_TARGET \ 1.12 --disable-shared \ 1.13 --disable-debug \ 1.14 --target=$MINGW32_TARGET \ 1.15 @@ -66,14 +67,13 @@ 1.16 # Rules to gen a SliTaz package suitable for Tazpkg. 1.17 genpkg_rules() 1.18 { 1.19 - mkdir -p $fs/usr 1.20 + mkdir -p $fs/usr/lib 1.21 cp -a $_pkg/usr/bin $fs/usr 1.22 - cp -a $_pkg/usr/$MINGW32_TARGET $fs/usr 1.23 + cp -a $_pkg/usr/lib/$MINGW32_TARGET $fs/usr/lib 1.24 cp -a $_pkg/usr/include $fs/usr 1.25 # do not need to copy lib/libiberty.a 1.26 mkdir -p $fs/usr/lib 1.27 cp -a $_pkg/usr/lib/gcc $fs/usr/lib 1.28 - cp -a $_pkg/usr/libexec $fs/usr 1.29 } 1.30 1.31 # Rules to setup after installation 1.32 @@ -83,7 +83,7 @@ 1.33 local root 1.34 root=$1 1.35 find $root/usr/lib/gcc/$MINGW32_TARGET/ -name *.a -exec $MINGW32_TARGET-ranlib {} \; 1.36 - find $root/usr/$MINGW32_TARGET/lib/ -name *.a -exec $MINGW32_TARGET-ranlib {} \; 1.37 + find $root/usr/lib/$MINGW32_TARGET/lib/ -name *.a -exec $MINGW32_TARGET-ranlib {} \; 1.38 } 1.39 1.40 # Rules to clean the package