Commit graph

38 commits

Author SHA1 Message Date
Greg Lewis
32c919750f . Fix dependencies after recent JDK ports repo copy.
PR:		39231

. Don't use -p with ${MKDIR}, its the default.
. Define (if necessary) and use ${SORT}, ${CPIO} and ${FIND} rather than
  hardwiring them as /usr/bin/sort, etc.

Apologies to sobomax for not asking for a review, I thought it important
to unbreak the port as quickly as possible.

Submitted by:	alane (dependencies), znerd
2002-06-13 16:01:25 +00:00
Greg Lewis
991bc4e41a . Fix compilation on FreeBSD 4.2 by including <sys/param.h>
PR:	36871

. Fix compilation on -CURRENT using gcc 3.1 by including <string.h>
  (for strlen(3))

Reported and tested by:	 John Angelmo <john@veidit.net>

Reviewed by:	sobomax
Approved by:	sobomax
2002-06-11 19:03:47 +00:00
Kris Kennaway
9f5a2bc787 Rename monstrously long patch filenames that were causing tar to exceed
length limitations (100 characters) and fail.
2002-06-05 21:43:14 +00:00
David E. O'Brien
ba0c879959 Use correct Open Motif. 2002-05-28 01:47:45 +00:00
Greg Lewis
35dbc5bb82 Add a NATIVE_BOOTSTRAP knob which allows people to bootstrap with
an already installed native JDK rather than insisting on the
hardcoded Sun Linux JDK as the bootstrapper.  This also means
that one can remove the Sun Linux JDK after the initial build
if so desired.

This may be superseded by a more general method of specifying
the bootstrap compiler from bsd.java.mk at a later date.

Reviewed by:	sobomax
Approved by:	sobomax
2002-05-03 05:36:11 +00:00
Greg Lewis
b2841c8077 Really fix the incompatibilities with gettext 0.11. The previous
bandaid is reverted by this commit and instead patches are added
which will remove duplicate message entries from the .po files for
the plugin.

These are essentially the patches of marius@alchemy.franken.de, with
the first part of each patch removed (the message does actually have
two spaces in the code!).  These patches were verified with the script
submitted by KANOU Hiroki-san and against the patches submitted by
SUGIMURA Takashi-san.  Thanks to all of these people.

Apologies for the increasingly long patch names.

PR:		37087, 37147
Submitted by:	marius@alchemy.franken.de
Reviewed by:	sobomax
Approved by:	sobomax
2002-05-03 05:32:23 +00:00
Maxim Sobolev
b7f44fd50d Correct pkg-plist. 2002-04-23 10:10:07 +00:00
Greg Lewis
4a6fa7fd6f Fix the build of libaudio.so on 5-CURRENT by using <sys/soundcard.h>
rather than <machine/soundcard.h>.  This doesn't affect the build
on 4-STABLE.

PR:		36988
Submitted by:	Motoyuki Konno <motoyuki@bsdclub.org>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 19:34:24 +00:00
Greg Lewis
8716a1907f Add a temporary dependency on gettext-old and use msgfmt-old to process
messages for the browser plugin.

This is a bandaid for the problem expressed in the PR while I evaluate
a number of other proposed patches for the correct fix.  Hence the PR
currently remains open.

PR:	37087
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 18:24:44 +00:00
Greg Lewis
d32f0358ba Bump PORTREVISION due to the last two changes to the port.
Approved by:	sobomax
2002-04-16 06:08:42 +00:00
Greg Lewis
3b5594fd6b Fix some crash bugs in the browser plugin code by using
the correct functions to call static Java methods.

Submitted by:	Richard Tobin <richard@cogsci.ed.ac.uk>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 06:07:05 +00:00
Greg Lewis
d33b274b3b Add Taiwan Chinese font properties support (if I understand
the locale correctly).

Submitted by:	Zhenbang Wei <forth@zbwei.net> (via clive)
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-16 06:04:20 +00:00
Greg Lewis
7b1fcb8aaa Start my bid for world domination by taking maintainership
of the jdk13 port.

Reviewed by:	sobomax
Approved by:	sobomax
2002-04-15 19:26:24 +00:00
Greg Lewis
51a22b820e A better fix for creating src.jar. Using tar by itself fails because the
argument list is too long.  Hence the first patch invoked tar once for
each file.  This works, but is inefficient.  This version of the patch
uses cpio in pass through mode to copy all the files at once.

PR:		35658
Submitted by:	"Remco van 't Veer" <rwvtveer@xs4all.nl>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-12 05:00:52 +00:00
Greg Lewis
47b0e09d4c Fix user and group ownership of the installed files when they have been
built by someone other than root.  Instead of moving the files with tar,
move them with cpio and set up ownership.

Note that I have not closed the PR as there are 12 other ports named in
the PR with this problem.

PR:		36411
Submitted by:	Alan Eldridge <ports@geeksrus.net>
Reviewed by:	sobomax
Approved by:	sobomax
2002-04-12 04:34:41 +00:00
Ernst de Haan
d0febafa4a Now creating an 'ext' directory as a subdirectory of
the application home directory.

Prompted by:	Marc Recht <recht@contentmedia.de>
2002-04-06 20:41:28 +00:00
Maxim Sobolev
3194d49997 Correct when WITHOUT_PLUGIN is defined.
PR:		35899
Submitted by:	Lev Serebryakov <lev@serebryakov.spb.ru>
2002-03-15 07:33:50 +00:00
Maxim Sobolev
0b5fbf9067 Link Mozilla pligin with libXt to make it working with Mozilla-0.9.9. This
resolves the following error when starting Mozilla:

  LoadPlugin: failed to initialize shared library
  /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
  [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so: Undefined
  symbol "XtShellStrings"]

While I'm here add a tweak to prune empty directories before installing
JDK, so that JDK installed from a pre-built package deinstalls properly.

Bump PORTREVISION.
2002-03-13 15:06:16 +00:00
Ernst de Haan
0973110a22 Bumped PORTREVISION. Added a patch earlier today, and the
port should be rebuilt for the patch to be applied. Now
portupgrade should work as expected.

PR:	ports/35658
2002-03-11 17:21:05 +00:00
Ernst de Haan
efdbdc5974 Fixes the problem that the source JAR is too small.
Submitted by:	Greg Lewis
PR:		ports/35658
2002-03-11 10:36:27 +00:00
Maxim Sobolev
48c306fca5 Add urwfonts into RUN_DEPENDS to prevent lot of "missed font" warnings when
starting any Swing app.

PR:             31364
Submitted by:   Jonathan Chen <jonathan.chen@itouch.co.nz>
2002-03-06 10:26:47 +00:00
Chad David
a7453519d9 Corrected the gtk version number at the request of Greg Lewis.
Submitted by:	Greg Lewis
2002-02-20 08:12:38 +00:00
Maxim Sobolev
c16dc69552 Use correct LIB_DEPENDS.
PR:		35120
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2002-02-19 18:19:30 +00:00
Maxim Sobolev
add3826d6d Correct pkg-plist in the default and NODEBUG cases. 2002-02-18 18:15:30 +00:00
Patrick S. Gardella
a447aed7c4 Fix ampersand entities...
Submitted by: Remco van't Veer
2002-02-14 16:01:23 +00:00
Patrick S. Gardella
5a1fcc3c48 Update to patch set 6
PR: 34923
Submitted by: Greg Lewis
2002-02-14 12:52:08 +00:00
Maxim Sobolev
44d7b3ac43 Use java@FreeBSD.org as a MAINTAINER, so question will go into appropriate
place.
2001-12-14 08:26:44 +00:00
Maxim Sobolev
a5d43336b4 Update to patchlevel 5.
PR:		31257
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-10-16 12:43:07 +00:00
Maxim Sobolev
de662bfa42 Fix a potential crash on 5-CURRENT.
Submitted by:	Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
2001-09-12 11:18:39 +00:00
Maxim Sobolev
c42447ab5b Update to patchlevel 4. This release contains many critical bug fixes, so
please make sure that you have upgraded before reporting a bug or problem.

PR:		30481
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-09-10 11:43:08 +00:00
Maxim Sobolev
630b953d37 Add native port of Sun's Java Devepment Kit, v.1.3.1 (repo-copied from
jdk12-beta).

PR:		29949
Submitted by:	Greg Lewis <glewis@eyesbeyond.com>
2001-08-27 18:58:46 +00:00
Maxim Sobolev
f9d3d952da Update link to the place where distfile can be downloaded.
PR:		27058
Submitted by:	Ernst de Haan <ernst@heinz.jollem.com>
2001-05-03 14:25:51 +00:00
Mario Sergio Fujikawa Ferreira
2f5bb732d3 fix typo:
- the previous replacement of \s+# -> \t\t# triggered
error "Unassociated shell command #"

Submitted by:	Dan Langille <dan@langille.org>
2001-02-14 21:12:54 +00:00
Mario Sergio Fujikawa Ferreira
d124027c46 typo clean up police: \s -> \t 2001-02-14 20:19:44 +00:00
Maxim Sobolev
ee070a89d6 Forcefully set JAVA_COMPILER and CLASSPATH to "" to prevent build from failing.
Reported by:	Max Khon <fjoe@plesk.com>, Ilya Krel <ilya@krel.org>
2000-11-03 16:06:41 +00:00
Maxim Sobolev
4f81079d73 Correct patch, so it will apply cleanly.
Submitted by:	Ed Sweeney <edwardsweeney@yahoo.com>
2000-10-16 07:50:21 +00:00
Maxim Sobolev
14f1f7fdbd This port is i386 only for the moment. We need some assembler code written
to make the Alpha work.

Submitted by:	Greg Lewis <glewis@trc.adelaide.edu.au>
2000-10-14 11:58:04 +00:00
Maxim Sobolev
a09d414989 Add jdk12-beta - a "glue" to build a native JDK1.2.2 using source code from
Sun and patchset from FreeBSD Java Project.
2000-10-13 12:41:25 +00:00