current config.guess reports

# ./config.guess
OpenBSD.amd64-unknown-libertybsd5.8
# uname -r -s -m
LibertyBSD 5.8 amd64

the attached patch fixes the issue, you might want to be less generic
and use
sed 's/^OpenBSD\.//'
or
sed -e 's/^LibertyBSD\.//' -e 's/^OpenBSD\.//'

HTH,
urs
--- config.guess	2016-02-03 14:05:55.779208094 +0100
+++ /tmp/urs/config.guess	2016-02-10 12:01:13.631895887 +0100
@@ -237,7 +237,7 @@
 	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
 	exit ;;
     *:LibertyBSD:*:*)
-	UNAME_MACHINE_ARCH=`arch | sed 's/LibertyBSD.//'`
+	UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
 	echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
 	exit ;;
     *:ekkoBSD:*:*)
_______________________________________________
config-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to