summaryrefslogtreecommitdiff
path: root/lang/gpc/patches/patch-af
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2003-02-17 18:47:15 +0000
committerjtb <jtb@pkgsrc.org>2003-02-17 18:47:15 +0000
commit897399ced061b6bc6cd0fe49e1bd1d8e2e62acf4 (patch)
tree8b650d510081c9a4be24d155597179029d2ffbc7 /lang/gpc/patches/patch-af
parent3b0fd53f5a818d1645d3e7fdd87d456aa4c3d90f (diff)
downloadpkgsrc-897399ced061b6bc6cd0fe49e1bd1d8e2e62acf4.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/gpc/patches/patch-af')
-rw-r--r--lang/gpc/patches/patch-af37
1 files changed, 37 insertions, 0 deletions
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 \