summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorwiz <wiz>2002-04-30 12:33:29 +0000
committerwiz <wiz>2002-04-30 12:33:29 +0000
commit48fa8ad8eb4fab4574470bc5fd7852aa27d5a957 (patch)
tree1367038a7b7b7c01372b824692b2ce919cfa911f /devel/binutils
parent71f6f952f369cd573c389299851bfb39ab821b07 (diff)
downloadpkgsrc-48fa8ad8eb4fab4574470bc5fd7852aa27d5a957.tar.gz
Initial import of a binutils-2.11.2 package, with patches
from the NetBSD base system included (until 2002-04-18).
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/DESCR3
-rw-r--r--devel/binutils/Makefile18
-rw-r--r--devel/binutils/PLIST59
-rw-r--r--devel/binutils/buildlink.mk69
-rw-r--r--devel/binutils/distinfo6
5 files changed, 155 insertions, 0 deletions
diff --git a/devel/binutils/DESCR b/devel/binutils/DESCR
new file mode 100644
index 00000000000..8f2ff4cd091
--- /dev/null
+++ b/devel/binutils/DESCR
@@ -0,0 +1,3 @@
+This package contains various GNU compilers, assemblers, linkers,
+debuggers, etc., plus their support routines, definitions, and
+documentation.
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
new file mode 100644
index 00000000000..1a31f62b796
--- /dev/null
+++ b/devel/binutils/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/30 12:33:29 wiz Exp $
+#
+
+DISTNAME= binutils-2.11.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
+
+PATCHFILES= binutils-NetBSD-diff-20020418.patch.bz2
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnu.org/directory/binutils.html
+COMMENT= GNU binary utilities
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/binutils/PLIST b/devel/binutils/PLIST
new file mode 100644
index 00000000000..809174cacb1
--- /dev/null
+++ b/devel/binutils/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/30 12:33:29 wiz Exp $
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin/ar
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin/as
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin/ld
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin/nm
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin/ranlib
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin/strip
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/${MACHINE_GNU_ARCH}nbsd.x
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/${MACHINE_GNU_ARCH}nbsd.xbn
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/${MACHINE_GNU_ARCH}nbsd.xn
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/${MACHINE_GNU_ARCH}nbsd.xr
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/${MACHINE_GNU_ARCH}nbsd.xu
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/elf_${MACHINE_GNU_ARCH}.x
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/elf_${MACHINE_GNU_ARCH}.xbn
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/elf_${MACHINE_GNU_ARCH}.xn
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/elf_${MACHINE_GNU_ARCH}.xr
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/elf_${MACHINE_GNU_ARCH}.xs
+${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts/elf_${MACHINE_GNU_ARCH}.xu
+bin/addr2line
+bin/ar
+bin/as
+bin/c++filt
+bin/gasp
+bin/gprof
+bin/ld
+bin/nm
+bin/objcopy
+bin/objdump
+bin/ranlib
+bin/readelf
+bin/size
+bin/strings
+bin/strip
+include/ansidecl.h
+include/bfd.h
+include/bfdlink.h
+lib/libbfd.a
+lib/libbfd.la
+lib/libiberty.a
+lib/libopcodes.a
+lib/libopcodes.la
+man/man1/addr2line.1
+man/man1/ar.1
+man/man1/as.1
+man/man1/c++filt.1
+man/man1/gprof.1
+man/man1/ld.1
+man/man1/nlmconv.1
+man/man1/nm.1
+man/man1/objcopy.1
+man/man1/objdump.1
+man/man1/ranlib.1
+man/man1/size.1
+man/man1/strings.1
+man/man1/strip.1
+@dirrm ${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib/ldscripts
+@dirrm ${MACHINE_ARCH}--${LOWER_OPSYS}elf/lib
+@dirrm ${MACHINE_ARCH}--${LOWER_OPSYS}elf/bin
+@dirrm ${MACHINE_ARCH}--${LOWER_OPSYS}elf
diff --git a/devel/binutils/buildlink.mk b/devel/binutils/buildlink.mk
new file mode 100644
index 00000000000..5a0dfa34873
--- /dev/null
+++ b/devel/binutils/buildlink.mk
@@ -0,0 +1,69 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/04/30 12:33:29 wiz Exp $
+#
+# This Makefile fragment is included by packages that use binutils.
+#
+# This file was created automatically using the createbuildlink script.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.binutils to the dependency pattern
+# for the version of binutils desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(BINUTILS_BUILDLINK_MK)
+BINUTILS_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+_NEED_BINUTILS= NO
+.if ${OPSYS} == "NetBSD"
+_INCOMPAT_BINUTILS= 0.* 1.[01234]* 1.5.* 1.5[A-X]
+.for PATTERN in ${_INCOMPAT_BINUTILS}
+.if ${OS_VERSION:M${PATTERN}} != ""
+_NEED_BINUTILS= YES
+.endif
+.endfor
+.else
+# XXX: logic for other operating systems needed here
+.endif
+
+BUILDLINK_DEPENDS.binutils?= binutils>=2.11.2
+DEPENDS+= ${BUILDLINK_DEPENDS.binutils}:../../devel/binutils
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.binutils=binutils
+BUILDLINK_PREFIX.binutils_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.binutils+= include/ansidecl.h
+BUILDLINK_FILES.binutils+= include/bfd.h
+BUILDLINK_FILES.binutils+= include/bfdlink.h
+BUILDLINK_FILES.binutils+= lib/libbfd.*
+BUILDLINK_FILES.binutils+= lib/libiberty.*
+BUILDLINK_FILES.binutils+= lib/libopcodes.*
+BUILDLINK_FILES.binutils+= bin/addr2line
+BUILDLINK_FILES.binutils+= bin/ar
+BUILDLINK_FILES.binutils+= bin/as
+BUILDLINK_FILES.binutils+= bin/c++filt
+BUILDLINK_FILES.binutils+= bin/gasp
+BUILDLINK_FILES.binutils+= bin/gprof
+BUILDLINK_FILES.binutils+= bin/ld
+BUILDLINK_FILES.binutils+= bin/nm
+BUILDLINK_FILES.binutils+= bin/objcopy
+BUILDLINK_FILES.binutils+= bin/objdump
+BUILDLINK_FILES.binutils+= bin/ranlib
+BUILDLINK_FILES.binutils+= bin/readelf
+BUILDLINK_FILES.binutils+= bin/size
+BUILDLINK_FILES.binutils+= bin/strings
+BUILDLINK_FILES.binutils+= bin/strip
+
+BUILDLINK_TARGETS.binutils= binutils-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.binutils}
+
+PATH:= ${BUILDLINK_DIR}/bin:${PATH}
+
+pre-configure: ${BUILDLINK_TARGETS}
+binutils-buildlink: _BUILDLINK_USE
+
+.endif # BINUTILS_BUILDLINK_MK
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo
new file mode 100644
index 00000000000..333d267e352
--- /dev/null
+++ b/devel/binutils/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/30 12:33:29 wiz Exp $
+
+SHA1 (binutils-2.11.2.tar.gz) = 4095688f3478e8d4693ad2b965008a49f033e08f
+Size (binutils-2.11.2.tar.gz) = 9934295 bytes
+SHA1 (binutils-NetBSD-diff-20020418.patch.bz2) = d3a2f7c22c0168821c2544a7485dc886bc3ad07c
+Size (binutils-NetBSD-diff-20020418.patch.bz2) = 121943 bytes