pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54686: cwrappers fails to configure on NetBSD 9.0 BETA / evbarm
The following reply was made to PR pkg/54686; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/54686: cwrappers fails to configure on NetBSD 9.0 BETA /
evbarm
Date: Tue, 12 Nov 2019 11:51:40 +0100
This patch seems to fix the issue for me.
Martin
Index: config.guess
===================================================================
RCS file: /cvsroot/pkgsrc/mk/gnu-config/config.guess,v
retrieving revision 1.21
diff -c -u -r1.21 config.guess
--- config.guess 4 Jan 2019 07:35:25 -0000 1.21
+++ config.guess 12 Nov 2019 10:31:59 -0000
@@ -187,8 +187,10 @@
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
sh5el) machine=sh5le-unknown ;;
- earmv*)
- arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
+ earm*)
+ arch="${UNAME_MACHINE_ARCH#e}"
+ arch="${arch%eb}"
+ arch="${arch%hf}"
endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
machine="${arch}${endian}"-unknown
;;
@@ -219,7 +221,7 @@
# Determine ABI tags.
case "$UNAME_MACHINE_ARCH" in
earm*)
- expr='s/^earmv[0-9]/-eabi/;s/eb$//'
+ expr='s/v[0-9]//;s/earm/-eabi/;s/eb$//'
abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
;;
esac
Home |
Main Index |
Thread Index |
Old Index