diff options
author | steve <steve@FreeBSD.org> | 1999-02-22 04:02:48 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-02-22 04:02:48 +0000 |
commit | 2e4ed8328f725d40a3ab4532adb104c4aabfff5a (patch) | |
tree | f3428bdafc3313b801228cf32fe341a0d17baa7a /lang/ptoc/files | |
parent | b00007e1e90c13bff79e82d09c709f584ea01b1c (diff) | |
download | FreeBSD-ports-2e4ed8328f725d40a3ab4532adb104c4aabfff5a.zip FreeBSD-ports-2e4ed8328f725d40a3ab4532adb104c4aabfff5a.tar.gz |
Update to version 3.41.
PR: 10074
Submitted by: maintainer
Diffstat (limited to 'lang/ptoc/files')
-rw-r--r-- | lang/ptoc/files/patch-aa | 24 | ||||
-rw-r--r-- | lang/ptoc/files/patch-ab | 14 | ||||
-rw-r--r-- | lang/ptoc/files/patch-ac | 95 |
3 files changed, 10 insertions, 123 deletions
diff --git a/lang/ptoc/files/patch-aa b/lang/ptoc/files/patch-aa index 0ff9b12..3ba3c2e 100644 --- a/lang/ptoc/files/patch-aa +++ b/lang/ptoc/files/patch-aa @@ -1,15 +1,11 @@ ---- main.cxx Wed Jun 3 13:18:44 1998 -+++ /home/andy/tmp/wrk/main.cxx Wed Oct 28 22:12:00 1998 -@@ -309,7 +309,12 @@ - - compile_system_library = TRUE; +--- main.cxx Fri Nov 6 11:19:54 1998 ++++ /home/andy/tmp/wrk/main.cxx Sun Feb 14 15:11:06 1999 +@@ -319,7 +319,7 @@ + #ifdef PREFIX + token::input(turbo_pascal + ? PREFIX "/share/ptoc/tptoc.pas" +- : PREFIX "/share/ptoc/ptoc.pas")); ++ : PREFIX "/share/ptoc/ptoc.pas"); + #else token::input(dprintf("%s%s", prog_path, -+#ifdef PREFIX -+ turbo_pascal ? PREFIX "/share/ptoc/tptoc.pas" : -+ PREFIX "/share/ptoc/ptoc.pas")); -+#else - turbo_pascal ? "tptoc.pas" : "ptoc.pas")); -+#endif - zzparse(); - - compile_system_library = FALSE; + turbo_pascal ? "tptoc.pas" : "ptoc.pas")); diff --git a/lang/ptoc/files/patch-ab b/lang/ptoc/files/patch-ab deleted file mode 100644 index ed1e56d..0000000 --- a/lang/ptoc/files/patch-ab +++ /dev/null @@ -1,14 +0,0 @@ ---- main.h Wed Jun 3 13:20:28 1998 -+++ /home/andy/tmp/wrk/main.h Wed Oct 28 22:12:08 1998 -@@ -37,7 +37,11 @@ - - #define CALL_GRAPH_FILE "call.grp" - #define RECURSIVE_PROC_FILE "recur.prc" -+#ifdef PREFIX -+#define CONFIG_FILE PREFIX "/etc/ptoc.cfg" -+#else - #define CONFIG_FILE "ptoc.cfg" -+#endif - - extern bool use_call_graph; - extern bool pio_init; diff --git a/lang/ptoc/files/patch-ac b/lang/ptoc/files/patch-ac deleted file mode 100644 index 7c9fd4c..0000000 --- a/lang/ptoc/files/patch-ac +++ /dev/null @@ -1,95 +0,0 @@ ---- makefile Wed Apr 15 09:28:48 1998 -+++ /home/andy/tmp/wrk/makefile Mon Nov 2 14:49:09 1998 -@@ -8,29 +8,54 @@ - default : all - - # --# Install path -+# C/C++ compiler - # --INSTALL_LIB_DIR = /usr/lib --INSTALL_BIN_DIR = /usr/bin -+CC?= gcc -+CXX?= g++ - - # --# Target. -+# C/C++ flags - # -+CFLAGS?= -O5 -g -Wall -c -+CXXFLAGS?= -O5 -g -Wall -c -+#CFLAGS= -fno-exceptions -O5 -g -Wall -c -+#CXXFLAGS= -fno-exceptions -O5 -g -Wall -c - --BINS = ptoc cganal --LIBS = libptoc.a libXbgi.a -+# -+# X Window System directory -+# -+X11BASE?= /usr/X11R6 -+ -+# -+# Local packages directory -+# -+LOCALBASE?= /usr/local -+ -+# -+# Installation directory -+# -+PREFIX?= $(LOCALBASE) -+ -+# -+# Config file -+# -+CONFIG_FILE?= $(LOCALBASE)/etc/ptoc.conf - - # --# Chose compiler You prefer. -+# Install path - # -+INSTALL_LIB_DIR = $(PREFIX)/lib -+INSTALL_BIN_DIR = $(PREFIX)/bin - --#CC = cxx --CC = gcc --CCFLAGS = -O5 -g -Wall -c --#CCFLAGS = -fno-exceptions -O5 -g -Wall -c -+# -+# Target. -+# -+ -+BINS = ptoc cganal -+LIBS = libptoc.a libXbgi.a - --DEFINES = --INCLUDES = -I. -+DEFINES = -DPREFIX=\"$(PREFIX)\" -+INCLUDES = -I. -I$(X11BASE)/include - - YACC = bison -d -p zz - LEX = flex -i -F -8 -@@ -39,9 +64,9 @@ - # Chose linker You prefer. - # - --LD = $(CC) -+LD = $(CXX) - #LDFLAGS = -non_shared --LDFLAGS = -static -+#LDFLAGS = -static - - - AR = ar -@@ -66,10 +91,10 @@ - # - - .cxx.o : -- $(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< -+ $(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< - - .c.o : -- $(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) -o $@ $< -+ $(CC) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< - - # - # Custom targets. |