blob: 49aa1510b1dbdaa7b539bd78530aea82d9722858 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
$NetBSD: patch-ac,v 1.1.1.1 2005/12/31 22:42:31 markd Exp $
--- configure.orig 2005-12-31 09:43:48.000000000 +1300
+++ configure
@@ -1783,6 +1783,8 @@ case $build in
powerpc-apple-darwin*) d2c_build=ppc-darwin-gcc ;;
mips-sgi-irix*) d2c_build=mips-irix-gcc ;;
i*86-*-netbsd*) d2c_build=x86-netbsd-gcc ;;
+ powerpc-*-netbsd*) d2c_build=ppc-netbsd-gcc ;;
+ sparc-*-netbsd*) d2c_build=sparc-netbsd-gcc ;;
*) d2c_build=unknown-unix ;;
esac
echo "$as_me:$LINENO: result: $d2c_build" >&5
@@ -1830,6 +1832,8 @@ case $host in
powerpc-apple-darwin*) d2c_host=ppc-darwin-gcc ;;
mips-sgi-irix*) d2c_host=mips-irix-gcc ;;
i*86-*-netbsd*) d2c_host=x86-netbsd-gcc ;;
+ powerpc-*-netbsd*) d2c_host=ppc-netbsd-gcc ;;
+ sparc-*-netbsd*) d2c_host=sparc-netbsd-gcc ;;
*) d2c_host=unknown-unix ;;
esac
echo "$as_me:$LINENO: result: $d2c_host" >&5
@@ -1897,6 +1901,8 @@ case $target in
powerpc-apple-darwin*) d2c_target=ppc-darwin-gcc ;;
mips-sgi-irix*) d2c_target=mips-irix-gcc ;;
i*86-*-netbsd*) d2c_target=x86-netbsd-gcc ;;
+ powerpc-*-netbsd*) d2c_target=ppc-netbsd-gcc ;;
+ sparc-*-netbsd*) d2c_target=sparc-netbsd-gcc ;;
*) d2c_target=unknown-unix ;;
esac
echo "$as_me:$LINENO: result: $d2c_target" >&5
@@ -28800,8 +28806,10 @@ esac
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
case $ac_dest in
- default ) ${INSTALL} -m uog+rx $buildroot/tools/shared-misc/mk-build-tree ./
- ${INSTALL} -m uog+rx $buildroot/tools/shared-misc/gen-makefile ./
+ default ) cp $buildroot/tools/shared-misc/mk-build-tree ./
+ cp $buildroot/tools/shared-misc/gen-makefile ./
+ chmod uog+rx ./mk-build-tree
+ chmod uog+rx ./gen-makefile
(PATH=$buildroot:$PATH; export PATH; perl mk-build-tree -p$srcdir/d2c/compiler/platforms.descr)
touch $buildroot/force.timestamp
;;
|