bonnie++: unmark nocross
This commit is contained in:
parent
27832d7f06
commit
d08d782008
2 changed files with 23 additions and 3 deletions
22
srcpkgs/bonnie++/patches/configure.patch
Normal file
22
srcpkgs/bonnie++/patches/configure.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
diff --git configure configure
|
||||||
|
index 4495abe..951dd7e 100755
|
||||||
|
--- configure
|
||||||
|
+++ configure
|
||||||
|
@@ -2664,7 +2664,7 @@ $as_echo "$ac_try_echo"; } >&5
|
||||||
|
else
|
||||||
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||||
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||||
|
-as_fn_error $? "cannot run C compiled programs.
|
||||||
|
+$as_echo "cannot run C compiled programs.
|
||||||
|
If you meant to cross compile, use \`--host'.
|
||||||
|
See \`config.log' for more details" "$LINENO" 5 ; }
|
||||||
|
fi
|
||||||
|
@@ -3953,7 +3953,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||||
|
conftest$ac_exeext conftest.$ac_ext
|
||||||
|
|
||||||
|
|
||||||
|
-if test "$cross_compiling" = yes; then :
|
||||||
|
+if test "$cross_compiling" = xxx; then :
|
||||||
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
||||||
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
||||||
|
as_fn_error $? "cannot run test program while cross compiling
|
|
@ -5,13 +5,11 @@ revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Hard Drive and Filesystem benchmark utility"
|
short_desc="Hard Drive and Filesystem benchmark utility"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-only"
|
||||||
homepage="http://www.coker.com.au/bonnie++/"
|
homepage="http://www.coker.com.au/bonnie++/"
|
||||||
distfiles="http://www.coker.com.au/bonnie++/bonnie++-${version}.tgz"
|
distfiles="http://www.coker.com.au/bonnie++/bonnie++-${version}.tgz"
|
||||||
checksum=e27b386ae0dc054fa7b530aab6bdead7aea6337a864d1f982bc9ebacb320746e
|
checksum=e27b386ae0dc054fa7b530aab6bdead7aea6337a864d1f982bc9ebacb320746e
|
||||||
|
|
||||||
nocross="configure: error: cannot run test program while cross compiling"
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i -e 's/sbin/bin/g' \
|
sed -i -e 's/sbin/bin/g' \
|
||||||
-e '/-o getc_putc_helper/s/CXX/LINK/' \
|
-e '/-o getc_putc_helper/s/CXX/LINK/' \
|
||||||
|
|
Loading…
Reference in a new issue