From 813aca8a214b474030256ee58980b5cefb15fc8e Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Fri, 15 Mar 2002 20:30:34 +0000 Subject: new version --- dev-util/pccts/files/digest-pccts-1.33.31 | 1 - dev-util/pccts/files/digest-pccts-1.33.32 | 1 + dev-util/pccts/files/pccts-1.33.31-gentoo.diff | 49 -------------------------- dev-util/pccts/files/pccts-1.33.32-gentoo.diff | 49 ++++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 dev-util/pccts/files/digest-pccts-1.33.31 create mode 100644 dev-util/pccts/files/digest-pccts-1.33.32 delete mode 100644 dev-util/pccts/files/pccts-1.33.31-gentoo.diff create mode 100644 dev-util/pccts/files/pccts-1.33.32-gentoo.diff (limited to 'dev-util/pccts/files') diff --git a/dev-util/pccts/files/digest-pccts-1.33.31 b/dev-util/pccts/files/digest-pccts-1.33.31 deleted file mode 100644 index 9cdc72dc545b..000000000000 --- a/dev-util/pccts/files/digest-pccts-1.33.31 +++ /dev/null @@ -1 +0,0 @@ -MD5 dc8970df7018629aed93b89fe5743d33 pccts133mr31.zip 738037 diff --git a/dev-util/pccts/files/digest-pccts-1.33.32 b/dev-util/pccts/files/digest-pccts-1.33.32 new file mode 100644 index 000000000000..6c3418c9e523 --- /dev/null +++ b/dev-util/pccts/files/digest-pccts-1.33.32 @@ -0,0 +1 @@ +MD5 b918b8ae18613b85844af8df5f02feb3 pccts133mr32.zip 738458 diff --git a/dev-util/pccts/files/pccts-1.33.31-gentoo.diff b/dev-util/pccts/files/pccts-1.33.31-gentoo.diff deleted file mode 100644 index 6e09ef6aafa2..000000000000 --- a/dev-util/pccts/files/pccts-1.33.31-gentoo.diff +++ /dev/null @@ -1,49 +0,0 @@ ---- pccts/support/genmk/genmk.c Fri Aug 3 17:12:51 2001 -+++ pccts/support/genmk/genmk-gentoo.c Fri Aug 3 17:12:14 2001 -@@ -7,6 +7,11 @@ - * U of MN - */ - -+/* modified 20010803 by Peter Kadau -+ * for better fhs-compliance -+ * i.e. from "none" to "hmmm soso" ;-) -+ */ -+ - #include - #include - #include "pcctscfg.h" /* be sensitive to what ANTLR/DLG call the files */ -@@ -65,7 +70,7 @@ - static int nondef_comp = 0; /* 1=compiler is non default */ - static char *compilerCCC="CC"; - static char *compilerCC="cc"; --static char *pccts_path="/usr/local/pccts"; -+static char *pccts_path="/usr/include/pccts"; - - #ifdef __STDC__ - void help(void); -@@ -356,7 +361,7 @@ - { "-cfiles",1,pCFiles, "Additional files in C or C++ to compile"}, - { "-sor",0,pSor, "Start of sorcerer group"}, - { "-pccts_path",1,ppccts_path, -- "Path for $PCCTS directory (default is /usr/local/pccts)"}, -+ "Path for $PCCTS directory (default is /usr/include/pccts)"}, - { "-compiler",1,pCompiler, - "Default compiler (default is CC/cc)"}, - { "*", 0,pFile, "" }, /* anything else is a file */ -@@ -495,13 +500,13 @@ - else printf("SCAN = %s%s\n", DIR(), dlg_class); - - printf("PCCTS = %s\n",pccts_path); -- printf("ANTLR_H = $(PCCTS)%sh\n", DirectorySymbol); -+ printf("ANTLR_H = $(PCCTS)\n"); - if (num_sors>0) { -- printf("SOR_H = $(PCCTS)%ssorcerer%sh\n", DirectorySymbol, DirectorySymbol); -+ printf("SOR_H = $(PCCTS)%ssorcerer\n", DirectorySymbol); - printf("SOR_LIB = $(PCCTS)%ssorcerer%slib\n", - DirectorySymbol, DirectorySymbol); - } -- printf("BIN = $(PCCTS)%sbin\n", DirectorySymbol); -+ printf("BIN = %susr%sbin\n", DirectorySymbol, DirectorySymbol); - printf("ANTLR = $(BIN)%santlr\n", DirectorySymbol); - printf("DLG = $(BIN)%sdlg\n", DirectorySymbol); - if (num_sors>0) printf("SOR = $(BIN)%ssor\n", DirectorySymbol); diff --git a/dev-util/pccts/files/pccts-1.33.32-gentoo.diff b/dev-util/pccts/files/pccts-1.33.32-gentoo.diff new file mode 100644 index 000000000000..6e09ef6aafa2 --- /dev/null +++ b/dev-util/pccts/files/pccts-1.33.32-gentoo.diff @@ -0,0 +1,49 @@ +--- pccts/support/genmk/genmk.c Fri Aug 3 17:12:51 2001 ++++ pccts/support/genmk/genmk-gentoo.c Fri Aug 3 17:12:14 2001 +@@ -7,6 +7,11 @@ + * U of MN + */ + ++/* modified 20010803 by Peter Kadau ++ * for better fhs-compliance ++ * i.e. from "none" to "hmmm soso" ;-) ++ */ ++ + #include + #include + #include "pcctscfg.h" /* be sensitive to what ANTLR/DLG call the files */ +@@ -65,7 +70,7 @@ + static int nondef_comp = 0; /* 1=compiler is non default */ + static char *compilerCCC="CC"; + static char *compilerCC="cc"; +-static char *pccts_path="/usr/local/pccts"; ++static char *pccts_path="/usr/include/pccts"; + + #ifdef __STDC__ + void help(void); +@@ -356,7 +361,7 @@ + { "-cfiles",1,pCFiles, "Additional files in C or C++ to compile"}, + { "-sor",0,pSor, "Start of sorcerer group"}, + { "-pccts_path",1,ppccts_path, +- "Path for $PCCTS directory (default is /usr/local/pccts)"}, ++ "Path for $PCCTS directory (default is /usr/include/pccts)"}, + { "-compiler",1,pCompiler, + "Default compiler (default is CC/cc)"}, + { "*", 0,pFile, "" }, /* anything else is a file */ +@@ -495,13 +500,13 @@ + else printf("SCAN = %s%s\n", DIR(), dlg_class); + + printf("PCCTS = %s\n",pccts_path); +- printf("ANTLR_H = $(PCCTS)%sh\n", DirectorySymbol); ++ printf("ANTLR_H = $(PCCTS)\n"); + if (num_sors>0) { +- printf("SOR_H = $(PCCTS)%ssorcerer%sh\n", DirectorySymbol, DirectorySymbol); ++ printf("SOR_H = $(PCCTS)%ssorcerer\n", DirectorySymbol); + printf("SOR_LIB = $(PCCTS)%ssorcerer%slib\n", + DirectorySymbol, DirectorySymbol); + } +- printf("BIN = $(PCCTS)%sbin\n", DirectorySymbol); ++ printf("BIN = %susr%sbin\n", DirectorySymbol, DirectorySymbol); + printf("ANTLR = $(BIN)%santlr\n", DirectorySymbol); + printf("DLG = $(BIN)%sdlg\n", DirectorySymbol); + if (num_sors>0) printf("SOR = $(BIN)%ssor\n", DirectorySymbol); -- cgit v1.2.3-65-gdbad