freebsd-ports/sysutils/debootstrap/files/patch-debootstrap
2011-08-26 07:55:06 +00:00

13 lines
307 B
Text

--- debootstrap.orig 2011-08-25 20:19:23.294346076 +0200
+++ debootstrap 2011-08-25 20:22:42.850735086 +0200
@@ -419,6 +419,10 @@
esac
fi
+if [ "$HOST_OS" = "freebsd" -a -z "$HOST_ARCH" ]; then
+ HOST_ARCH=kfreebsd-`/sbin/sysctl -n hw.machine_arch`
+fi
+
if [ -z "$ARCH" ]; then
ARCH=$HOST_ARCH
fi