summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-07-11 16:09:36 +0000
committeragc <agc>2002-07-11 16:09:36 +0000
commit7cf584b5492018d40bd4bca174beb115f3ad4cb9 (patch)
tree9b150569b0c6962697fa32d30a74b47161fab0f0
parent58714bb4ca6ba8756ffe555527141e15fbb8e952 (diff)
downloadpkgsrc-7cf584b5492018d40bd4bca174beb115f3ad4cb9.tar.gz
Patches for better support of Solaris, from Julien T. Letessier
-rw-r--r--devel/binutils/Makefile14
-rw-r--r--devel/binutils/PLIST.SunOS60
2 files changed, 70 insertions, 4 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 1a31f62b796..d455fcd7489 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/04/30 12:33:29 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/11 16:09:36 agc 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
@@ -15,4 +12,13 @@ COMMENT= GNU binary utilities
GNU_CONFIGURE= YES
USE_BUILDLINK_ONLY= YES
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+PATCHFILES= binutils-NetBSD-diff-20020418.patch.bz2
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+.elif ${OPSYS} == "SunOS"
+PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/binutils/PLIST.SunOS b/devel/binutils/PLIST.SunOS
new file mode 100644
index 00000000000..209e752b892
--- /dev/null
+++ b/devel/binutils/PLIST.SunOS
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST.SunOS,v 1.1 2002/07/11 16:09:36 agc Exp $
+${MACHINE_GNU_PLATFORM}/bin/ar
+${MACHINE_GNU_PLATFORM}/bin/as
+${MACHINE_GNU_PLATFORM}/bin/ld
+${MACHINE_GNU_PLATFORM}/bin/nm
+${MACHINE_GNU_PLATFORM}/bin/ranlib
+${MACHINE_GNU_PLATFORM}/bin/strip
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf32_${MACHINE_GNU_ARCH}.x
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf32_${MACHINE_GNU_ARCH}.xbn
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf32_${MACHINE_GNU_ARCH}.xn
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf32_${MACHINE_GNU_ARCH}.xr
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf32_${MACHINE_GNU_ARCH}.xs
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf32_${MACHINE_GNU_ARCH}.xu
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf64_${MACHINE_GNU_ARCH}.x
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf64_${MACHINE_GNU_ARCH}.xbn
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf64_${MACHINE_GNU_ARCH}.xn
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf64_${MACHINE_GNU_ARCH}.xr
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf64_${MACHINE_GNU_ARCH}.xs
+${MACHINE_GNU_PLATFORM}/lib/ldscripts/elf64_${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_GNU_PLATFORM}/lib/ldscripts
+@dirrm ${MACHINE_GNU_PLATFORM}/lib
+@dirrm ${MACHINE_GNU_PLATFORM}/bin
+@dirrm ${MACHINE_GNU_PLATFORM}