1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
Commit Graph

90 Commits

Author SHA1 Message Date
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
6b6e1f94e7 . Try to ensure that we get the correct version of some Netscape header
files.  This will hopefully fix some build problems people have been
  experiencing with bogus versions of these files being installed by Qt.

PR:		54180
2003-07-11 21:01:00 +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
64c60ee3de . Remove an assert() which asserts that if isatty() is true then
ttyname() must not return NULL.  This isn't entirely true according
  to the manual page (the device must be able to be found as well) and
  certainly appears to not necessarily be true in the package building
  environment on bento (plus at least the PR submitter's environment).

  Note that this assert() was, of course, only ever triggered when
  running in debug mode (which most people don't, but does happen
  during the build in some parts).  Also note that there is a check
  for isatty() preceding the call for ttyname() and a NULL return
  from ttyname() is handled, so removing this assert should not
  create any problems.

PR:		48164
2003-05-06 06:11:02 +00:00
Greg Lewis
3fa4a90e30 . Fix Math.pow() when the JDK is compiled with optimisation flags set.
There may be other Math methods which similarly fail under optimisation,
  these will be addressed by a more extensive change in patchset 9.

PR:		48825
2003-04-30 15:31:12 +00:00
Greg Lewis
847bdee6eb . Now that we can use Classic and HotSpot, make classic (and hence green
threads) the default.  This is the most stable combination.
2003-04-22 20:06:33 +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
Greg Lewis
e13b954603 . Fix the packing list:
. Clean up for WITHOUT_PLUGIN.
  . Clean up for WITH_NATIVE_THREADS.
  . Add handling of jre/lib/ext, previously only done in Makefile.

PR:		50092
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
		Munehiro Matsuda <haro@kgt.co.jp>
2003-04-07 18:20:08 +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
dcef90030b . Updated version of native threads for FreeBSD. This uses recently
committed enhancements to libc_r and is only suitable for very recent
  versions of FreeBSD.  The big benefit is that it removes almost all
  the previous grovelling about in the pthreads internals.

  The change only comes into effect when WITH_NATIVE_THREADS is set.
  A separate Makefile commit will attempt to enforce appropriate
  OSVERSION settings for using it.

Submitted by:	fjoe
2003-02-28 17:47:38 +00:00
Greg Lewis
f0d4b083fc . Rename our internal gethostby{name,addr}_r functions to avoid collisions.
Currently gethostbyaddr_r collides with the implementation (in libc!) for
  FreeBSD 5.x which both uses a different prototype (as per the Linux
  version) and is marked temporary and not thread safe.  Also, limit the
  scope of these internal implementations to this file.

  This fixes crashes in networked applications for FreeBSD 5.x.

  Some tweaks (making the functions static, naming, BSD ifdefs) by me.

Submitted by:	"Georg-W. Koltermann" <g.w.k@web.de>
2003-02-28 17:33:10 +00:00
Greg Lewis
3ed8e2b166 . Respect LOCALBASE in the DEVTOOLS_PATH setting.
PR:		47668
Submitted by:	Mike Meyer <mwm-dated-1044336154.329122@mired.org>
2003-02-28 17:18:43 +00:00
Greg Lewis
da27056044 . Add missing include of <sys/time.h>, needed by <sys/resource.h> for
FreeBSD 5.x.  This fixes native threads compilation on FreeBSD 5.x.

Submitted by:	Munehiro Matsuda <haro@h4.dion.ne.jp>
2003-02-28 17:16:21 +00:00
Greg Lewis
79371b8e8e . Be consistent about our compiler settings. Using gcc32 here was both
inconsistent with the rest of the code and only relevant on 4.x (since
  5.x has gcc 3.2.x as its default compiler).
2003-02-28 17:12:24 +00:00
Greg Lewis
30ab46c12b . Resurrect patch accidentally removed in last commit. 2003-02-12 19:01:39 +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
Kris Kennaway
063c457172 Don't remove system directories share/java, share/java/classes, and
share/doc
2002-11-10 22:44:03 +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
be1315e7fd . Catch up with additional font.properties files. 2002-10-25 05:53:27 +00:00
Greg Lewis
b962656ac3 . Chinese font.properties and make glue.
Submitted by:	Huang wen hui <hwh@ns.gddsn.org.cn>
2002-10-25 05:51:52 +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
68eb5d0400 . Link the Netscape 4 plugin against libintl to avoid a runtime link
error.  This may allow browsers which use Netscape 4 plugins (e.g.
  Konqueror) to make use of it.

Code change by me, problem report by Dylan Carlson <absinthe@pobox.com>.
2002-10-18 21:44:13 +00:00
Greg Lewis
4d9ad417ed . Russian and Ukrainian font property files and appropriate build changes.
Submitted by:	mi
2002-10-18 21:41:25 +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
c74d548b1e Unified one-line descriptions for JDK ports. 2002-08-12 11:49:59 +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
5e9fbe3fad Improved font.properties.ja based on the Kochi fonts rather than the
Watanabe/Wadalab fonts.

Submitted by:	daichi <daichi@ongs.co.jp>
2002-08-05 18:26:16 +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
3341a3cd35 Add in a patch from the porting repository that allows people to build
HotSpot if they wish (by hand, not via the port yet).
2002-08-05 18:16:05 +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