summaryrefslogtreecommitdiff
path: root/devel/prc-tools
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2002-10-15 23:07:16 +0000
committerdillo <dillo@pkgsrc.org>2002-10-15 23:07:16 +0000
commit9b049008ead558028cbad4e4917b4af7190b0250 (patch)
treec7132af826da8901ee175ca07ffb4dfd18afac90 /devel/prc-tools
parent03d590c99398e56b651cc48bee520ab5c9ef52e9 (diff)
downloadpkgsrc-9b049008ead558028cbad4e4917b4af7190b0250.tar.gz
upgrade prc-tools to 2.2
changes: support for newer versions of palmos (>3.5) support for arm newer versions of toolchain
Diffstat (limited to 'devel/prc-tools')
-rw-r--r--devel/prc-tools/Makefile64
-rw-r--r--devel/prc-tools/Makefile.common29
-rw-r--r--devel/prc-tools/PLIST265
-rw-r--r--devel/prc-tools/distinfo29
-rw-r--r--devel/prc-tools/patches/patch-aa14
-rw-r--r--devel/prc-tools/patches/patch-ab14
-rw-r--r--devel/prc-tools/patches/patch-ac14
-rw-r--r--devel/prc-tools/patches/patch-ad16
-rw-r--r--devel/prc-tools/patches/patch-ae30
-rw-r--r--devel/prc-tools/patches/patch-af29
-rw-r--r--devel/prc-tools/patches/patch-ag33
-rw-r--r--devel/prc-tools/patches/patch-ah33
-rw-r--r--devel/prc-tools/patches/patch-ai33
-rw-r--r--devel/prc-tools/patches/patch-aj33
-rw-r--r--devel/prc-tools/patches/patch-ak13
-rw-r--r--devel/prc-tools/patches/patch-al32
-rw-r--r--devel/prc-tools/patches/patch-am13
-rw-r--r--devel/prc-tools/patches/patch-an13
-rw-r--r--devel/prc-tools/patches/patch-ao13
-rw-r--r--devel/prc-tools/patches/patch-ap13
-rw-r--r--devel/prc-tools/patches/patch-aq14
-rw-r--r--devel/prc-tools/patches/patch-ar21
-rw-r--r--devel/prc-tools/patches/patch-as13
23 files changed, 735 insertions, 46 deletions
diff --git a/devel/prc-tools/Makefile b/devel/prc-tools/Makefile
index fa314a3724c..03a2bd356c7 100644
--- a/devel/prc-tools/Makefile
+++ b/devel/prc-tools/Makefile
@@ -1,25 +1,59 @@
-# $NetBSD: Makefile,v 1.4 2001/07/05 11:08:49 dillo Exp $
+# $NetBSD: Makefile,v 1.5 2002/10/15 23:07:16 dillo Exp $
#
-.include "Makefile.common"
+DISTNAME= prc-tools-2.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prc-tools/}
+DISTFILES= ${DISTNAME}.tar.gz ${DIST_BINUTILS}.tar.bz2
+DISTFILES+= ${DIST_GCC}.tar.gz ${DIST_GDB}.tar.bz2
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://prc-tools.sourceforge.net/
COMMENT= GNU tool chain for Palm cross development
-MASTER_SITES= # empty
-DISTFILES= # empty
+DIST_BINUTILS= binutils-2.12.1
+DIST_GCC= gcc-2.95.3
+DIST_GDB= gdb-5.0
-DEPENDS+= prc-tools-base>=2.0:../../devel/prc-tools-base
-.if (${MACHINE_ARCH} != "alpha")
-DEPENDS+= prc-tools-gdb>=2.0:../../devel/prc-tools-gdb
-.endif
-DEPENDS+= pilrc>=2.7:../../devel/pilrc
+SITES_${DIST_BINUTILS}.tar.bz2=${MASTER_SITE_GNU:=binutils/}
+SITES_${DIST_BINUTILS}.tar.bz2+=http://prc-tools.sourceforge.net/misc/
+SITES_${DIST_GCC}.tar.gz=${MASTER_SITE_GNU:=gcc/}
+SITES_${DIST_GCC}.tar.gz+=http://prc-tools.sourceforge.net/misc/
+# gdb-5.0 is no longer on gnu sites
+#SITES_${DIST_GDB}.tar.bz2=${MASTER_SITE_GNU:=gdb/}
+SITES_${DIST_GDB}.tar.bz2=http://prc-tools.sourceforge.net/misc/
-EXTRACT_ONLY= # empty
-NO_CHECKSUM= yes
-NO_PATCH= yes
-NO_CONFIGURE= yes
-NO_BUILD= yes
+# prc-tools-2.0 was split into multiple packages
+CONFLICTS+= prc-tools-base-[0-9]*
+CONFLICTS+= prc-tools-binutils-[0-9]*
+CONFLICTS+= prc-tools-gcc-[0-9]*
+CONFLICTS+= prc-tools-gdb-[0-9]*
-do-install: # empty
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+#CONFIGURE_ARGS+=--target=m68k-palmos
+CONFIGURE_ARGS+=--enable-targets=m68k-palmos,arm-palmos
+CONFIGURE_ARGS+=--enable-languages=c,c++
+CONFIGURE_ARGS+=--with-headers=${WRKSRC}/empty
+CONFIGURE_ARGS+=--with-palmdev-prefix=${LOCALBASE}/share/palmdev
+CONFIGURE_ARGS+=--disable-nls
+#CONFIGURE_ARGS+=--enable-html-docs=${LOCALBASE}/share/doc/html/prc-tools
+post-extract:
+ ${LN} -s ../${DIST_BINUTILS} ${WRKSRC}/binutils
+ ${LN} -s ../${DIST_GCC} ${WRKSRC}/gcc
+ ${LN} -s ../${DIST_GDB} ${WRKSRC}/gdb
+ ${MKDIR} ${WRKSRC}/empty
+
+pre-patch:
+ cd ${WRKDIR} \
+ && ${PATCH} --quiet -p0 < ${WRKSRC}/${DIST_BINUTILS}.palmos.diff
+ cd ${WRKDIR} \
+ && ${PATCH} --quiet -p0 < ${WRKSRC}/${DIST_GCC}.palmos.diff
+ cd ${WRKDIR} \
+ && ${PATCH} --quiet -p0 < ${WRKSRC}/${DIST_GDB}.palmos.diff
+
+.include "../../lang/gcc/buildlink2.mk"
+.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/prc-tools/Makefile.common b/devel/prc-tools/Makefile.common
deleted file mode 100644
index 73e5d9d8919..00000000000
--- a/devel/prc-tools/Makefile.common
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile.common,v 1.2 2001/06/27 05:07:34 jlam Exp $
-#
-
-DISTNAME= prc-tools-${PRC_TOOLS_VERS}
-PRC_TOOLS_VERS= 2.0
-CATEGORIES= devel
-MASTER_SITES= http://www.palmos.com/dev/tech/tools/gcc/dist/
-
-MAINTAINER= dillo@giga.or.at
-HOMEPAGE= http://www.palmos.com/dev/tech/tools/gcc/
-
-#DIST_SUBDIR= prc-tools
-
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS+=--target=m68k-palmos --enable-languages=c,c++ \
- --sharedstatedir=${PREFIX}/share/palmdev
-#--with-headers=${WRKSRC}/empty \
-
-USE_GMAKE= YES
-
-.if defined(BASE_DIST)
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- ${BASE_DIST}-${BASE_VERS}${EXTRACT_SUFX}
-DIFF_FILE= ${BASE_DIST}-${BASE_VERS}.palmos.diff
-
-post-extract:
- cd ${WRKDIR} && ${PATCH} --quiet -p0 < ${WRKSRC}/${DIFF_FILE}
- ${LN} -s ../${BASE_DIST}-${BASE_VERS} ${WRKSRC}/${BASE_DIST}
-.endif
diff --git a/devel/prc-tools/PLIST b/devel/prc-tools/PLIST
index 9343e04a87b..bf05f5bfb65 100644
--- a/devel/prc-tools/PLIST
+++ b/devel/prc-tools/PLIST
@@ -1,2 +1,263 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:25:57 zuntum Exp $
-@comment this plist intentionally left empty
+@comment $NetBSD: PLIST,v 1.2 2002/10/15 23:07:16 dillo Exp $
+arm-palmos/bin/ar
+arm-palmos/bin/as
+arm-palmos/bin/gcc
+arm-palmos/bin/ld
+arm-palmos/bin/nm
+arm-palmos/bin/ranlib
+arm-palmos/bin/strip
+arm-palmos/include/ctype.h
+arm-palmos/include/errno.h
+arm-palmos/include/malloc.h
+arm-palmos/include/setjmp.h
+arm-palmos/include/stdio.h
+arm-palmos/include/stdlib.h
+arm-palmos/include/string.h
+arm-palmos/include/sys/types.h
+arm-palmos/lib/ldscripts/armelf.x
+arm-palmos/lib/ldscripts/armelf.xbn
+arm-palmos/lib/ldscripts/armelf.xc
+arm-palmos/lib/ldscripts/armelf.xn
+arm-palmos/lib/ldscripts/armelf.xr
+arm-palmos/lib/ldscripts/armelf.xs
+arm-palmos/lib/ldscripts/armelf.xsc
+arm-palmos/lib/ldscripts/armelf.xu
+arm-palmos/lib/ldscripts/armpalmos.x
+arm-palmos/lib/ldscripts/armpalmos.xbn
+arm-palmos/lib/ldscripts/armpalmos.xn
+arm-palmos/lib/ldscripts/armpalmos.xr
+arm-palmos/lib/ldscripts/armpalmos.xu
+arm-palmos/lib/libc.a
+arm-palmos/lib/libstdc++.a
+bin/arm-palmos-addr2line
+bin/arm-palmos-ar
+bin/arm-palmos-as
+bin/arm-palmos-c++
+bin/arm-palmos-c++filt
+bin/arm-palmos-cpp
+bin/arm-palmos-g++
+bin/arm-palmos-gasp
+bin/arm-palmos-gcc
+bin/arm-palmos-ld
+bin/arm-palmos-nm
+bin/arm-palmos-objcopy
+bin/arm-palmos-objdump
+bin/arm-palmos-ranlib
+bin/arm-palmos-readelf
+bin/arm-palmos-size
+bin/arm-palmos-strings
+bin/arm-palmos-strip
+bin/build-prc
+bin/m68k-palmos-addr2line
+bin/m68k-palmos-ar
+bin/m68k-palmos-as
+bin/m68k-palmos-c++
+bin/m68k-palmos-c++filt
+bin/m68k-palmos-cpp
+bin/m68k-palmos-g++
+bin/m68k-palmos-gasp
+bin/m68k-palmos-gcc
+bin/m68k-palmos-gdb
+bin/m68k-palmos-ld
+bin/m68k-palmos-multigen
+bin/m68k-palmos-nm
+bin/m68k-palmos-obj-res
+bin/m68k-palmos-objcopy
+bin/m68k-palmos-objdump
+bin/m68k-palmos-ranlib
+bin/m68k-palmos-readelf
+bin/m68k-palmos-size
+bin/m68k-palmos-strings
+bin/m68k-palmos-strip
+bin/m68k-palmos-stubgen
+bin/palmdev-prep
+@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/prc-tools.info
+info/prc-tools.info
+@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/prc-tools.info
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/cc1
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/cc1plus
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/collect2
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/cpp0
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/crtbegin.o
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/crtend.o
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/README
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/exception
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/float.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/iso646.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/limits.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/new
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/new.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/proto.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/stdarg.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/stdbool.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/stddef.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/syslimits.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/typeinfo
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-alpha.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-arc.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-c4x.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-clipper.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-h8300.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-i860.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-i960.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-m32r.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-m88k.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-mips.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-mn10200.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-mn10300.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-pa.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-ppc.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-pyr.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-sh.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-sparc.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-spur.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/va-v850.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/include/varargs.h
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/libgcc.a
+lib/gcc-lib/arm-palmos/2.95.3-kgpd/specs
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/cc1
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/cc1plus
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/collect2
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/cpp0
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/README
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/exception
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/float.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/iso646.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/limits.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/math-68881.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/new
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/new.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/proto.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/stdarg.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/stdbool.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/stddef.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/syslimits.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/typeinfo
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-alpha.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-arc.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-c4x.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-clipper.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-h8300.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-i860.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-i960.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-m32r.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-m88k.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-mips.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-mn10200.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-mn10300.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-pa.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-ppc.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-pyr.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-sh.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-sparc.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-spur.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/va-v850.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include/varargs.h
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/libgcc.a
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/mown-gp/libgcc.a
+lib/gcc-lib/m68k-palmos/2.95.3-kgpd/specs
+m68k-palmos/bin/ar
+m68k-palmos/bin/as
+m68k-palmos/bin/gcc
+m68k-palmos/bin/ld
+m68k-palmos/bin/nm
+m68k-palmos/bin/ranlib
+m68k-palmos/bin/strip
+m68k-palmos/include/ctype.h
+m68k-palmos/include/errno.h
+m68k-palmos/include/malloc.h
+m68k-palmos/include/math.h
+m68k-palmos/include/mathf.h
+m68k-palmos/include/setjmp.h
+m68k-palmos/include/stdio.h
+m68k-palmos/include/stdlib.h
+m68k-palmos/include/string.h
+m68k-palmos/include/sys/types.h
+m68k-palmos/lib/crt0.o
+m68k-palmos/lib/gdbstub.o
+m68k-palmos/lib/ldscripts/m68kpalmos.x
+m68k-palmos/lib/ldscripts/m68kpalmos.xbn
+m68k-palmos/lib/ldscripts/m68kpalmos.xn
+m68k-palmos/lib/ldscripts/m68kpalmos.xr
+m68k-palmos/lib/ldscripts/m68kpalmos.xu
+m68k-palmos/lib/libc.a
+m68k-palmos/lib/libcrt.a
+m68k-palmos/lib/libg.a
+m68k-palmos/lib/libm.a
+m68k-palmos/lib/libmf.a
+m68k-palmos/lib/libnfm.a
+m68k-palmos/lib/libnoexcept.a
+m68k-palmos/lib/libstdc++.a
+m68k-palmos/lib/mown-gp/crt0.o
+m68k-palmos/lib/mown-gp/gdbstub.o
+m68k-palmos/lib/mown-gp/libc.a
+m68k-palmos/lib/mown-gp/libcrt.a
+m68k-palmos/lib/mown-gp/libg.a
+m68k-palmos/lib/mown-gp/scrt0.o
+m68k-palmos/lib/text_64k
+m68k-palmos/lib/text_64k_palmos3
+man/man1/arm-palmos-addr2line.1
+man/man1/arm-palmos-ar.1
+man/man1/arm-palmos-as.1
+man/man1/arm-palmos-c++filt.1
+man/man1/arm-palmos-dlltool.1
+man/man1/arm-palmos-g++.1
+man/man1/arm-palmos-gcc.1
+man/man1/arm-palmos-ld.1
+man/man1/arm-palmos-nlmconv.1
+man/man1/arm-palmos-nm.1
+man/man1/arm-palmos-objcopy.1
+man/man1/arm-palmos-objdump.1
+man/man1/arm-palmos-ranlib.1
+man/man1/arm-palmos-readelf.1
+man/man1/arm-palmos-size.1
+man/man1/arm-palmos-strings.1
+man/man1/arm-palmos-strip.1
+man/man1/arm-palmos-windres.1
+man/man1/m68k-palmos-addr2line.1
+man/man1/m68k-palmos-ar.1
+man/man1/m68k-palmos-as.1
+man/man1/m68k-palmos-c++filt.1
+man/man1/m68k-palmos-dlltool.1
+man/man1/m68k-palmos-g++.1
+man/man1/m68k-palmos-gcc.1
+man/man1/m68k-palmos-gdb.1
+man/man1/m68k-palmos-ld.1
+man/man1/m68k-palmos-nlmconv.1
+man/man1/m68k-palmos-nm.1
+man/man1/m68k-palmos-objcopy.1
+man/man1/m68k-palmos-objdump.1
+man/man1/m68k-palmos-ranlib.1
+man/man1/m68k-palmos-readelf.1
+man/man1/m68k-palmos-size.1
+man/man1/m68k-palmos-strings.1
+man/man1/m68k-palmos-strip.1
+man/man1/m68k-palmos-windres.1
+share/prc-tools/include/EntryPoints.h
+share/prc-tools/include/NewTypes.h
+share/prc-tools/include/PalmOS.h
+share/prc-tools/include/Pilot.h
+share/prc-tools/include/Standalone.h
+@dirrm share/prc-tools/include
+@dirrm share/prc-tools
+@dirrm m68k-palmos/lib/mown-gp
+@dirrm m68k-palmos/lib/ldscripts
+@dirrm m68k-palmos/lib
+@dirrm m68k-palmos/include/sys
+@dirrm m68k-palmos/include
+@dirrm m68k-palmos/bin
+@dirrm m68k-palmos
+@dirrm lib/gcc-lib/m68k-palmos/2.95.3-kgpd/mown-gp
+@dirrm lib/gcc-lib/m68k-palmos/2.95.3-kgpd/include
+@dirrm lib/gcc-lib/m68k-palmos/2.95.3-kgpd
+@dirrm lib/gcc-lib/m68k-palmos
+@dirrm lib/gcc-lib/arm-palmos/2.95.3-kgpd/include
+@dirrm lib/gcc-lib/arm-palmos/2.95.3-kgpd
+@dirrm lib/gcc-lib/arm-palmos
+@dirrm lib/gcc-lib
+@dirrm arm-palmos/lib/ldscripts
+@dirrm arm-palmos/lib
+@dirrm arm-palmos/include/sys
+@dirrm arm-palmos/include
+@dirrm arm-palmos/bin
+@dirrm arm-palmos
diff --git a/devel/prc-tools/distinfo b/devel/prc-tools/distinfo
new file mode 100644
index 00000000000..8cb81c2ecf4
--- /dev/null
+++ b/devel/prc-tools/distinfo
@@ -0,0 +1,29 @@
+$NetBSD: distinfo,v 1.1 2002/10/15 23:07:16 dillo Exp $
+
+SHA1 (prc-tools-2.2.tar.gz) = 9cbd385e081f6221f5309f9b682c5b62b856253b
+Size (prc-tools-2.2.tar.gz) = 319626 bytes
+SHA1 (binutils-2.12.1.tar.bz2) = 520a49a68832fd4dd1f4a4a75cdd244b74ce8dff
+Size (binutils-2.12.1.tar.bz2) = 9543675 bytes
+SHA1 (gcc-2.95.3.tar.gz) = 535d27038d161c0e7c2662702e11a48aa97ef622
+Size (gcc-2.95.3.tar.gz) = 12911721 bytes
+SHA1 (gdb-5.0.tar.bz2) = 0c7f9a75113a338e7ada6e30738899a6c0c3caac
+Size (gdb-5.0.tar.bz2) = 9505342 bytes
+SHA1 (patch-aa) = 54e83e7db65c5b4815f14e428bc8cf5f185a760e
+SHA1 (patch-ab) = 2155ff330b631b8229a178320af7fafccc315005
+SHA1 (patch-ac) = 0b0ec1e8260371f27450543a32f61b2a34e6157c
+SHA1 (patch-ad) = 6fc199be98fd80610ba34b22c67e06ac0f189de2
+SHA1 (patch-ae) = ec9a658f4bf20071074549eda72315de1462499a
+SHA1 (patch-af) = 821cce3f971f0799d5f7359c03777a21cfa00f98
+SHA1 (patch-ag) = 75d0a70775f4fd34615825fc80e05186e6c5cb6e
+SHA1 (patch-ah) = 651c8b822e0b961c845e6f51f7fdd2c7b6bb66da
+SHA1 (patch-ai) = deaa53b8712d4ff5e9e2d377f8929575126ff1a7
+SHA1 (patch-aj) = f2266f2a87b8a995140f9fa0fbd38fb98de0b094
+SHA1 (patch-ak) = 8ca6e2391849c37a13d69a358c9ababbf840ac2f
+SHA1 (patch-al) = 441cecd888032b37bd077ac1c5910fa65e2a69e6
+SHA1 (patch-am) = fdd41dc49d5ef540245134672593e367b89b447d
+SHA1 (patch-an) = 5c753e802297fc0852ec1041bc6e336833ef3c10
+SHA1 (patch-ao) = 96ca7bad9ae855b9b88206e627cc56f63df089b6
+SHA1 (patch-ap) = ea9c0a4570af48602622f44260859ab8cf5b31c4
+SHA1 (patch-aq) = 50ff64415cce32edeee98f6cfef61946d43bdab8
+SHA1 (patch-ar) = 1aa27d1928831fca9fb4f467f16843f349f01776
+SHA1 (patch-as) = 71a06be9b32893d1516ab1a5880eeb974bdca4ef
diff --git a/devel/prc-tools/patches/patch-aa b/devel/prc-tools/patches/patch-aa
new file mode 100644
index 00000000000..c61616c96c7
--- /dev/null
+++ b/devel/prc-tools/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/configure.in.orig Wed May 15 01:47:22 2002
++++ binutils/configure.in
+@@ -459,7 +459,8 @@ if [ x"${with_headers}" != x ]; then
+ "") x=${prefix} ;;
+ *) x=${exec_prefix} ;;
+ esac
+- copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
++ # XXX: directories under ${prefix} are not user writable, duh!
++ #copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
+ fi
+
+ # Handle --with-libs=XXX. Multiple directories are permitted. The
diff --git a/devel/prc-tools/patches/patch-ab b/devel/prc-tools/patches/patch-ab
new file mode 100644
index 00000000000..c7679052c72
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- gcc/configure.in.orig Tue Aug 27 10:43:24 2002
++++ gcc/configure.in
+@@ -422,7 +422,8 @@ if [ x"${with_headers}" != x ]; then
+ "") x=${prefix} ;;
+ *) x=${exec_prefix} ;;
+ esac
+- copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
++ # XXX: directories under ${prefix} are not user writable, duh!
++ #copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
+ fi
+
+ # Handle --with-libs=XXX. Multiple directories are permitted. The
diff --git a/devel/prc-tools/patches/patch-ac b/devel/prc-tools/patches/patch-ac
new file mode 100644
index 00000000000..4c18a7e19be
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- gdb/configure.in.orig Thu May 18 07:02:10 2000
++++ gdb/configure.in
+@@ -423,7 +423,8 @@ if [ x"${with_headers}" != x ]; then
+ "") x=${prefix} ;;
+ *) x=${exec_prefix} ;;
+ esac
+- copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
++ # XXX: directories under ${prefix} are not user writable, duh!
++ #copy_dirs="${copy_dirs} ${with_headers} $x/${target_alias}/sys-include"
+ fi
+
+ # Handle --with-libs=XXX. Multiple directories are permitted. The
diff --git a/devel/prc-tools/patches/patch-ad b/devel/prc-tools/patches/patch-ad
new file mode 100644
index 00000000000..9f1fa5140ce
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/intl/configure.orig Thu Nov 29 04:20:34 2001
++++ binutils/intl/configure
+@@ -2017,10 +2017,10 @@ else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
++ LIBS="$ac_save_LIBS"
+ eval "ac_cv_lib_$ac_lib_var=no"
+ fi
+ rm -f conftest*
+-LIBS="$ac_save_LIBS"
+
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
diff --git a/devel/prc-tools/patches/patch-ae b/devel/prc-tools/patches/patch-ae
new file mode 100644
index 00000000000..ea951593dea
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ae
@@ -0,0 +1,30 @@
+$NetBSD: patch-ae,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/bfd/Makefile.in.orig Thu Apr 4 18:20:20 2002
++++ binutils/bfd/Makefile.in
+@@ -1041,7 +1047,7 @@ install-info: install-info-recursive
+ all-recursive-am: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+-install-exec-am: install-libLTLIBRARIES
++install-exec-am:
+ install-exec: install-exec-recursive
+
+ install-data-am: install-data-local
+@@ -1226,14 +1232,8 @@ $(BFD32_LIBS) \
+ $(BFD64_BACKENDS) \
+ $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
+
+-# Install BFD include file, and others that it needs.
+-install-data-local: $(BFD_H)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(includedir)
+- $(INSTALL_DATA) $(BFD_H) $(DESTDIR)$(includedir)/bfd.h
+- $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(DESTDIR)$(includedir)/ansidecl.h
+- $(INSTALL_DATA) $(INCDIR)/symcat.h $(DESTDIR)$(includedir)/symcat.h
+- $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(DESTDIR)$(includedir)/bfdlink.h
++# *DON'T* install BFD include file, and others that it needs.
++install-data-local:
+
+ Makefile: $(srcdir)/configure.in
+
diff --git a/devel/prc-tools/patches/patch-af b/devel/prc-tools/patches/patch-af
new file mode 100644
index 00000000000..36c28a122cb
--- /dev/null
+++ b/devel/prc-tools/patches/patch-af
@@ -0,0 +1,29 @@
+$NetBSD: patch-af,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- gdb/bfd/Makefile.in.orig Sun Apr 9 14:17:37 2000
++++ gdb/bfd/Makefile.in
+@@ -934,7 +934,7 @@ install-info: install-info-recursive
+ all-recursive-am: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+-install-exec-am: install-libLTLIBRARIES
++install-exec-am:
+ install-exec: install-exec-recursive
+
+ install-data-am: install-data-local
+@@ -1082,13 +1082,8 @@ $(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS)
+ $(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
+ $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
+
+-# Install BFD include file, and others that it needs.
+-install-data-local: $(BFD_H)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(includedir)
+- $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
+- $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
+- $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
++# *DON'T* install BFD include file, and others that it needs.
++install-data-local:
+
+ # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
+ DEP: dep.sed $(CFILES) $(HFILES) bfd.h
diff --git a/devel/prc-tools/patches/patch-ag b/devel/prc-tools/patches/patch-ag
new file mode 100644
index 00000000000..a8f4e3eb947
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ag
@@ -0,0 +1,33 @@
+$NetBSD: patch-ag,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/gas/doc/Makefile.in.orig Tue Apr 2 03:29:05 2002
++++ binutils/gas/doc/Makefile.in
+@@ -252,27 +252,7 @@ DVIPS = dvips
+ .dvi.ps:
+ $(DVIPS) $< -o $@
+
+-install-info-am: $(INFO_DEPS)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(infodir)
+- @list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- if test -f $$file; then d=.; else d=$(srcdir); fi; \
+- for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+- if test -f $$d/$$ifile; then \
+- echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+- $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+- else : ; fi; \
+- done; \
+- done
+- @$(POST_INSTALL)
+- @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+- done; \
+- else : ; fi
++install-info-am:
+
+ uninstall-info:
+ $(PRE_UNINSTALL)
diff --git a/devel/prc-tools/patches/patch-ah b/devel/prc-tools/patches/patch-ah
new file mode 100644
index 00000000000..48984a1b3ea
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ah
@@ -0,0 +1,33 @@
+$NetBSD: patch-ah,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/bfd/doc/Makefile.in.orig Tue Apr 2 03:28:55 2002
++++ binutils/bfd/doc/Makefile.in
+@@ -299,27 +299,7 @@ DVIPS = dvips
+ .dvi.ps:
+ $(DVIPS) $< -o $@
+
+-install-info-am: $(INFO_DEPS)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(infodir)
+- @list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- if test -f $$file; then d=.; else d=$(srcdir); fi; \
+- for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+- if test -f $$d/$$ifile; then \
+- echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+- $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+- else : ; fi; \
+- done; \
+- done
+- @$(POST_INSTALL)
+- @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+- done; \
+- else : ; fi
++install-info-am:
+
+ uninstall-info:
+ $(PRE_UNINSTALL)
diff --git a/devel/prc-tools/patches/patch-ai b/devel/prc-tools/patches/patch-ai
new file mode 100644
index 00000000000..07c5da09dba
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ai
@@ -0,0 +1,33 @@
+$NetBSD: patch-ai,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- gdb/bfd/doc/Makefile.in.orig Wed Apr 26 10:03:30 2000
++++ gdb/bfd/doc/Makefile.in
+@@ -245,27 +245,7 @@ DVIPS = dvips
+ .dvi.ps:
+ $(DVIPS) $< -o $@
+
+-install-info-am: $(INFO_DEPS)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(infodir)
+- @list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- if test -f $$file; then d=.; else d=$(srcdir); fi; \
+- for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+- if test -f $$d/$$ifile; then \
+- echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+- $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+- else : ; fi; \
+- done; \
+- done
+- @$(POST_INSTALL)
+- @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+- done; \
+- else : ; fi
++install-info-am:
+
+ uninstall-info:
+ $(PRE_UNINSTALL)
diff --git a/devel/prc-tools/patches/patch-aj b/devel/prc-tools/patches/patch-aj
new file mode 100644
index 00000000000..8af3bbe3aa2
--- /dev/null
+++ b/devel/prc-tools/patches/patch-aj
@@ -0,0 +1,33 @@
+$NetBSD: patch-aj,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/binutils/doc/Makefile.in.orig Thu May 9 16:49:21 2002
++++ binutils/binutils/doc/Makefile.in
+@@ -232,27 +232,7 @@ DVIPS = dvips
+ .dvi.ps:
+ $(DVIPS) $< -o $@
+
+-install-info-am: $(INFO_DEPS)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(infodir)
+- @list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- if test -f $$file; then d=.; else d=$(srcdir); fi; \
+- for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
+- if test -f $$d/$$ifile; then \
+- echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
+- $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
+- else : ; fi; \
+- done; \
+- done
+- @$(POST_INSTALL)
+- @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+- done; \
+- else : ; fi
++install-info-am:
+
+ uninstall-info:
+ $(PRE_UNINSTALL)
diff --git a/devel/prc-tools/patches/patch-ak b/devel/prc-tools/patches/patch-ak
new file mode 100644
index 00000000000..be0543c6f73
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/etc/Makefile.in.orig Sat Jan 26 22:35:45 2002
++++ binutils/etc/Makefile.in
+@@ -52,7 +52,7 @@ DVIFILES = standards.dvi configure.dvi
+ all:
+
+ # We want install to imply install-info as per GNU standards.
+-install: install-info
++install:
+
+ uninstall:
+
diff --git a/devel/prc-tools/patches/patch-al b/devel/prc-tools/patches/patch-al
new file mode 100644
index 00000000000..60a9661b4e3
--- /dev/null
+++ b/devel/prc-tools/patches/patch-al
@@ -0,0 +1,32 @@
+$NetBSD: patch-al,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- gcc/gcc/Makefile.in.orig Thu Jan 25 15:02:58 2001
++++ gcc/gcc/Makefile.in
+@@ -2434,7 +2438,7 @@ install: $(INSTALL_TARGET) ; @true
+ # Install the driver last so that the window when things are
+ # broken is small.
+ install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
+- $(INSTALL_CPP) install-man install-info intl.install lang.install-normal \
++ $(INSTALL_CPP) install-man intl.install lang.install-normal \
+ install-driver
+
+ # Do nothing while making gcc with a cross-compiler. The person who
+@@ -2590,7 +2605,7 @@ install-info: doc installdirs lang.insta
+ -chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
+
+ # Install the man pages.
+-install-man: installdirs $(srcdir)/gcc.1 $(srcdir)/cccp.1 lang.install-man
++install-man: installdirs $(srcdir)/gcc.1 lang.install-man
+ -if [ -f gcc-cross$(exeext) ] ; then \
+ rm -f $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
+ $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_CROSS_NAME)$(manext); \
+@@ -2600,9 +2615,6 @@ install-man: installdirs $(srcdir)/gcc.1
+ $(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
+ chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
+ fi
+- -rm -f $(man1dir)/cccp$(manext)
+- -$(INSTALL_DATA) $(srcdir)/cccp.1 $(man1dir)/cccp$(manext)
+- -chmod a-x $(man1dir)/cccp$(manext)
+
+ # Install the library.
+ install-libgcc: libgcc.a installdirs
diff --git a/devel/prc-tools/patches/patch-am b/devel/prc-tools/patches/patch-am
new file mode 100644
index 00000000000..da78d3b330c
--- /dev/null
+++ b/devel/prc-tools/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2002/10/15 23:07:17 dillo Exp $
+
+--- binutils/ld/Makefile.in.orig Thu May 9 16:50:49 2002
++++ binutils/ld/Makefile.in
+@@ -1841,7 +1849,7 @@ install-data-local:
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+-install: install-info
++install:
+ diststuff: info $(EXTRA_DIST)
+ distclean-local:
+ rm -rf ldscripts
diff --git a/devel/prc-tools/patches/patch-an b/devel/prc-tools/patches/patch-an
new file mode 100644
index 00000000000..1f0ca684de7
--- /dev/null
+++ b/devel/prc-tools/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1 2002/10/15 23:07:18 dillo Exp $
+
+--- binutils/libiberty/Makefile.in.orig Tue Jan 22 21:14:52 2002
++++ binutils/libiberty/Makefile.in
+@@ -234,7 +234,7 @@ libiberty.html : $(srcdir)/libiberty.tex
+ @MAINT@ echo stamp > stamp-functions
+
+ INSTALL_DEST = @INSTALL_DEST@
+-install: install_to_$(INSTALL_DEST) install-subdir
++install:
+
+ install_to_libdir: all
+ $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
diff --git a/devel/prc-tools/patches/patch-ao b/devel/prc-tools/patches/patch-ao
new file mode 100644
index 00000000000..9245c46e689
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1 2002/10/15 23:07:18 dillo Exp $
+
+--- gcc/libiberty/Makefile.in.orig Sat Aug 7 07:36:11 1999
++++ gcc/libiberty/Makefile.in
+@@ -145,7 +145,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
+ $(RANLIB) $(TARGETLIB)
+
+ INSTALL_DEST = @INSTALL_DEST@
+-install: install_to_$(INSTALL_DEST) install-subdir
++install:
+
+ install_to_libdir: all
+ $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n
diff --git a/devel/prc-tools/patches/patch-ap b/devel/prc-tools/patches/patch-ap
new file mode 100644
index 00000000000..9874569d420
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1 2002/10/15 23:07:18 dillo Exp $
+
+--- gdb/libiberty/Makefile.in.orig Fri Mar 24 22:31:22 2000
++++ gdb/libiberty/Makefile.in
+@@ -149,7 +149,7 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA
+ $(RANLIB) $(TARGETLIB)
+
+ INSTALL_DEST = @INSTALL_DEST@
+-install: install_to_$(INSTALL_DEST) install-subdir
++install:
+
+ install_to_libdir: all
+ $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
diff --git a/devel/prc-tools/patches/patch-aq b/devel/prc-tools/patches/patch-aq
new file mode 100644
index 00000000000..b3e9e964196
--- /dev/null
+++ b/devel/prc-tools/patches/patch-aq
@@ -0,0 +1,14 @@
+$NetBSD: patch-aq,v 1.1 2002/10/15 23:07:18 dillo Exp $
+
+--- gdb/mmalloc/Makefile.in.orig Wed May 17 13:54:04 2000
++++ gdb/mmalloc/Makefile.in
+@@ -126,9 +126,6 @@ check: test1.c
+ # ./a.out
+
+ install: all
+- $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
+- $(RANLIB) $(libdir)/$(TARGETLIB)n
+- mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
+
+ $(TARGETLIB): $(TARGETOBJS)
+ $(RM) -rf $@
diff --git a/devel/prc-tools/patches/patch-ar b/devel/prc-tools/patches/patch-ar
new file mode 100644
index 00000000000..aff1f09f4c3
--- /dev/null
+++ b/devel/prc-tools/patches/patch-ar
@@ -0,0 +1,21 @@
+$NetBSD: patch-ar,v 1.1 2002/10/15 23:07:18 dillo Exp $
+
+--- gdb/opcodes/Makefile.in.orig Sun Apr 9 14:17:43 2000
++++ gdb/opcodes/Makefile.in
+@@ -413,15 +413,7 @@ distclean-libLTLIBRARIES:
+
+ maintainer-clean-libLTLIBRARIES:
+
+-install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+- @$(NORMAL_INSTALL)
+- $(mkinstalldirs) $(DESTDIR)$(libdir)
+- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+- if test -f $$p; then \
+- echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
+- $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
+- else :; fi; \
+- done
++install-libLTLIBRARIES:
+
+ uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
diff --git a/devel/prc-tools/patches/patch-as b/devel/prc-tools/patches/patch-as
new file mode 100644
index 00000000000..ee9db962560
--- /dev/null
+++ b/devel/prc-tools/patches/patch-as
@@ -0,0 +1,13 @@
+$NetBSD: patch-as,v 1.1 2002/10/15 23:07:18 dillo Exp $
+
+--- binutils/opcodes/Makefile.in.orig Thu Apr 4 18:20:14 2002
++++ binutils/opcodes/Makefile.in
+@@ -705,7 +705,7 @@ install-info: install-info-recursive
+ all-recursive-am: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+-install-exec-am: install-libLTLIBRARIES
++install-exec-am:
+ install-exec: install-exec-recursive
+
+ install-data-am: