diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2000-03-31 12:08:41 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2000-03-31 12:08:41 +0800 |
commit | c4dae9710ba89febd615b52ee1e2558e1b214bc5 (patch) | |
tree | b6c21666b5054fa091edcc797d606a87448c8f04 /palm/prc-tools-gcc | |
parent | 8c0758cad31058f5ca264fd21d309f11389365ac (diff) | |
download | freebsd-ports-graphics-c4dae9710ba89febd615b52ee1e2558e1b214bc5.tar.gz freebsd-ports-graphics-c4dae9710ba89febd615b52ee1e2558e1b214bc5.tar.zst freebsd-ports-graphics-c4dae9710ba89febd615b52ee1e2558e1b214bc5.zip |
PRC-tools for Palm OS (gcc part).
Diffstat (limited to 'palm/prc-tools-gcc')
-rw-r--r-- | palm/prc-tools-gcc/Makefile | 50 | ||||
-rw-r--r-- | palm/prc-tools-gcc/distinfo | 3 | ||||
-rw-r--r-- | palm/prc-tools-gcc/files/patch-aa | 19 | ||||
-rw-r--r-- | palm/prc-tools-gcc/pkg-comment | 1 | ||||
-rw-r--r-- | palm/prc-tools-gcc/pkg-descr | 3 | ||||
-rw-r--r-- | palm/prc-tools-gcc/pkg-plist | 59 |
6 files changed, 135 insertions, 0 deletions
diff --git a/palm/prc-tools-gcc/Makefile b/palm/prc-tools-gcc/Makefile new file mode 100644 index 00000000000..bf96dac980b --- /dev/null +++ b/palm/prc-tools-gcc/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: Palm OS PRC-Tools (gcc part) +# Version required: 2.0 +# Date created: Mar 22 2000 +# Whom: Jun Kuriyama <kuriyama@FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME= prc-tools-2.0 +PKGNAME= prc-tools-gcc-2.0 +CATEGORIES= palm +MASTER_SITES= http://www.palm.com/devzone/tools/gcc/dist/ \ + ${MASTER_SITE_GNU} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + gdb/gdb-4.18.tar.gz gcc/gcc-2.95.2.tar.gz + +MAINTAINER= kuriyama@FreeBSD.org + +BUILD_DEPENDS= ${PREFIX}/bin/m68k-palmos-as:${PORTSDIR}/palm/prc-tools-binutils + +USE_BISON= YES +USE_GMAKE= YES +PREFIX= ${LOCALBASE}/pilot +WRKSRC= ${WRKDIR}/build +ALL_TARGET= all-gcc +INSTALL_TARGET= install-gcc +HAS_CONFIGURE= YES +CONFIGURE_SCRIPT= ../prc-tools-2.0/configure +CONFIGURE_ARGS= --target=m68k-palmos --enable-languages=c,c++ \ + --sharedstatedir=${LOCALBASE}/palmdev --prefix=${PREFIX} +CONFIGURE_ENV= PATH=${PATH}:${PREFIX}/bin +MAKE_ENV= PATH=${PATH}:${PREFIX}/bin +MAN1= cccp.1 m68k-palmos-g++.1 m68k-palmos-gcc.1 + +.include <bsd.port.pre.mk> + +CFLAGS:= ${CFLAGS:S/-m486//g} + +pre-patch: + ${MKDIR} ${WRKSRC}/empty + (cd ${WRKDIR} && \ + ${CAT} prc-tools-2.0/gcc-2.95.2.palmos.diff \ + prc-tools-2.0/gdb-4.18.palmos.diff | ${PATCH} -p0) + +pre-configure: + (cd ${WRKDIR}/prc-tools-2.0 && \ + ${LN} -sf ../gdb-4.18 gdb; \ + ${LN} -sf ../gcc-2.95.2 gcc) + +.include <bsd.port.post.mk> diff --git a/palm/prc-tools-gcc/distinfo b/palm/prc-tools-gcc/distinfo new file mode 100644 index 00000000000..eaaffc0c4d8 --- /dev/null +++ b/palm/prc-tools-gcc/distinfo @@ -0,0 +1,3 @@ +MD5 (prc-tools-2.0.tar.gz) = cd22ec500ebb3ec90fd8a8da53c6e39a +MD5 (gdb-4.18.tar.gz) = 828d28487af6cec074639c1102569473 +MD5 (gcc-2.95.2.tar.gz) = 0e36957d734286e242e9697fd2806c4f diff --git a/palm/prc-tools-gcc/files/patch-aa b/palm/prc-tools-gcc/files/patch-aa new file mode 100644 index 00000000000..d4670a9e23b --- /dev/null +++ b/palm/prc-tools-gcc/files/patch-aa @@ -0,0 +1,19 @@ +--- ../gcc-2.95.2/gcc/Makefile.in~ Fri Mar 24 12:47:55 2000 ++++ ../gcc-2.95.2/gcc/Makefile.in Fri Mar 24 12:49:24 2000 +@@ -2455,7 +2455,7 @@ + # 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 +@@ -2524,7 +2524,6 @@ + -if [ -d $(gcc_tooldir) ] ; then true ; else mkdir $(gcc_tooldir) ; chmod a+rx $(gcc_tooldir) ; fi + -if [ -d $(assertdir) ] ; then true ; else mkdir $(assertdir) ; chmod a+rx $(assertdir) ; fi + -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; chmod a+rx $(infodir) ; fi +- -if [ -d $(htmldir) ] ; then true ; else mkdir $(htmldir) ; chmod a+rx $(htmldir) ; fi + # We don't use mkdir -p to create the parents of man1dir, + # because some systems don't support it. + # Instead, we use this technique to create the immediate parent of man1dir. diff --git a/palm/prc-tools-gcc/pkg-comment b/palm/prc-tools-gcc/pkg-comment new file mode 100644 index 00000000000..a2f91d4f1a5 --- /dev/null +++ b/palm/prc-tools-gcc/pkg-comment @@ -0,0 +1 @@ +PRC-tools for Palm OS (gcc part) diff --git a/palm/prc-tools-gcc/pkg-descr b/palm/prc-tools-gcc/pkg-descr new file mode 100644 index 00000000000..186bb35e15c --- /dev/null +++ b/palm/prc-tools-gcc/pkg-descr @@ -0,0 +1,3 @@ +PRC-tools for Palm OS (gcc part) + +WWW: http://www.palm.com/devzone/tools/gcc/ diff --git a/palm/prc-tools-gcc/pkg-plist b/palm/prc-tools-gcc/pkg-plist new file mode 100644 index 00000000000..162b20211a2 --- /dev/null +++ b/palm/prc-tools-gcc/pkg-plist @@ -0,0 +1,59 @@ +bin/gcov +bin/m68k-palmos-c++ +bin/m68k-palmos-c++filt +bin/m68k-palmos-cpp +bin/m68k-palmos-g++ +bin/m68k-palmos-gcc +bin/m68k-palmos-protoize +bin/m68k-palmos-unprotoize +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/SYSCALLS.c.X +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/cc1 +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/cc1plus +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/collect2 +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/cpp +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/README +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/exception +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/fixed +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/float.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/iso646.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/limits.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/math-68881.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/new +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/new.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/proto.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/stdarg.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/stdbool.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/stddef.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/syslimits.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/typeinfo +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-alpha.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-arc.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-c4x.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-clipper.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-h8300.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-i860.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-i960.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-m32r.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-m88k.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-mips.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-mn10200.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-mn10300.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-pa.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-ppc.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-pyr.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-sh.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-sparc.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-spur.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/va-v850.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include/varargs.h +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/libgcc.a +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/pilot.ld +lib/gcc-lib/m68k-palmos/2.95.2-kgpd/specs +lib/libiberty.a +m68k-palmos/bin/gcc +@exec mkdir %D/m68k-palmos/include +@dirrm m68k-palmos/include +@dirrm lib/gcc-lib/m68k-palmos/2.95.2-kgpd/include +@dirrm lib/gcc-lib/m68k-palmos/2.95.2-kgpd +@dirrm lib/gcc-lib/m68k-palmos +@dirrm lib/gcc-lib |