diff options
author | jtb <jtb> | 2003-02-17 18:47:15 +0000 |
---|---|---|
committer | jtb <jtb> | 2003-02-17 18:47:15 +0000 |
commit | 60d42f2953963df0142163e27c2239cb56bd4ba5 (patch) | |
tree | 8b650d510081c9a4be24d155597179029d2ffbc7 /lang | |
parent | 6f24a683b39968f56806720bdf0ec22c5bb77d80 (diff) | |
download | pkgsrc-60d42f2953963df0142163e27c2239cb56bd4ba5.tar.gz |
Initial import of gpc.
GNU Pascal is the free 32/64-bit Pascal compiler of the GNU Compiler
Collection (GNU CC or GCC). It combines a Pascal front-end with the
proven GCC back-end for code generation and optimization. Unlike
utilities such as p2c, this is a true compiler, not just a converter.
The purpose of the GNU Pascal project is to produce a Pascal compiler
(called GNU Pascal or GPC) which
* combines the clarity of Pascal with powerful tools suitable for
real-life programming,
* supports both the Pascal standard and the Extended Pascal standard
as defined by ISO, ANSI and IEEE (ISO 7185:1990, ISO/IEC
10206:1991, ANSI/IEEE 770X3.160-1989),
* supports other Pascal standards (UCSD Pascal, Borland Pascal,
parts of Borland Delphi and Pascal-SC) in so far as this serves the
goal of clarity and usability,
* may be distributed under GNU license conditions, and
* can generate code for and run on any computer for which the GNU C
compiler can generate code and run on.
The current release implements Standard Pascal (ISO 7185, levels 0 and
1), a large subset of Extended Pascal (ISO 10206, aiming for full
compliance), is highly compatible to Borland Pascal (version 7.0) with
some Delphi extensions, and provides a lot of useful GNU extensions.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gpc/DESCR | 24 | ||||
-rw-r--r-- | lang/gpc/Makefile | 76 | ||||
-rw-r--r-- | lang/gpc/PLIST | 339 | ||||
-rw-r--r-- | lang/gpc/distinfo | 14 | ||||
-rw-r--r-- | lang/gpc/patches/patch-aa | 16 | ||||
-rw-r--r-- | lang/gpc/patches/patch-ab | 21 | ||||
-rw-r--r-- | lang/gpc/patches/patch-ac | 13 | ||||
-rw-r--r-- | lang/gpc/patches/patch-ad | 7 | ||||
-rw-r--r-- | lang/gpc/patches/patch-ae | 7 | ||||
-rw-r--r-- | lang/gpc/patches/patch-af | 37 |
10 files changed, 554 insertions, 0 deletions
diff --git a/lang/gpc/DESCR b/lang/gpc/DESCR new file mode 100644 index 00000000000..884a623f112 --- /dev/null +++ b/lang/gpc/DESCR @@ -0,0 +1,24 @@ +GNU Pascal is the free 32/64-bit Pascal compiler of the GNU Compiler +Collection (GNU CC or GCC). It combines a Pascal front-end with the +proven GCC back-end for code generation and optimization. Unlike +utilities such as p2c, this is a true compiler, not just a converter. + +The purpose of the GNU Pascal project is to produce a Pascal compiler +(called GNU Pascal or GPC) which + + * combines the clarity of Pascal with powerful tools suitable for + real-life programming, + * supports both the Pascal standard and the Extended Pascal standard + as defined by ISO, ANSI and IEEE (ISO 7185:1990, ISO/IEC + 10206:1991, ANSI/IEEE 770X3.160-1989), + * supports other Pascal standards (UCSD Pascal, Borland Pascal, + parts of Borland Delphi and Pascal-SC) in so far as this serves the + goal of clarity and usability, + * may be distributed under GNU license conditions, and + * can generate code for and run on any computer for which the GNU C + compiler can generate code and run on. + +The current release implements Standard Pascal (ISO 7185, levels 0 and +1), a large subset of Extended Pascal (ISO 10206, aiming for full +compliance), is highly compatible to Borland Pascal (version 7.0) with +some Delphi extensions, and provides a lot of useful GNU extensions. diff --git a/lang/gpc/Makefile b/lang/gpc/Makefile new file mode 100644 index 00000000000..a1e8bfd33e8 --- /dev/null +++ b/lang/gpc/Makefile @@ -0,0 +1,76 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/02/17 18:47:15 jtb Exp $ + +DISTNAME= gpc-2.1 +CATEGORIES= lang +MASTER_SITES= http://www.gnu-pascal.de/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES+= gcc-2.95.3.tar.gz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.gnu-pascal.de +COMMENT= GNU Pascal Compiler + +PATCH_SITES= ${MASTER_SITE_LOCAL} +PATCHFILES= gcc-2.95.3-diff-2002-08-29.gz + +DEPENDS+= gmp-[0-9]*:../../devel/gmp +DEPENDS+= ncurses-[0-9]*:../../devel/ncurses +DEPENDS+= rx-[0-9]*:../../devel/rx + +BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison +BUILD_DEPENDS+= gsed-[0-9]*:../../textproc/gsed + +WRKSRC= ${WRKDIR}/gcc-2.95.3 +USE_GMAKE= # defined +USE_NCURSES= # defined +USE_PKGSRC_GCC= # defined + +GPC_PREFIX= ${_GCC_PREFIX} +GPC_SUBPREFIX= ${_GCC_SUBPREFIX} + +HAS_CONFIGURE= # defined +CONFIGURE_SCRIPT= ${WRKSRC}/configure +CONFIGURE_ARGS= --host=${MACHINE_GNU_PLATFORM} +CONFIGURE_ARGS+= --prefix=${GPC_PREFIX} +CONFIGURE_ARGS+= --infodir=${PREFIX}/info +CONFIGURE_ARGS+= --enable-shared +CONFIGURE_ARGS+= --enable-languages=pascal + +PLIST_SUBST+= GPC_SUBPREFIX=${GPC_SUBPREFIX} + +CONFIGURE_DIRS= ${WRKDIR}/objdir +BUILD_DIRS= ${CONFIGURE_DIRS} +INSTALL_DIRS= ${BUILD_DIRS}/gcc + +INSTALL_TARGET= pascal.install + +INFO_FILES= gpc.info gpcs.info + +.include "../../mk/bsd.prefs.mk" + +post-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${.CURDIR}/../gcc/files/xm-netbsd.h ${WRKSRC}/gcc/config + ${CP} ${.CURDIR}/../gcc/files/xm-target64.h ${WRKSRC}/gcc/config + for file in ${.CURDIR}/../gcc/files/*_* ; do \ + arch=`${BASENAME} $${file} | ${SED} -e "s/_.*//"`; \ + dest=`${BASENAME} $${file} | ${SED} -e "s/$${arch}_//"`; \ + ${MKDIR} ${WRKSRC}/gcc/config/$${arch}; \ + ${CP} $${file} ${WRKSRC}/gcc/config/$${arch}/$${dest}; \ + done + ${RM} ${WRKSRC}/gcc/config/alpha/netbsd-elf.h + ${RM} ${WRKSRC}/gcc/config/arm/t-netbsd + ${RM} ${WRKSRC}/gcc/config/mips/x-netbsd + +pre-patch: + ${MV} -f ${WRKDIR}/gpc-20020510/p ${WRKDIR}/gcc-2.95.3/gcc/ + +pre-configure: + ${MKDIR} ${BUILD_DIRS} + ${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/gcc/c-gperf.h + ${ECHO} "bogus" > ${WRKSRC}/gcc/cstamp-h.in + +.include "../../lang/gcc/buildlink2.mk" +.include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/gpc/PLIST b/lang/gpc/PLIST new file mode 100644 index 00000000000..2488245116b --- /dev/null +++ b/lang/gpc/PLIST @@ -0,0 +1,339 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/17 18:47:24 jtb Exp $ +${GPC_SUBPREFIX}/bin/gpc +${GPC_SUBPREFIX}/bin/gpc-run +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/collect2 +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/gpc1 +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/gpcpp +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/include/gpc-in-c.h +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/libgpc.a +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crt.inc +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crt.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crtc.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crtc.h +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crtdjgpp.h +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crtlinux386.h +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/crtx.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/dos.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/dosunix.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/fileutils.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/gmp.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/gmpc.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/gpc-bp.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/gpc.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/gpcutil.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/heapmon.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/intl.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/intlc.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/md5.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/overlay.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/pipe.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/pipec.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/ports.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/printer.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/regex.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/regexc.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/rts-config.inc +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/strings.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/stringutils.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/system.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/trap.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/trapc.c +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/turbo3.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/wincrt.pas +${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units/windos.pas +${GPC_SUBPREFIX}/man/man1/gpc.1 +@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/gpc.info +@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/gpcs.info +info/gpc.info +info/gpc.info-1 +info/gpc.info-10 +info/gpc.info-11 +info/gpc.info-12 +info/gpc.info-13 +info/gpc.info-14 +info/gpc.info-15 +info/gpc.info-16 +info/gpc.info-17 +info/gpc.info-18 +info/gpc.info-19 +info/gpc.info-2 +info/gpc.info-20 +info/gpc.info-21 +info/gpc.info-22 +info/gpc.info-23 +info/gpc.info-24 +info/gpc.info-3 +info/gpc.info-4 +info/gpc.info-5 +info/gpc.info-6 +info/gpc.info-7 +info/gpc.info-8 +info/gpc.info-9 +info/gpcs-de.info +info/gpcs-hr.info +info/gpcs.info +@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/gpc.info +@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/gpcs.info +share/doc/gpc/AUTHORS +share/doc/gpc/BUGS +share/doc/gpc/COPYING +share/doc/gpc/COPYING.LIB +share/doc/gpc/FAQ +share/doc/gpc/INSTALL +share/doc/gpc/NEWS +share/doc/gpc/README +share/doc/gpc/demos/README +share/doc/gpc/demos/absdemo.pas +share/doc/gpc/demos/arrayslicedemo.pas +share/doc/gpc/demos/bigmemdemo.pas +share/doc/gpc/demos/bigsetsdemo.pas +share/doc/gpc/demos/binobjdemo.pas +share/doc/gpc/demos/c_gpc.pas +share/doc/gpc/demos/c_gpc_c.c +share/doc/gpc/demos/conformantdemo.pas +share/doc/gpc/demos/crtdemo.pas +share/doc/gpc/demos/crtscreen.c +share/doc/gpc/demos/datetimedemo.pas +share/doc/gpc/demos/demoproc.pas +share/doc/gpc/demos/dosunixdemo.pas +share/doc/gpc/demos/dynamicarraydemo.pas +share/doc/gpc/demos/endiandemo.pas +share/doc/gpc/demos/factorial.pas +share/doc/gpc/demos/fexpanddemo.pas +share/doc/gpc/demos/fibonacci.pas +share/doc/gpc/demos/filebuf1demo.pas +share/doc/gpc/demos/filebuf2demo.pas +share/doc/gpc/demos/filelockdemo.pas +share/doc/gpc/demos/findfilesdemo.pas +share/doc/gpc/demos/formattimedemo.pas +share/doc/gpc/demos/getoptdemo.pas +share/doc/gpc/demos/gettextdemo.pas +share/doc/gpc/demos/gpc_c_c.c +share/doc/gpc/demos/gpc_c_pas.pas +share/doc/gpc/demos/gpc_c_unit.pas +share/doc/gpc/demos/gradient.pas +share/doc/gpc/demos/hello.pas +share/doc/gpc/demos/initvardemo.pas +share/doc/gpc/demos/intfiledemo.pas +share/doc/gpc/demos/iteratordemo.pas +share/doc/gpc/demos/localedemo.pas +share/doc/gpc/demos/mandelbrot.pas +share/doc/gpc/demos/md5demo.pas +share/doc/gpc/demos/packdemo.pas +share/doc/gpc/demos/parserdemo.pas +share/doc/gpc/demos/pexecutedemo.pas +share/doc/gpc/demos/pi.pas +share/doc/gpc/demos/pipedemo.pas +share/doc/gpc/demos/portdemo.pas +share/doc/gpc/demos/power.pas +share/doc/gpc/demos/procvardemo.pas +share/doc/gpc/demos/readdirdemo.pas +share/doc/gpc/demos/realpower.pas +share/doc/gpc/demos/regexdemo.pas +share/doc/gpc/demos/returnvardemo.pas +share/doc/gpc/demos/rwstringdemo.pas +share/doc/gpc/demos/schemademo.pas +share/doc/gpc/demos/statfsdemo.pas +share/doc/gpc/demos/stringhashdemo.pas +share/doc/gpc/demos/stringschemademo.pas +share/doc/gpc/demos/trapdemo.pas +share/doc/gpc/demos/variantdemo.pas +share/doc/gpc/docdemos/README +share/doc/gpc/docdemos/absdemo.pas +share/doc/gpc/docdemos/absolutedemo.pas +share/doc/gpc/docdemos/addrdemo.pas +share/doc/gpc/docdemos/alignofdemo.pas +share/doc/gpc/docdemos/alldemo.pas +share/doc/gpc/docdemos/allmodule.pas +share/doc/gpc/docdemos/and_thendemo.pas +share/doc/gpc/docdemos/andbug.pas +share/doc/gpc/docdemos/anddemo.pas +share/doc/gpc/docdemos/andoperatordemo.pas +share/doc/gpc/docdemos/andproceduredemo.pas +share/doc/gpc/docdemos/andthendemo.pas +share/doc/gpc/docdemos/ansichardemo.pas +share/doc/gpc/docdemos/appenddemo.pas +share/doc/gpc/docdemos/arctandemo.pas +share/doc/gpc/docdemos/argdemo.pas +share/doc/gpc/docdemos/arraydemo.pas +share/doc/gpc/docdemos/asmnamedemo.pas +share/doc/gpc/docdemos/assigneddemo.pas +share/doc/gpc/docdemos/assigntextdemo.pas +share/doc/gpc/docdemos/begindemo.pas +share/doc/gpc/docdemos/bindingdemo.pas +share/doc/gpc/docdemos/bitoperatorproceduredemo.pas +share/doc/gpc/docdemos/bitsizeofdemo.pas +share/doc/gpc/docdemos/booleandemo.pas +share/doc/gpc/docdemos/bpabsolutedemo.pas +share/doc/gpc/docdemos/bparrayinitdemo.pas +share/doc/gpc/docdemos/bpepbasedemo.pas +share/doc/gpc/docdemos/bpinitvardemo.pas +share/doc/gpc/docdemos/bpvariantrecorddemo.pas +share/doc/gpc/docdemos/breakdemo.pas +share/doc/gpc/docdemos/bytebooldemo.pas +share/doc/gpc/docdemos/bytecarddemo.pas +share/doc/gpc/docdemos/bytedemo.pas +share/doc/gpc/docdemos/byteintdemo.pas +share/doc/gpc/docdemos/callc.c +share/doc/gpc/docdemos/callc.h +share/doc/gpc/docdemos/callcdemo.pas +share/doc/gpc/docdemos/callcudemo.pas +share/doc/gpc/docdemos/callcunit.pas +share/doc/gpc/docdemos/carddemo.pas +share/doc/gpc/docdemos/cardinaldemo.pas +share/doc/gpc/docdemos/casedemo.pas +share/doc/gpc/docdemos/caseotherwisedemo.pas +share/doc/gpc/docdemos/chardemo.pas +share/doc/gpc/docdemos/chdirdemo.pas +share/doc/gpc/docdemos/chrdemo.pas +share/doc/gpc/docdemos/cmplxdemo.pas +share/doc/gpc/docdemos/commandlineargumentsdemo.pas +share/doc/gpc/docdemos/compdemo.pas +share/doc/gpc/docdemos/complexdemo.pas +share/doc/gpc/docdemos/complexoperationsdemo.pas +share/doc/gpc/docdemos/concatdemo.pas +share/doc/gpc/docdemos/conjugatedemo.pas +share/doc/gpc/docdemos/continuedemo.pas +share/doc/gpc/docdemos/copydemo.pas +share/doc/gpc/docdemos/cosdemo.pas +share/doc/gpc/docdemos/cstringdemo.pas +share/doc/gpc/docdemos/decdemo.pas +share/doc/gpc/docdemos/demomod2.pas +share/doc/gpc/docdemos/demomod3.pas +share/doc/gpc/docdemos/demomodule.pas +share/doc/gpc/docdemos/demounit.pas +share/doc/gpc/docdemos/directaccessfiledemo.pas +share/doc/gpc/docdemos/doubledemo.pas +share/doc/gpc/docdemos/dpmidemo.pas +share/doc/gpc/docdemos/elsedemo.pas +share/doc/gpc/docdemos/enddemo.pas +share/doc/gpc/docdemos/enumsubrangedemo.pas +share/doc/gpc/docdemos/eparrayinitdemo.pas +share/doc/gpc/docdemos/epbasedemo.pas +share/doc/gpc/docdemos/epvariantrecorddemo.pas +share/doc/gpc/docdemos/exitdemo.pas +share/doc/gpc/docdemos/expdemo.pas +share/doc/gpc/docdemos/extenddemo.pas +share/doc/gpc/docdemos/extendeddemo.pas +share/doc/gpc/docdemos/fardemo.pas +share/doc/gpc/docdemos/foo.pas +share/doc/gpc/docdemos/fordemo.pas +share/doc/gpc/docdemos/getmemdemo.pas +share/doc/gpc/docdemos/getmemfunctiondemo.pas +share/doc/gpc/docdemos/haltdemo.pas +share/doc/gpc/docdemos/highdemo.pas +share/doc/gpc/docdemos/ifdemo.pas +share/doc/gpc/docdemos/imdemo.pas +share/doc/gpc/docdemos/incdecdemo.pas +share/doc/gpc/docdemos/incdemo.pas +share/doc/gpc/docdemos/inittypedemo.pas +share/doc/gpc/docdemos/inlinedemo.pas +share/doc/gpc/docdemos/integerdemo.pas +share/doc/gpc/docdemos/integersizedemo.pas +share/doc/gpc/docdemos/integertypesdemo.pas +share/doc/gpc/docdemos/lndemo.pas +share/doc/gpc/docdemos/localproceduralparameterdemo.pas +share/doc/gpc/docdemos/longbooldemo.pas +share/doc/gpc/docdemos/longcarddemo.pas +share/doc/gpc/docdemos/longestbooldemo.pas +share/doc/gpc/docdemos/longestcarddemo.pas +share/doc/gpc/docdemos/longestintdemo.pas +share/doc/gpc/docdemos/longestrealdemo.pas +share/doc/gpc/docdemos/longestworddemo.pas +share/doc/gpc/docdemos/longintdemo.pas +share/doc/gpc/docdemos/longrealdemo.pas +share/doc/gpc/docdemos/longworddemo.pas +share/doc/gpc/docdemos/lowdemo.pas +share/doc/gpc/docdemos/macrodemo.pas +share/doc/gpc/docdemos/medbooldemo.pas +share/doc/gpc/docdemos/medcarddemo.pas +share/doc/gpc/docdemos/medintdemo.pas +share/doc/gpc/docdemos/medrealdemo.pas +share/doc/gpc/docdemos/medworddemo.pas +share/doc/gpc/docdemos/mkdirdemo.pas +share/doc/gpc/docdemos/moddemo2.pas +share/doc/gpc/docdemos/moduledemo.pas +share/doc/gpc/docdemos/neardemo.pas +share/doc/gpc/docdemos/nildemo.pas +share/doc/gpc/docdemos/nulldemo.pas +share/doc/gpc/docdemos/objectdemo.pas +share/doc/gpc/docdemos/odddemo.pas +share/doc/gpc/docdemos/operatordemo.pas +share/doc/gpc/docdemos/optimizationdemo.pas +share/doc/gpc/docdemos/or_elsedemo.pas +share/doc/gpc/docdemos/orbug.pas +share/doc/gpc/docdemos/ordemo.pas +share/doc/gpc/docdemos/orelsedemo.pas +share/doc/gpc/docdemos/packeddemo.pas +share/doc/gpc/docdemos/packedsubrangedemo.pas +share/doc/gpc/docdemos/pansichardemo.pas +share/doc/gpc/docdemos/paramcountdemo.pas +share/doc/gpc/docdemos/partialfreememdemo.pas +share/doc/gpc/docdemos/pchardemo.pas +share/doc/gpc/docdemos/pointerarithmeticdemo.pas +share/doc/gpc/docdemos/pointerdemo.pas +share/doc/gpc/docdemos/preddemo.pas +share/doc/gpc/docdemos/procptrdemo.pas +share/doc/gpc/docdemos/prog.pas +share/doc/gpc/docdemos/ptrcarddemo.pas +share/doc/gpc/docdemos/ptrdifftypedemo.pas +share/doc/gpc/docdemos/ptrintdemo.pas +share/doc/gpc/docdemos/ptrworddemo.pas +share/doc/gpc/docdemos/pxscoperatordemo.pas +share/doc/gpc/docdemos/realdemo.pas +share/doc/gpc/docdemos/recorddemo.pas +share/doc/gpc/docdemos/redemo.pas +share/doc/gpc/docdemos/repeatdemo.pas +share/doc/gpc/docdemos/resetdemo.pas +share/doc/gpc/docdemos/restricteddemo.pas +share/doc/gpc/docdemos/rewritedemo.pas +share/doc/gpc/docdemos/rmdirdemo.pas +share/doc/gpc/docdemos/rounddemo.pas +share/doc/gpc/docdemos/schema1demo.pas +share/doc/gpc/docdemos/schema2demo.pas +share/doc/gpc/docdemos/schema3demo.pas +share/doc/gpc/docdemos/schemaexoticdemo.pas +share/doc/gpc/docdemos/schemawithdemo.pas +share/doc/gpc/docdemos/setlengthdemo.pas +share/doc/gpc/docdemos/settypedemo.pas +share/doc/gpc/docdemos/shldemo.pas +share/doc/gpc/docdemos/shortbooldemo.pas +share/doc/gpc/docdemos/shortcarddemo.pas +share/doc/gpc/docdemos/shortintdemo.pas +share/doc/gpc/docdemos/shortrealdemo.pas +share/doc/gpc/docdemos/shortworddemo.pas +share/doc/gpc/docdemos/shrdemo.pas +share/doc/gpc/docdemos/sindemo.pas +share/doc/gpc/docdemos/sizeofdemo.pas +share/doc/gpc/docdemos/sizetypedemo.pas +share/doc/gpc/docdemos/slicewritedemo.pas +share/doc/gpc/docdemos/smallintdemo.pas +share/doc/gpc/docdemos/sqrdemo.pas +share/doc/gpc/docdemos/sqrtdemo.pas +share/doc/gpc/docdemos/staticdemo.pas +share/doc/gpc/docdemos/stderrdemo.pas +share/doc/gpc/docdemos/stringdemo.pas +share/doc/gpc/docdemos/stringslicedemo.pas +share/doc/gpc/docdemos/subrangedemo.pas +share/doc/gpc/docdemos/substrdemo.pas +share/doc/gpc/docdemos/succdemo.pas +share/doc/gpc/docdemos/syscall.pas +share/doc/gpc/docdemos/textdemo.pas +share/doc/gpc/docdemos/thendemo.pas +share/doc/gpc/docdemos/trapsoftypecastsdemo.pas +share/doc/gpc/docdemos/truncdemo.pas +share/doc/gpc/docdemos/typecastdemo.pas +share/doc/gpc/docdemos/typecst2demo.pas +share/doc/gpc/docdemos/typedemo.pas +share/doc/gpc/docdemos/typeofdemo.pas +share/doc/gpc/docdemos/typevarinitdemo.pas +share/doc/gpc/docdemos/vardemo.pas +share/doc/gpc/docdemos/voiddemo.pas +share/doc/gpc/docdemos/whiledemo.pas +share/doc/gpc/docdemos/wordbooldemo.pas +share/doc/gpc/docdemos/worddemo.pas +share/doc/gpc/docdemos/xordemo.pas +@dirrm ${GPC_SUBPREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/2.95.3/units +@dirrm share/doc/gpc/docdemos +@dirrm share/doc/gpc/demos +@dirrm share/doc/gpc diff --git a/lang/gpc/distinfo b/lang/gpc/distinfo new file mode 100644 index 00000000000..f8e3ef26286 --- /dev/null +++ b/lang/gpc/distinfo @@ -0,0 +1,14 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/02/17 18:47:24 jtb Exp $ + +SHA1 (gpc-2.1.tar.gz) = fd4c1b6ab70483d8e38c78c3052868c9fde81f13 +Size (gpc-2.1.tar.gz) = 2954007 bytes +SHA1 (gcc-2.95.3.tar.gz) = 535d27038d161c0e7c2662702e11a48aa97ef622 +Size (gcc-2.95.3.tar.gz) = 12911721 bytes +SHA1 (gcc-2.95.3-diff-2002-08-29.gz) = 9e54a31e78070cba3f6840275350bd0cbf20fe84 +Size (gcc-2.95.3-diff-2002-08-29.gz) = 564720 bytes +SHA1 (patch-aa) = 6900465e5c35ebd9b1bb8b9c7e66122fdaffc2de +SHA1 (patch-ab) = 1f6daca7e6abe4c29987f1360d2c77e4c344b6d1 +SHA1 (patch-ac) = f42b5ab389c3a51991e61cdb7533875003308001 +SHA1 (patch-ad) = 2fb8cda55220bd202a4b7948277d00f293718caf +SHA1 (patch-ae) = b9721d3e89a93736b926e1efcfb9d0fb4904277f +SHA1 (patch-af) = fa5acb133ff5aa327af33cc89b3ae3e548668dfb diff --git a/lang/gpc/patches/patch-aa b/lang/gpc/patches/patch-aa new file mode 100644 index 00000000000..c91f0cbbb38 --- /dev/null +++ b/lang/gpc/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/02/17 18:47:25 jtb Exp $ + +--- ../gcc-2.95.3/gcc/p/config-lang.in.orig Fri Apr 26 22:15:55 2002 ++++ ../gcc-2.95.3/gcc/p/config-lang.in Fri Jan 17 21:58:29 2003 +@@ -100,9 +100,9 @@ + echo "*** $0 detected GCC version $mainversion." >&2 + echo "*** GPC 2.1 requires a patch to GCC to build with version $mainversion." >&2 + echo "*** This patch will now be applied." >&2 +- echo "*** Press ENTER to continue, Ctrl-C to abort." >&2 ++# echo "*** Press ENTER to continue, Ctrl-C to abort." >&2 + echo "***" >&2 +- read junk ++# read junk + + cur_dir="`pwd`" + cd $srcdir diff --git a/lang/gpc/patches/patch-ab b/lang/gpc/patches/patch-ab new file mode 100644 index 00000000000..08e284ddbf3 --- /dev/null +++ b/lang/gpc/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/02/17 18:47:25 jtb Exp $ + +from revision 1.5 of patch-ae: + +Hand edit the alpha/netbsd.h patch. -current gcc relies on a new linker script +which only differs in setting the entry point. Let this use the default +linker script for alpha but force the entry point so this will work on older +NetBSD installs for alpha. + +--- ../gcc-2.95.3/gcc/config/alpha/netbsd.h.orig Sun Aug 11 19:38:42 2002 ++++ ../gcc-2.95.3/gcc/config/alpha/netbsd.h +@@ -59,7 +59,8 @@ Boston, MA 02111-1307, USA. */ + + #undef LINK_SPEC + #define LINK_SPEC \ +- "-m elf64alpha_nbsd \ ++ "-m elf64alpha \ ++ -e __start \ + %{O*:-O3} %{!O*:-O1} \ + %{assert*} %{R*} \ + %{shared:-shared} \ diff --git a/lang/gpc/patches/patch-ac b/lang/gpc/patches/patch-ac new file mode 100644 index 00000000000..efcc6d7b54f --- /dev/null +++ b/lang/gpc/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/02/17 18:47:25 jtb Exp $ + +--- ../gcc-2.95.3/libiberty/Makefile.in.orig Thu Aug 29 20:05:50 2002 ++++ ../gcc-2.95.3/libiberty/Makefile.in +@@ -57,7 +57,7 @@ CFLAGS = @CFLAGS@ + LIBCFLAGS = $(CFLAGS) + RANLIB = @RANLIB@ + +-PICFLAG = ++PICFLAG = -fPIC -DPIC + + MAKEOVERRIDES = + diff --git a/lang/gpc/patches/patch-ad b/lang/gpc/patches/patch-ad new file mode 100644 index 00000000000..5deb837c749 --- /dev/null +++ b/lang/gpc/patches/patch-ad @@ -0,0 +1,7 @@ +$NetBSD: patch-ad,v 1.1.1.1 2003/02/17 18:47:25 jtb Exp $ + +--- ../gcc-2.95.3/config/mh-sparcpic.orig Thu Feb 5 19:33:03 1998 ++++ ../gcc-2.95.3/config/mh-sparcpic +@@ -1 +1 @@ +-PICFLAG=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` ++PICFLAG=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` diff --git a/lang/gpc/patches/patch-ae b/lang/gpc/patches/patch-ae new file mode 100644 index 00000000000..3c18749336a --- /dev/null +++ b/lang/gpc/patches/patch-ae @@ -0,0 +1,7 @@ +$NetBSD: patch-ae,v 1.1.1.1 2003/02/17 18:47:24 jtb Exp $ + +--- ../gcc-2.95.3/config/mt-sparcpic.orig Thu Feb 5 19:33:04 1998 ++++ ../gcc-2.95.3/config/mt-sparcpic +@@ -1 +1 @@ +-PICFLAG_FOR_TARGET=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` ++PICFLAG_FOR_TARGET=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` diff --git a/lang/gpc/patches/patch-af b/lang/gpc/patches/patch-af new file mode 100644 index 00000000000..c043948887c --- /dev/null +++ b/lang/gpc/patches/patch-af @@ -0,0 +1,37 @@ +$NetBSD: patch-af,v 1.1.1.1 2003/02/17 18:47:25 jtb Exp $ + +--- ../gcc-2.95.3/gcc/p/Make-lang.in.orig Fri Jan 17 21:44:39 2003 ++++ ../gcc-2.95.3/gcc/p/Make-lang.in Fri Jan 17 21:46:16 2003 +@@ -44,9 +44,9 @@ + # - define the names for selecting the language in LANGUAGES. + + GPC_GCC_VERSION_OBJS= +-GPC_GCC_VERSION_OBJS=choose-temp.o pexecute.o # gcc-2.8.1-ONLY ++#GPC_GCC_VERSION_OBJS=choose-temp.o pexecute.o # gcc-2.8.1-ONLY + GPC_GCC_VERSION_MAN1DIR_SUFFIX=man1 +-GPC_GCC_VERSION_MAN1DIR_SUFFIX= # gcc-2.8.1-ONLY ++#GPC_GCC_VERSION_MAN1DIR_SUFFIX= # gcc-2.8.1-ONLY + + RTSSRCDIR=$(srcdir)/p/rts + +@@ -78,8 +78,8 @@ + PASCAL_INSTALL_DOC=pascal.real-install-doc + + # Where to install the documentation and demos (relative to the prefix) +-DOC_DIR=doc/gpc +-docdir=$(prefix)/$(DOC_DIR) ++DOC_DIR=share/doc/gpc ++docdir=$(PREFIX)/$(DOC_DIR) + demodir=$(docdir)/demos + docdemodir=$(docdir)/docdemos + +@@ -677,8 +677,7 @@ + chmod a+x $(bindir)/$(GPC_INSTALL_NAME)$(exeext); \ + fi + rm -f $(bindir)/gpc-run +- $(INSTALL_PROGRAM) $(srcdir)/p/script/gpc-run $(bindir)/gpc-run +- chmod a+x $(bindir)/gpc-run ++ $(BSD_INSTALL_SCRIPT) $(srcdir)/p/script/gpc-run $(bindir)/gpc-run + + pascal.install-lib: pascal.install-dir pascal.rts + if [ -f libgpc.a ]; then \ |