diff options
author | itohy <itohy> | 1999-03-10 04:28:56 +0000 |
---|---|---|
committer | itohy <itohy> | 1999-03-10 04:28:56 +0000 |
commit | e026c73a0f4c0f52335d8469f16bfae7489a490d (patch) | |
tree | 65aaf242e2c1daec69a390c63e8194fcfeb202ff /pkgtools | |
parent | b07e1cc52f8762ca3ef72f98977d7858e4def948 (diff) | |
download | pkgsrc-e026c73a0f4c0f52335d8469f16bfae7489a490d.tar.gz |
Fix default NetBSD rule to use architecture name instead of machine name.
This fix make it compile on x68k, etc.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglibtool/patches/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgtools/pkglibtool/patches/patch-ac b/pkgtools/pkglibtool/patches/patch-ac new file mode 100644 index 00000000000..226b57e7512 --- /dev/null +++ b/pkgtools/pkglibtool/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 1999/03/10 04:28:56 itohy Exp $ + +--- config.guess.orig Mon Sep 22 04:30:36 1997 ++++ config.guess Wed Mar 10 13:05:49 1999 +@@ -472,7 +472,8 @@ + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + *:NetBSD:*:*) +- echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ++ arch=${MACHINE_ARCH:-`printf 'xxx:\n\techo ${MACHINE_ARCH}' | ${MAKE-make} -s -f-`} ++ echo $arch-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |