diff options
author | znerd <znerd@FreeBSD.org> | 2003-03-04 05:36:44 +0800 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2003-03-04 05:36:44 +0800 |
commit | 69eb318e59e8308d699106d4c76d9027aa36fbf0 (patch) | |
tree | f6b1d15c893f0002a9aa0ca94424c800e717a531 /java/jlint/files | |
parent | 21a3c63056f7b42955d65c60de6258c8dc25a2f2 (diff) | |
download | freebsd-ports-gnome-69eb318e59e8308d699106d4c76d9027aa36fbf0.tar.gz freebsd-ports-gnome-69eb318e59e8308d699106d4c76d9027aa36fbf0.tar.zst freebsd-ports-gnome-69eb318e59e8308d699106d4c76d9027aa36fbf0.zip |
Fixes:
- unbreak with new gcc on -current ('using namespace std')
- CFLAGS/env police
- condense port's Makefile
- install additional shell script
- install documentation (honour NOPORTDOCS)
PR: 48464
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Tested on: -STABLE, -CURRENT
Diffstat (limited to 'java/jlint/files')
-rw-r--r-- | java/jlint/files/patch-Makefile | 22 | ||||
-rw-r--r-- | java/jlint/files/patch-field_desc.hh | 13 |
2 files changed, 35 insertions, 0 deletions
diff --git a/java/jlint/files/patch-Makefile b/java/jlint/files/patch-Makefile new file mode 100644 index 000000000000..9cae9f698201 --- /dev/null +++ b/java/jlint/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig Wed Feb 19 17:20:06 2003 ++++ Makefile Wed Feb 19 17:21:13 2003 +@@ -3,8 +3,8 @@ + # Makefile for Unix and GNU/Linux with gcc/g++ compiler + # Edit here: + +-CC=gcc +-CPP=g++ ++CC?=gcc ++CPP=$(CXX) + + # Hints: + # if you use egcs-2.90.* version of GCC please add option -fno-exceptions +@@ -18,7 +18,7 @@ + + # Optimized version + +-CFLAGS = -c -Wall -O2 -g -DSLIST ++CFLAGS += -c + # add -DHASH_TABLE for extra speed (may sometimes produce inconsistent results) + + # Optimized version with switched off asserts diff --git a/java/jlint/files/patch-field_desc.hh b/java/jlint/files/patch-field_desc.hh new file mode 100644 index 000000000000..0781d51567c5 --- /dev/null +++ b/java/jlint/files/patch-field_desc.hh @@ -0,0 +1,13 @@ +--- field_desc.hh.orig Wed Feb 19 17:20:15 2003 ++++ field_desc.hh Wed Feb 19 17:22:10 2003 +@@ -1,10 +1,7 @@ + #ifndef FIELD_DESC_HH + #define FIELD_DESC_HH + +-#ifdef VISUAL_CPP + using namespace std; +-#pragma warning (disable : 4786) +-#endif + + #include "component_desc.hh" + #include "utf_string.hh" |