Commit graph

42 commits

Author SHA1 Message Date
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
323b7c2365 Update HOMEPAGE and MASTER_SITES. Closes PR 29769 by Antoine Reilles. 2005-03-23 11:01:56 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
jmmv
da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00
jlam
43ac8c39e1 Replace USE_GCC_SHLIB with "USE_LANGUAGE=c c++" (the latter implies the
former) for applications that are known to require C++.
2004-11-13 22:04:52 +00:00
tv
cd98512f29 Enable incomplete "-source 1.5" support as described in NEWS. This doesn't
break default or "-source 1.3/1.4" compiles already supported; it just adds
additional parser code for some new language constructs in 1.5.
2004-10-06 04:33:31 +00:00
tv
e4962bfb4d Update to 1.22, makes compatible with rt.jar from JDK 1.5. NEWS file:
=====
*** Jikes 1.22 was released 3 October 2004

This release supports compilation using the rt.jar shipped with
the released version of Java 5.0, but otherwise has no more
support for new language features than 1.21 did.

These specification problems are fixed:

    3986  jikes compiles faulty source without error or warning
    4042  constructor of strictfp class not strictfp
    4046  no warning when overriding a deprecated method

These crashes on valid or invalid source are fixed:

    3934  Assertion failed: ! array tuple.h line 429
    3972  "Assertion failed" on incorrect String operations
    3974  Assertion failed: type == control.String()
    3989  Assertion `! array' failed with String.class literal

These problems with diagnostics are fixed:

    3424  Confusing error message for type not found error
    3947  static method local shouldn't shadow instance field

These other problems are fixed:

     495  classpath problems introduced by 1.14
    4018  errno undefined (freebsd-4.8
2004-10-06 02:40:55 +00:00
xtraeme
16a34664d8 Update lang/jikes to 1.21.
Changes:

A regression in 1.20 that caused us to complain about supposedly
invalid .class files has been rectified. Some minor error message
improvements have been made.
2004-05-28 22:31:50 +00:00
tv
ef489b46a2 Make compile on machines that lack <iconv.h> -- without that, jikes forgets
to include <cerrno>, which is needed for the declaration of "errno".
2004-04-30 16:54:44 +00:00
recht
0a5b3659a3 update to 1.20
*** Jikes 1.20 was released 18 April 2004

Many new diagnostics have been added. These include detection of
overflow in integer constant expressions, serialization-related
checks made by Java 1.5's javac, detection of locals shadowing
fields (often caused by an unfinished refactoring that promotes a
local to a field) and fields in subclasses that hide fields in
superclasses. New command-line options generalize the old -nowarn/+Z
to also allow all warnings to be considered errors (with +Z2). The
default on vs. off state of several warnings added in 1.19 have been
changed, by popular demand.

[...]

*** Jikes 1.19 was released 1 February 2004.

The default -source and -target options are now 1.4 (that is, the
assert statement now compiles by default); for the old behavior you
must specify -source 1.3 or -target 1.3 at the command line.

Command line options have been improved.
* Some pedantic warnings are controlled by name, so that you can
select which warnings you get (for example, not everyone wants to know
that 1L is preferred over 1l when writing a long literal).
* More switches have long names.
* Default state of switches now printed with --help.
* New switch -Xswitchcheck: Warn about fallthrough in switch
statements (compatible with javac).
* New switch +Pnaming-convention: Warn about naming choices that
violate Java's naming conventions. This switch is currently ON by
default, +Pno-naming-convention will disable it for sites that use
a different naming convention.
* New switch --noassert: Omits assertions from .class files (not
recommended for normal development, but provided to allow you to do
-source 1.4 -target 1.3).
* Now supports -target 1.4.2 (compatible with javac, no changes from
-target 1.4 in emitted code).

[...]

And many fixes/changes more. See the NEWS file for a complete list.
2004-04-27 23:23:03 +00:00
tv
e3bb73b53f Revert to 1.18. I've been told that 1.20 will be out in two days and fixes
a couple critical bugs.
2004-04-16 17:49:59 +00:00
tv
49ee9875d3 Update to 1.19. Change summary:
*** Jikes 1.19 was released 1 February 2004.

The default -source and -target options are now 1.4 (that is, the
assert statement now compiles by default); for the old behavior you
must specify -source 1.3 or -target 1.3 at the command line.

Command line options have been improved.
* Some pedantic warnings are controlled by name, so that you can
select which warnings you get (for example, not everyone wants to know
that 1L is preferred over 1l when writing a long literal).
* More switches have long names.
* Default state of switches now printed with --help.
* New switch -Xswitchcheck: Warn about fallthrough in switch
statements (compatible with javac).
* New switch +Pnaming-convention: Warn about naming choices that
violate Java's naming conventions. This switch is currently ON by
default, +Pno-naming-convention will disable it for sites that use
a different naming convention.
* New switch --noassert: Omits assertions from .class files (not
recommended for normal development, but provided to allow you to do
-source 1.4 -target 1.3).
* Now supports -target 1.4.2 (compatible with javac, no changes from
-target 1.4 in emitted code).

[Much more detailed changes follow; see NEWS file for additional changes.]
2004-04-16 14:58:35 +00:00
xtraeme
05a22f230f bl3ify and remove ONLY_FOR_PLATFORM, because it works on *BSD, Linux and
SunOS. Dunno about IRIX, this closes PR pkg/24519.
2004-02-23 01:09:14 +00:00
abs
b37ee96c50 + USE_LANGUAGES=c c++ 2004-02-04 22:23:46 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
xtraeme
dbfd687e0b Added FreeBSD to ONLY_FOR_PLATFORM, this works perfectly... 2004-01-13 23:02:28 +00:00
jschauma
cc0621ca9f Put these packages into a new pseudo-category called 'java'. 2003-08-23 15:13:56 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
grant
712c21283a s/USE_CXX/USE_GCC_SHLIB/ - there are more shared libraries than just
libstdc++ in gcc3.

when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.

packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
2003-05-29 23:14:07 +00:00
jschauma
42580c645e jikes works under Linux as well. 2003-05-23 01:50:30 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
e8f192b175 Add RCS tag 2003-04-21 20:26:35 +00:00
skrll
b348d6439e Update jikes to 1.18. This closes PR 19979 from Marc Recht.
Major user noticable items this release include:
	- Compilation that encounters syntax errors is more robust.
	- An assertion failure involving placeholder_type was solved.
	- Many other minor bugs have been fixed; including a number of
	  segfaults and regressions present in 1.17.

Items of interest to developers and open source hackers include:
	- Completely revamped error reporting system from Elliott Hughes
	  which simplifies the task of adding a new error message.

Also note that in 1.18 we have removed the copy of the GPL that was
improperly packaged with versions 1.15 through 1.7 due to a mis-
configuration of automake in the Jikes source tree. While the GPL license
was erroniously included with the sources for those three version, no
source file referenced it, and all source files, help texts and user
messages continued to reference the proper IBM license, which was also
bundled.
2003-01-21 11:18:23 +00:00
skrll
92a43aa3ae Remove unnecessary CXXFLAGS+= 2002-10-30 07:22:09 +00:00
skrll
2a53a2abfc Update jikes to 1.17
Jikes version 1.16 represents 9 months of development, 4 megs of patches
(when consolidated into one unified diff) covering well over 100,000 lines
of changes. Some of the focus of the releaes include:

* spec support:
- support for JSR 41 (java asserts available in JSDK 1.4!)
- tighter JLS/JVMS obedience, including focus on:
. Inner classes
. Definite (un)assignment

* adjusted options:
- more gnu-like options available such as --help.
- --source and --target options to control how jikes
interprets source and emits classes.
- more javac compatibility flags added, such as -J

* 9 months of miscenalious bug fixes:
- over 350 jacks test cases fixed
- ZERO jacks test cases regressed

This release is dedicated to geeks and the people who love them.

Jikes version 1.17 contains a number of bug fixes from Jikes 1.16
2002-10-30 06:46:06 +00:00
jlam
e15c22d4cc Use gcc/buildlink2.mk instead of Makefile.gcc 2002-09-29 07:36:49 +00:00
cjep
186abe5d4f Add NetBSD tag. 2002-05-20 18:14:19 +00:00
dmcmahill
bdaa29be3b depend on lang/gcc package on systems without the new toolchain. Avoids
internal c++ compiler errors.  Also unlimit datasize.  This fixes long standing
build problems on alpha.
2002-03-31 17:55:21 +00:00
jlam
3b0ed9803c Strongly buildlinkify to prevent inadvertently depending on an installed
libiconv or libicu.
2002-02-24 22:07:00 +00:00
mjl
4d4dcca909 Update jikes to 1.15
The primary objective of this release was bug fixes, not new features.
Highlights of the release follow, see the ChangeLog for more detail and
the code for even finer detail.

Build
  - --enable-debug now works and provides correct CXXFLAGS
  - firend class issues brought into compliance with lang spec
  - VC++ enablement of __int64 for long long
  - tolerate non-ISO conformant encoding names when searching
  - correct namespace generation in java.g (so the parser won't
     regress every time we update the grammer again)
  - include jikesapi.h in the distribution (Note that this is
     at best a very early alpha preview)
  - prevent bad code generation by VC++ in IEEEfloat
  - finished removal of dead EBCDIC code - to be replaced by
     use of JikesAPI class latter

Parser
  - remove some parenthesized expressions not allowed by JLS
  - synchronized(null){} isn't valid, don't allow it
  - prevent core dump when local class method omits return type
  - inner classes and static members error handling cleanup
  - fix assertion `this_type -> HeaderProcessed()' failures
  - don't allow invalid combinations of abstract, native and strictfp
  - don't allow qualified explicit this constructor
  - make sure string constants are compiled inline
  - fix assertion from NULL in SemanticError::Report
  - be more compliant with JLS 14.4.2 and scope of duplication of token
  - fix regression in 1.14 when ?: mixed primitive and reference types

Emitter
  - reverse the logic of large branches to use goto_w and jsr_w
     for branch offsets requiring more than two bytes
  - never set ACC_STATIC bit on local classes
  - make sure private methods and anonymous classes are always
     final, and anonymous classes are never static.
  - second round of JPDA pampering; believed to make it happy now
  - prevent LocalVariableTable_attribute::AddLocalVariable assertion
  - fix VerifyErrors caused by reuse of local vars in try/catch and
     synchronized blocks

User Interface
  - correct classpath handling issues on cygwin
  - treat @files as one argument per line, regardless of whitespace
2002-02-12 19:56:51 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
agc
f608dc572a Upgrade to version 1.14 of jikes.
The new version is a bug fix release.

Addresses PR 12946 from Hauke Fath <hf@tangro.de>
2001-05-16 10:05:35 +00:00
agc
5c6d9ebbfd + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:11:05 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
jlam
432b549e10 Move HTML documentation to under share/doc/html. 2000-12-19 09:24:17 +00:00
tv
74aaff975b 1.06 is very old and doesn't compile on NetBSD. Update to 1.12, which uses
autoconf for its build.
2000-10-16 20:38:20 +00:00
wiz
edb7e62207 whitespace cleanup 2000-01-09 01:20:33 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
e6d52ea3fb Only enable this package on Solaris, for the moment. 1999-10-22 15:13:02 +00:00
agc
9f5ff298a9 Initial import of jikes, a java 2 compiler, into the NetBSD packages
collection.
1999-10-19 09:52:38 +00:00