diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-30 17:37:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-30 17:37:03 +0000 |
commit | 397b90395718c9bd3d9a3ccd265a9c94b36f0432 (patch) | |
tree | 486834a858aecee61e9cb498685b2a04bafcd345 | |
parent | 9620b76fd21c1002a76f62a29f614ff5579a65de (diff) | |
download | pkgsrc-397b90395718c9bd3d9a3ccd265a9c94b36f0432.tar.gz |
Recognize DragonFly.
-rw-r--r-- | cross/avr-gcc/distinfo | 3 | ||||
-rw-r--r-- | cross/avr-gcc/patches/patch-ac | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/cross/avr-gcc/distinfo b/cross/avr-gcc/distinfo index 47391bef668..6ad16a30663 100644 --- a/cross/avr-gcc/distinfo +++ b/cross/avr-gcc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 10:16:52 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/03/30 17:37:03 joerg Exp $ SHA1 (gcc-core+g++-3.3.2003.05.11.tar.bz2) = d9224f5b5a76317563fa7d02c31c2ba9cdfae029 RMD160 (gcc-core+g++-3.3.2003.05.11.tar.bz2) = f6c3a7ef96ec5488a492406bb2d76e251acd9ba1 @@ -9,3 +9,4 @@ Size (gcc-man.2003.05.11.gz) = 153595 bytes SHA1 (patch-16bitassign) = 9b076aeb426cc932fd2cb9acb9c14f82996a7ae7 SHA1 (patch-aa) = 3f8641a42a31a7f5d6839e95fc6bfbce5218f9f3 SHA1 (patch-ab) = 8938a1987422f7d99bc51ebf906a46b66c0debac +SHA1 (patch-ac) = 32e5c83620e7777f26b5752d7e3b8a899cf3fe2a diff --git a/cross/avr-gcc/patches/patch-ac b/cross/avr-gcc/patches/patch-ac new file mode 100644 index 00000000000..541713034ce --- /dev/null +++ b/cross/avr-gcc/patches/patch-ac @@ -0,0 +1,30 @@ +$NetBSD: patch-ac,v 1.1 2006/03/30 17:37:03 joerg Exp $ + +--- gcc/config.gcc.orig 2006-03-30 17:18:37.000000000 +0000 ++++ gcc/config.gcc +@@ -451,7 +451,7 @@ case $machine in + # the generic ELF configuration of FreeBSD (i.e. it must be + # ordered before that section). + ;; +-*-*-freebsd*) ++*-*-freebsd* | *-*-dragonfly*) + # This is the generic ELF configuration of FreeBSD. Later + # machine-specific sections may refine and add to this + # configuration. +@@ -473,6 +473,7 @@ case $machine in + case $machine in + *-*-freebsd3 | *-*-freebsd[3].*) fbsd_tm_file="freebsd3.h";; + *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";; ++ *-*-dragonfly*) fbsd_tm_file="freebsd4.h";; + *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";; + *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";; + *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;; +@@ -1130,7 +1131,7 @@ i[34567]86-*-freebsd2 | i[34567]86-*-fre + tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/freebsd-aout.h" + tmake_file=t-freebsd + ;; +-i[34567]86-*-freebsd*) ++i[34567]86-*-freebsd* | i[34567]86-*-dragonfly*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" + ;; + x86_64-*-freebsd*) |