Page MenuHomeFreeBSD

D30127.diff
No OneTemporary

D30127.diff

diff --git a/sysutils/debootstrap/Makefile b/sysutils/debootstrap/Makefile
--- a/sysutils/debootstrap/Makefile
+++ b/sysutils/debootstrap/Makefile
@@ -2,7 +2,7 @@
PORTNAME= debootstrap
PORTVERSION= 1.0.123
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/sysutils/debootstrap/files/patch-debootstrap b/sysutils/debootstrap/files/patch-debootstrap
--- a/sysutils/debootstrap/files/patch-debootstrap
+++ b/sysutils/debootstrap/files/patch-debootstrap
@@ -30,7 +30,7 @@
HOST_ARCH=$(cat "$DEBOOTSTRAP_DIR/arch")
fi
HOST_OS="$HOST_ARCH"
-@@ -542,6 +536,11 @@ if [ -z "$HOST_OS" ]; then
+@@ -542,6 +536,14 @@ if [ -z "$HOST_OS" ]; then
HOST_OS=freebsd
;;
esac
@@ -38,6 +38,9 @@
+
+if [ "$HOST_OS" = "freebsd" -a -z "$HOST_ARCH" ]; then
+ HOST_ARCH=`/sbin/sysctl -n hw.machine_arch`
++ if [ "$HOST_ARCH" = "aarch64" ]; then
++ HOST_ARCH=arm64
++ fi
+ EXTRACTOR_OVERRIDE=ar
fi

File Metadata

Mime Type
text/plain
Expires
Sun, May 17, 6:46 PM (1 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33203102
Default Alt Text
D30127.diff (983 B)

Event Timeline