Commit graph

71 commits

Author SHA1 Message Date
Trevor Johnson
439b8a040c Use the CPIO macro defined in bsd.port.mk. 2004-01-22 12:18:43 +00:00
Trevor Johnson
fbd1108f49 Use the SORT macro from bsd.port.mk. 2004-01-22 11:06:02 +00:00
Greg Lewis
a0c1e8baae . Add ${LOCALBASE}/lib to the default search path for JNI libraries for
HotSpot as well.
2004-01-20 19:53:55 +00:00
Greg Lewis
21c8a9307f . Add ${LOCALBASE}/lib to the default search path for libraries when using
JNI.

XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also
     be added?  /lib is part of the default search path on Linux.

Requested by:	marcus
2004-01-19 19:28:40 +00:00
Greg Lewis
d278524c30 . Convert spaces to tabs. 2004-01-19 19:22:31 +00:00
Greg Lewis
ecf10fa88a . Install the cacerts file from Sun's 1.3.1_10 release to avoid some
problems associated with expired root certificates described in:

  http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436
2004-01-14 19:44:47 +00:00
Greg Lewis
42137ff178 . Update to 1.3.1 patchset 9. 2003-12-19 19:00:06 +00:00
Greg Lewis
a4ecff6df9 . Fix the plugin build when LOCALBASE is not /usr/local.
PR:		58618
Submitted by:	harti
2003-10-28 18:15:01 +00:00
Greg Lewis
4609603989 . Fix pre-everything target.
PR:		58148
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-10-16 23:06:29 +00:00
Greg Lewis
846f8c04ea . Use ${PTHREAD_LIBS} rather than -pthread.
Suggested by:	mi
2003-10-08 00:45:01 +00:00
Greg Lewis
95a95a767e . Remove native_threads directories when native threads are not specified
during the compile.  The native threads java_vm binaries are compiled
  regardless of the settings and were causing problems with the packing
  list.
. Fix packing list so that native_threads versions of java_vm are
  conditionalised.

PR:		56007
2003-08-31 22:43:08 +00:00
Greg Lewis
6a085cc723 . Check for a setting of "-mcpu=k6" in CFLAGS and error if so. This
setting will cause an internal compiler error in gcc 2.95.x when
  compiling the JDK.

PR:		46269
Submitted by:	Simon Barner <barner@in.tum.de>
2003-08-30 15:33:23 +00:00
Greg Lewis
4030c045ad . Add support for bootstrapping with the Diablo Caffe JDK. The bootstrap
order is now:

  . linux-blackdown-jdk13 iff WITH_LINUX_BOOTSTRAP is set.
  . A previous installation of this port, if it exists.
  . The Diablo Caffe JDK.

  That is, the Diablo Caffe JDK is now the default bootstrapper in the
  absence of a previous installation of this port.
2003-08-29 21:12:18 +00:00
Greg Lewis
506e274eaa . Add a script which checks if ${LINUX_BASE}/${WRKDIRPREFIX} is
(possibly indirectly) a symbolic link to ${WRKDIRPREFIX}.
. Use this script in preference to the direct symbolic link check
  previously used, as it handles indirections which cause the same
  problem.
. /compat/linux -> ${LINUXBASE} in the message output if the check
  detects a link.

PR:		43602
2003-08-22 17:07:08 +00:00
Greg Lewis
e43852d616 1. Autodetect a previous jdk13 install and use that to bootstrap by
default if it exists.  This can be overidden either using JDK13DIR
   or setting WITH_LINUX_BOOTSTRAP.
2. Don't create directories for new files, invoke patch with -p0.

PR:		52195 [1]
Submitted by:	David Yeske <dyeske@yahoo.com> [1 - based on]
2003-08-02 17:28:31 +00:00
Greg Lewis
08d5c4f240 . Switch to using the appropriate Blackdown JDK for bootstrapping since
it doesn't require user intervention to download and install.

PR:		30576
2003-07-21 17:21:49 +00:00
Greg Lewis
b0106e2794 . In the cases where we need gtar, its an EXTRACT_DEPENDS, not a
BUILD_DEPENDS.
2003-06-15 05:55:36 +00:00
Greg Lewis
fae59e03a3 . Reorder the check for the source and patchset so that the failure
messages are produced in the order that they were intended.
2003-06-15 05:53:02 +00:00
Greg Lewis
a4c740b47a . Bump PORTREVISION for the recent fixes.
Reminded by:	lioux
2003-05-06 14:55:19 +00:00
Greg Lewis
7ee61f212f . Fix the shell wrapper to cope with HotSpot and as a result remove the
warning that the Classic VM is unusable with HotSpot.

Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp>
2003-04-22 20:05:21 +00:00
Greg Lewis
f530f1316e 1. Clean up demo/jfc/SwingSet2/resources before the install. This should
not be installed, but appears to be on rare occasions for reasons
   unknown.
2. Add handling of share/doc/java, previously only done in pkg-plist.

PR:		50092 (2)
Submitted by:	Munehiro Matsuda <haro@kgt.co.jp> (2)
2003-04-07 18:23:31 +00:00
Kris Kennaway
64f263db61 Don't set IGNORE when PACKAGE_BUILDING 2003-03-04 03:07:17 +00:00
Greg Lewis
62afc8936c de-pkg-comment 2003-02-28 17:56:43 +00:00
Greg Lewis
16a383eaf4 1. Bump PORTREVISION for this and previous changes.
2. Enable compiling the HotSpot JVM.  This is experimental and there are a
   number of caveats with its use that are reported by the port.  The flag
   to enable this is WITH_HOTSPOT.
3. Try to pick some OSVERSION settings appropriate for the current native
   threads implementation.

PR:		47397 (2)
Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp> (2)
2003-02-28 17:54:40 +00:00
Greg Lewis
a3d89c1e3c . Update to patchset 8. 2003-02-12 19:00:42 +00:00
Greg Lewis
54fc94c029 Be consistent. If we're going to explicitly use /sbin/sysctl to check
the value, then tell the user to use that to set the value too.
2003-01-30 11:10:10 +00:00
Kris Kennaway
d604e1d6d3 Use the full path to /sbin/sysctl
Noticed by:	'make index' in crontab
2003-01-30 08:23:53 +00:00
Greg Lewis
354b48008f . Add optional (default: off) runtime dependencies for the font packages
necessary to support the different font.properties that are installed.
2002-10-31 20:20:37 +00:00
Greg Lewis
e4956ee696 . Fix UDP packet broadcasting.
. Bump PORTREVISION.

Submitted by:	daichi, Tetsuo Suzuki <tetsuo@ss-lab.net>
2002-10-31 17:56:56 +00:00
Greg Lewis
9f087781c0 . Check for open-motif with libXm.so, which we actually use, instead of
libMrm.a, which isn't.
2002-10-29 05:17:59 +00:00
Greg Lewis
71d710d093 . In the informative message regarding downloading the necessary files,
use ${DISTDIR} rather than /usr/ports/distfiles.

Submitted by:	Mike Meyer <mwm@mired.org>
2002-10-29 05:16:16 +00:00
Greg Lewis
bb279e9df7 . echo -> ${ECHO_MSG} 2002-10-25 05:54:09 +00:00
Greg Lewis
daaab4406a . More XIM fixes for Japanese users (and presumably others with similar
character sets).
. Bump PORTREVISION.

Submitted by:	daichi
2002-10-18 21:45:45 +00:00
Greg Lewis
b5b9c33c5f . Make the instructions for downloading the various source bits clearer.
The instructions are based on text submitted in the PR (by grog).

PR:		42942
2002-10-17 16:30:53 +00:00
Ernst de Haan
2c50b3e55f Not using IGNORE anymore to avoid package building.
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif

This was superfluous and inhibiting package builds of things that
depend on the port. Having RESTRICTED and NO_CDROM is enough to
ensure that a package will not appear on the FTP site or a CDROM
(it will be built and used as a basis for other packages to build
with, but will be deleted at the end of the build run).

Requested by:	kris
Reviewed by:	portmgr (silence)
PR:		42758
2002-10-10 08:38:39 +00:00
Ernst de Haan
0050da690f Changed the installation directory of the Sun JDK 1.3.x for Linux to
linux-sun-jdk1.3.1.

PR:		41424
2002-08-10 10:31:09 +00:00
Greg Lewis
db48578b53 . Fix a typo in a message printed out to the user. 2002-08-08 18:41:44 +00:00
Greg Lewis
dca45b0ea4 Add a check in pre-build for a sysctl which will cause an error during
bootstrapping with the Linux JDK.
2002-08-06 16:36:21 +00:00
Greg Lewis
cbf8224709 Now that sobomax has updated the system version of tar don't redefine
TAR and add gtar to BUILD_DEPENDS unless the OSVERSION is old enough.

Small tweak by me to note that sobomax has MFC'ed the tar update.

Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
2002-08-05 18:19:58 +00:00
Greg Lewis
833af3b828 Update to patchset 7. 2002-07-25 18:31:26 +00:00
Greg Lewis
7b57f84935 Remove unintentional dependency on readlink by replacing the call to it
with a piece of sh+awk based on a recent post to freebsd-arch by
Cyrille Lefevre <cyrille.lefevre@laposte.net>.
2002-07-15 07:17:24 +00:00
Greg Lewis
e9d1fccec1 Only depend on the Linux JDK when NATIVE_BOOTSTRAP isn't defined. 2002-07-07 21:38:45 +00:00
Greg Lewis
b9de798e03 Add a pre-build target to check for a setting of WRKDIRPREFIX which will
result in the InvokerGen.java target failing.  The bootstrapping Linux
JDK will confuse itself if WRKDIRPREFIX also exists in /compat/linux
as a symbolic link to the directory in the standard FreeBSD hierarchy.

Much appreciated sleuth work by:	dillon
2002-06-27 05:34:39 +00:00
Greg Lewis
d2ac81835a Add open-motif to RUN_DEPENDS temporarily until we teach the JDK to
statically link with the Motif libraries.

Submitted by:	"Alexander Zagrebin" <alexz@visp.ru>
2002-06-26 05:10:24 +00:00
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
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
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