summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-26 23:59:41 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-26 23:59:41 +0000
commit6102fc8e424d010d7109641b55981a0020538b3c (patch)
tree904c124e191d7261f9d4a165e97bef66536ea183 /devel
parent5265c512b63e5703cbfc188fe9db188e8fe3c3b1 (diff)
downloadpkgsrc-6102fc8e424d010d7109641b55981a0020538b3c.tar.gz
Use the same configuration for DragonFly as FreeBSD is using.
Diffstat (limited to 'devel')
-rw-r--r--devel/binutils/distinfo6
-rw-r--r--devel/binutils/patches/patch-ab29
-rw-r--r--devel/binutils/patches/patch-ac13
-rw-r--r--devel/binutils/patches/patch-ad21
-rw-r--r--devel/binutils/patches/patch-ae24
5 files changed, 92 insertions, 1 deletions
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
index 38843fa7d74..7e57ca756aa 100644
--- a/devel/binutils/distinfo
+++ b/devel/binutils/distinfo
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.6 2006/01/07 23:59:46 wiz Exp $
+$NetBSD: distinfo,v 1.7 2006/02/26 23:59:41 joerg Exp $
SHA1 (binutils-2.16.1.tar.gz) = df79ed47b4388a205adf3089d4e36ce47724c940
RMD160 (binutils-2.16.1.tar.gz) = 304b2b53f9aa15794962af842f4f93b71308c495
Size (binutils-2.16.1.tar.gz) = 16378360 bytes
SHA1 (patch-aa) = 3f0b6cc9c0aff0dd2e400334f08da4a22cfc443e
+SHA1 (patch-ab) = a96b886f9ff5360f1883b3f8ad05b7211b897a91
+SHA1 (patch-ac) = d57f7d81d34dff39efcf17d5c22fe36343eea073
+SHA1 (patch-ad) = d27f82f27865bce2c0150d10f44a0b8a09f0ec83
+SHA1 (patch-ae) = a48a0769445b3dd3cbc4f86cb968d934621328a9
diff --git a/devel/binutils/patches/patch-ab b/devel/binutils/patches/patch-ab
new file mode 100644
index 00000000000..4e6add41014
--- /dev/null
+++ b/devel/binutils/patches/patch-ab
@@ -0,0 +1,29 @@
+$NetBSD: patch-ab,v 1.1 2006/02/26 23:59:41 joerg Exp $
+
+--- bfd/configure.orig 2006-02-26 23:20:22.000000000 +0000
++++ bfd/configure
+@@ -9960,7 +9960,7 @@ if test "${target}" = "${host}"; then
+ COREFILE=trad-core.lo
+ TRAD_HEADER='"hosts/i386bsd.h"'
+ ;;
+- i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
++ i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-freebsd*)
+ COREFILE=''
+ TRAD_HEADER='"hosts/i386bsd.h"'
+ ;;
+@@ -11555,6 +11555,7 @@ do
+ bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+ bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
+ bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;;
++ bfd_elf32_i386_dragonfly_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;;
+ bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;;
+ bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
+ bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
+@@ -11668,6 +11669,7 @@ do
+ i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;;
+ i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;;
+ i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;;
++ i386dragonfly_vec) tb="$tb i386freebsd.lo aout32.lo" ;;
+ i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;;
+ i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
+ i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
diff --git a/devel/binutils/patches/patch-ac b/devel/binutils/patches/patch-ac
new file mode 100644
index 00000000000..5ba2b0a2a1b
--- /dev/null
+++ b/devel/binutils/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/02/26 23:59:41 joerg Exp $
+
+--- bfd/config.bfd.orig 2006-02-26 23:39:27.000000000 +0000
++++ bfd/config.bfd
+@@ -492,7 +492,7 @@ case "${targ}" in
+ targ_selvecs=i386bsd_vec
+ targ_underscore=yes
+ ;;
+- i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
++ i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
+ targ_defvec=bfd_elf32_i386_freebsd_vec
+ targ_selvecs=i386coff_vec
+ # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling.
diff --git a/devel/binutils/patches/patch-ad b/devel/binutils/patches/patch-ad
new file mode 100644
index 00000000000..f2e21495e5e
--- /dev/null
+++ b/devel/binutils/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1 2006/02/26 23:59:41 joerg Exp $
+
+--- gas/configure.tgt.orig 2006-02-26 23:44:39.000000000 +0000
++++ gas/configure.tgt
+@@ -199,7 +199,7 @@ case ${generic_target} in
+ i386-*-freebsdaout*) fmt=aout em=386bsd ;;
+ i386-*-freebsd[12].*) fmt=aout em=386bsd ;;
+ i386-*-freebsd[12]) fmt=aout em=386bsd ;;
+- i386-*-freebsd* | i386-*-kfreebsd*-gnu)
++ i386-*-freebsd* | i386-*-kfreebsd*-gnu | i386-*-dragonfly*)
+ fmt=elf em=freebsd ;;
+ i386-*-sysv*) fmt=coff ;;
+ i386-*-sco3.2v5*coff) fmt=coff ;;
+@@ -413,6 +413,7 @@ case ${generic_target} in
+
+ *-*-aout | *-*-scout) fmt=aout ;;
+ *-*-freebsd* | *-*-kfreebsd*-gnu) fmt=elf em=freebsd ;;
++ *-*-dragonfly*) fmt=elf em=freebsd ;;
+ *-*-nindy*) fmt=bout ;;
+ *-*-bsd*) fmt=aout em=sun3 ;;
+ *-*-generic) fmt=generic ;;
diff --git a/devel/binutils/patches/patch-ae b/devel/binutils/patches/patch-ae
new file mode 100644
index 00000000000..7d4b4059d08
--- /dev/null
+++ b/devel/binutils/patches/patch-ae
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.1 2006/02/26 23:59:41 joerg Exp $
+
+--- ld/configure.tgt.orig 2006-02-26 23:48:51.000000000 +0000
++++ ld/configure.tgt
+@@ -205,7 +205,7 @@ i[3-7]86-*-elf*) targ_emul=elf_i386 ;;
+ i[3-7]86-*-kaos*) targ_emul=elf_i386 ;;
+ i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12])
+ targ_emul=i386bsd ;;
+-i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
++i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
+ targ_emul=elf_i386_fbsd
+ targ_extra_emuls="elf_i386 i386bsd" ;;
+ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
+@@ -592,6 +592,10 @@ case "${target}" in
+ NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib'
+ ;;
+
++*-*-dragonfly*)
++ NATIVE_LIB_DIRS='/lib /usr/lib'
++ ;;
++
+ hppa*64*-*-hpux11*)
+ NATIVE_LIB_DIRS=/usr/lib/pa20_64
+ ;;