From ab0fe84ab4b2185c5086a971ea75a0b01ff08e87 Mon Sep 17 00:00:00 2001 From: sheeple Date: Tue, 16 Sep 2008 15:56:17 -0500 Subject: [PATCH 1/2] default to unknown target --- build-support/factor.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-support/factor.sh b/build-support/factor.sh index 16ab260df5..8988c33b57 100755 --- a/build-support/factor.sh +++ b/build-support/factor.sh @@ -261,6 +261,7 @@ check_os_arch_word() { $ECHO "ARCH: $ARCH" $ECHO "WORD: $WORD" $ECHO "OS, ARCH, or WORD is empty. Please report this." + echo $MAKE_TARGET exit 5 fi } @@ -486,6 +487,8 @@ usage() { echo " $0 update macosx-x86-32" } +MAKE_TARGET=unknown + # -n is nonzero length, -z is zero length if [[ -n "$2" ]] ; then parse_build_info $2 From ae8af068dbb822f998121bd01a7e53477bb317c5 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 16 Sep 2008 15:59:07 -0500 Subject: [PATCH 2/2] id solaris for factor.sh --- build-support/factor.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-support/factor.sh b/build-support/factor.sh index 8988c33b57..cdb2a87bba 100755 --- a/build-support/factor.sh +++ b/build-support/factor.sh @@ -175,6 +175,7 @@ find_os() { *FreeBSD*) OS=freebsd;; *OpenBSD*) OS=openbsd;; *DragonFly*) OS=dragonflybsd;; + SunOS) OS=solaris;; esac } @@ -186,6 +187,7 @@ find_architecture() { case $uname_m in i386) ARCH=x86;; i686) ARCH=x86;; + i86pc) ARCH=x86;; amd64) ARCH=x86;; ppc64) ARCH=ppc;; *86) ARCH=x86;;