aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk14
Commit message (Collapse)AuthorAgeFilesLines
* . Take into account that pthread_mutex_trylock() can return EDEADLK asglewis2004-11-022-0/+22
| | | | | | well as EBUSY with libkse on FreeBSD 5.x. Inspired by: green
* The BSD patchset for the Sun JDK modeled its thread behavior mostly aftergreen2004-10-212-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | existing the Solaris base, and similarly to what happened with NSPR, made a bad assumption on undefined behavior. This broke locking in various places in Java, for example, causing the the debugging support to be totally broken. It is worth someone who knows the Java codebase taking a look to see what other things could have been broken by this on FreeBSD 5.x+. The assumption is that pthread_mutex_trylock(3) on a default-type mutex will fail with EBUSY. This assumption is wrong for our libpthread, which returns EDEADLK if the owner thread is trying to acquire the mutex again with trylock. The behavior of performing a locking operation on a self-locked default-type mutex is explicitly undefined for pthread_mutex_lock(3). The POSIX specification is still not very clear. It defines pthread_mutex_trylock(3) in terms of pthread_mutex_lock(3) yet does not say what the defined behavior should be for a self-locked pthread_mutex_trylock(3) for any of the various mutex types, so it is ambiguous whether the result is clearly undefined or clearly to return EBUSY. It is a one line change whether or not to make libpthread return EDEADLK in this case, where it seems that most implementations do not. Reference: http://www.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_lock.html
* . Bump PORTREVISION for the recent fixes.glewis2004-10-171-1/+1
|
* . Fix the Server VM for gcc 3.4 part 2/2.glewis2004-10-171-0/+24
| | | | | | | | | | | | | | | | | | | | | The HotSpot code (ab)uses named enums as ints in a number of places. The problem with this is that according the the C++ spec, the compiler (essentially) only needs to use an integral type wide enough to hold the values defined in the enum. Earlier versions of gcc appear to have just used an int whether they could have got away with a narrower type or not, hence the code worked as expected. gcc 3.4 now appears to implement this part of the spec, so using an enum blindly as an int causes various problems due to overflow. In this case the enum, Bytecodes::Code, appears to be a genuine enum, its just assumed to be wide enough to hold an arbitrary int in various places in the code. The correct fix would be to track down all those places in the code and fix them. Since there are quite a lot of these places and 5.3 is close to release for now we just add a value to the enum set to INT_MAX, forcing the compiler to use at least an int for the type. Sleuth work, discussion and code suggestions: peadar
* . Fix the Server VM for gcc 3.4 part 1/2.glewis2004-10-171-0/+38
| | | | | | | | | | | | | | | | | | The HotSpot code (ab)uses named enums as ints in a number of places. The problem with this is that according the the C++ spec, the compiler (essentially) only needs to use an integral type wide enough to hold the values defined in the enum. Earlier versions of gcc appear to have just used an int whether they could have got away with a narrower type or not, hence the code worked as expected. gcc 3.4 now appears to implement this part of the spec, so using an enum blindly as an int causes various problems due to overflow. This case is particularly bogus since the enums are merely to define a named integral type within a class (VMReg::Name doesn't even have any values enumerated in the declaration). So, convert these two enums to simply be typedef'ed ints. Sleuth work, discussion and code suggestions: peadar
* . In the ReadChunk() function, change an assert() to be a "test for aglewis2004-10-171-0/+53
| | | | | | | | | | | | | | | | | | | condition and return NULL". Take account of the NULL in the appropriate place (which is somewhat worrisome in itself since ReadChunk() has always had the possibility of returning NULL). This makes loading a font file a little more resilient to specially crafted font data which can be used, for example, by an applet to crash the browser plugin by triggering the assert(). Such an applet was mentioned on Bugtraq: http://www.securityfocus.com/archive/1/367331/2004-06-26/2004-07-02/0 and can be found at http://www.illegalaccess.org/cms/?q=node/view/9 This change stops the browser plugin from crashing. . Fix some warnings regarding formats in debugging printf's.
* . At least on FreeBSD, O_SYNC and O_DSYNC aren't both definedglewis2004-10-171-0/+21
| | | | | | | | | | | (for FreeBSD 4.x neither are defined and for FreeBSD 5.x O_DSYNC isn't defined). This caused them to be defined to some bogus values. In particular, O_SYNC would be defined as 0x800, which is O_EXCL (at least on FreeBSD 4.x). The result being that the RandomAccessFile class would fail to open an existing file if you specified "s" as part of the mode. Fix this by defining O_SYNC and O_DSYNC to O_FSYNC if they aren't defined.
* . Assume (un)registervm is in LOCALBASE _not_ PREFIX.glewis2004-09-021-2/+2
| | | | | . Call unregistervm with the VM we registered, not the comment associated with it (as comments should be optional).
* . The changes to make in -CURRENT to use MAKEFLAGS make us unable toglewis2004-08-181-1/+2
| | | | | | | | | override the MAKEFLAGS ARCH value in the main HotSpot Makefile. Fix this by passing in a blank MAKEFLAGS up front so there is nothing to (try to) override. Submitted by: truckman Requested by: kris
* . Fix the build for gcc 3.4.glewis2004-08-133-0/+47
| | | | | | PR: 69853 Submitted by: Jake Hamby <jhamby@anobject.com> Approved by: phantom (maintainer)
* SIZEfyphantom2004-03-201-0/+3
|
* . Set LATEST_LINK [1]phantom2004-03-053-1/+317
| | | | | | | | | | | | . Fix rare NULL pointer de-reference bug in plugin code [2] . Use better chinese fonts [3] . Bump PORTREVISION Requested by: kris [1] Submitted by: Georg-W. Koltermann <gwk@rahn-koltermann.de> [2], Clive Lin <clive@tongi.org> [3]
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1
| | | | (Part 2)
* 1. Switch 5.x version of jdk14 back to libc_r as default threading library.phantom2004-01-285-1099/+1220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We switched FreeBSD-5.x port to libkse as default threading library before releasing of patchset 6, but users who has most of stuff linked against libc_r and attempted to use jdk linked against libkse got into local hell of threading libraries mix. So, rollback to libc_r by default and add PTHREAD_LIBS support for this port. IMPORTANT: In order to use libkse as threading library for jdk14 you have to use rtld's libmap feature or recompile your ports stuff (like mozilla) with libkse. NOTE: libkse still has issues with java debug support, so if you're going to use debuging (JVMDI) stuff - leave with libc_r for now. 2. Disable IPv6 support by default. Unfortunatelly due to security reasons IPv4-to-IPv6 addresses mapping is disabled by default in FreeBSD-5.x, so those who would like to use Java Networking stuff had to manually enable it. To make jdk14 port more user-friendly IPv6 is disabled now on compile time. Those who need this stuff enabled have to use WITH_IPV6 compile time option. 3. Add MINIMAL compile option. If this option is used to build jdk14 port then plugin, javaws and demos stuff will not be installed and/or packaged. Also (as noted in [5]) X11 runtime dependancy will not be registered into built package. 4. Strip runtime depends of jdk14 port. There's no need to require open-motif to be runtime depends since libXm is staticly linked into libawt.so. 5. Make X11 runtime dependancy conditional (via urwfonts) in !WITHOUT_PLUGIN case only. This should affect only prebuilt package users: there's no need to install X11 libraries if you're going to use non-GUI stuff only (i.e. tomcat or jboss) 6. Add ${LOCALBASE}/lib to the deafult search path for JNI libraries. 7. Bump PORTVERSION Reported by: many [1] Submitted by: glewis [6] Requested by: marcus [6]
* Update license to most recent SCSL license version.phantom2004-01-281-24/+14
|
* Use LS macro.trevor2004-01-231-1/+1
|
* Use the CPIO macro defined in bsd.port.mk.trevor2004-01-221-2/+0
|
* Use the SORT macro from bsd.port.mk.trevor2004-01-221-1/+0
|
* . Check the return value of stat(2) when trying to read the javawsglewis2004-01-172-0/+17
| | | | | | | | configuration file and behave appropriately if its -1. Fixes a SEGV caused by ignoring the return value and just carrying on. . Bump PORTREVISION. PR: 61392
* . Update to 1.4.2 patchset 6.glewis2004-01-157-38/+20
| | | | | | | | | . Install the cacerts file from Sun's 1.4.2_03 release to avoid some problems associated with expired root certificates described in: http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436 Hopefully not objected to by: phantom
* Don't use patch release number while setting up BUILD_DEPENDS forphantom2003-12-161-2/+3
| | | | linux-sun-jdk.
* USE_REINPLACE need be defined only when REINPLACE_CMD is used.trevor2003-11-171-1/+0
|
* Fix path to patched file.phantom2003-11-121-2/+2
| | | | Reported by: Nelis Lamprecht <nelis@brabys.co.za>
* Fix bootstrap jdk detection process, so it work in case if no valid jdkphantom2003-11-121-4/+11
| | | | | | installed. Previously BUILD_DEPENDS was not set correctly. Add all possible choices for 1.4.1/1.4.2 JDKs while auto-detecting.
* Add patch to fix build problems on 5.x system reported by many people.phantom2003-11-121-0/+13
| | | | | | It was last minute change and since this tool (unpack) is not used while building jdk14 port, I did not paid enough attention to test this change at -CURRENT system. Sorry.
* Update to 1.4.2p5.phantom2003-11-1211-286/+285
| | | | | | | | | | | | | | | | | | | | | | | | Important changes since last patchset: . jdk14 port is now JDK 1.4.2 based! . JavaWS distributing with jdk . Runway problem fixed (fork() is no more problem for java apps) . Sound support updated . IPv6 support overhauled . Drag'n'Drop support fixed (require open-motif mods) As for now there's no more outstanding issues with this port! FreeBSD port is also got a important of changes: . optimized setup is now default (to get debuging bins/libs use WITH_DEBUG) . bootstrap jdk autodetection. If WITH_LINUX_BOOTSTRAP is not set, then it checks all known to work JDKs installed. If nothing found, forces to install of linux-sun-jdk14 . Because of above change there's no NATIVE_BOOTSTRAP option anymore. If native jdk14 is installed, it will be used by default.
* Don't redefine ECHO_MSG to echo explicitly. It b0rked IGNORE messages.phantom2003-11-101-1/+0
| | | | | PR: java/58902 Reported by: Linh Pham <question@closedsrc.org>
* . Add fix for "runaway process" problem. It should fix of stalledphantom2003-10-293-2/+95
| | | | | | | | | | | | | | processes problem for people who use Runtime.getRuntime.exec() method and related things. Least five people reported that this patch fixed problem for them. IMPORTANT: I'd also suggested to all jdk14 users who runs FreeBSD 4.x and use libc_r at FreeBSD 5.x to upgrade. . Stop removing "src.zip" from installation bundle. Since -p4 it builds correctly and there's no reason to forbit people to use it. . Bump PORTREVISION.
* . Sort PTHREAD_FILES.glewis2003-10-211-2/+3
| | | | | | | | . Add j2se/ext/plugin/build/solaris/GNUmakefile to PTHREAD_FILES. Should fix plugin compilation on -CURRENT. Mea culpa. PR: 58269 Submitted by: Scott Dodson <sdodson@sdodson.com>
* . Add a missing BUILD_DEPENDS on NSPR so the plugin builds.glewis2003-10-141-1/+2
| | | | Forgotten by: glewis
* . Override PKGINSTALL to place it in WRKDIR, which is writeable, ratherglewis2003-10-131-0/+1
| | | | | | than PORTSDIR, which may not be. Submitted by: kris
* . Update to 1.4.1p4.glewis2003-10-118-59/+613
| | | | | | | . Use ${PTHREAD_LIBS} rather than -pthread or -lc_r. . Install system preferences to avoid annoying and constant error messages. Approved by: phantom (the update, anyway)
* . Unset -Werror when compiling the NIO stuff. GCC 3.3.1 tends to generateglewis2003-10-111-0/+13
| | | | warnings that 2.95 doesn't and breaks the build on -CURRENT.
* . Sync with the change to linux-sun-jdk14 (it now installs inglewis2003-10-021-1/+1
| | | | /usr/local/linux-sun-jdk1.4.2) so this port will bootstrap.
* Update linux jdk location after recent linux-sun-jdk update to 1.4.2_01phantom2003-09-081-1/+1
|
* Warn users about requirement of having linprocfs mounted in order tophantom2003-08-041-2/+22
| | | | | | | | | | | start native JDK port build. linprocfs mounted become pre-requisite of build after Linux SUN JDK port was updated to 1.4.2. Add run-time (pre-build) check for linprocfs mounted as well. Bump space requirements note about disk space required for build of whole JDK 1.4.1 port and package to more appropriate value (as reported by many people).
* Now expects bootstrap JDK in ${LOCALBASE}/linux-sun-jdk1.4.2.znerd2003-07-211-1/+3
| | | | Approved by: MAINTAINER
* Unbreak package build after recent Greg's commit (which changedphantom2003-05-091-3/+3
| | | | | | | | include/bsd -> include/freebsd in sources, but not reflected this change in pkg-plist) Reported by: Holger Kipp <Holger.Kipp@alogis.com>, Kunihiro Arai <kunihiro-arai@seagreen.ocn.ne.jp>
* . Add $FreeBSD$glewis2003-05-021-0/+12
| | | | | | | | . Put the MD JNI headers in include/freebsd _not_ include/bsd. This brings the 1.4 port in line with 1.1, 1.2 and 1.3, and arguably inline with Solaris and Linux. Not-objected-to by: phantom
* Fix checking of libc_r capabilities at FreeBSD version whichphantom2003-03-151-6/+22
| | | | | | | don't have pthread_attr_get_np() at all (early 4.7-STABLE and previous versions). Reported by: Phillip Oleson <poleson@verio.net>
* Add runtime test to check of required libc_r functionality. I.e. warnphantom2003-03-142-8/+94
| | | | | | | | people about requirement of libc_r updates as early as possible. Bump PORTREVISION Approved by: portmgr (kris) (implicitly)
* Add notice about amount of disk space requiredphantom2003-03-131-0/+9
|
* Correct pkg-plistphantom2003-03-131-204/+0
| | | | Submitted by: olgeni, glewis
* Make sure that demo/jfc/SwingSet2/resources does not exists (it should not,phantom2003-03-131-0/+2
| | | | but sometimes leaves in)
* Fix build on 5.0-RELEASEphantom2003-03-131-0/+11
|
* Bump PORTREVISIONphantom2003-03-111-0/+1
|
* Since we have problems with running debuging binaries on some machinesphantom2003-03-111-0/+15
| | | | | | (old K6 and some SMP machines) don't use javah_g in build process. Reported by: many people
* Add patch which backouts some of my early compile hacks which now preventingphantom2003-03-111-0/+13
| | | | | | MulticastSocket.joinGroup() from behaving correctly. Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
* I am pleased to announce first public -beta patchset of FreeBSD/Java portphantom2003-03-0710-2560/+2019
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for JDK 1.4.1. This is complete and close to production quality native JDK with both working client and server native JVMs. Local micro benchmarks shown very little difference between Linux and FreeBSD JVMs in speed. One of important points of this patchset that it marks point when we are very close to passing of Sun TCK tests. Currently about 20 of >27000 tests are known to be broken (tests were run at -STABLE). If testing of this patchset will be smooth and founding of this work will be continued we may expect to have binary distribution of JDK 1.4.1 in April or begining of May. BUT, don't forget that even TCK tests can't cover all possible problems and this is -beta patchset. Keep your eyes open and report your problems to freebsd-java mailing list or to me directly! * About supported FreeBSD releases: Altough 4.8-RELEASE will be first officially supported FreeBSD release, you may use JDK 1.4.1-p3 at stock post-02-Feb-2003 -STABLE or -CURRENT. You also may use it at post-07-Jan-2003 -STABLE and -CURRENT (including 5.0-RELEASE), but it's required to apply libc_r patch, distributed with patchset3 archive, and rebuild libc_r first. * About compiler: This port is supposed to be built with stock FreeBSD compiler (3.2.[12] for -CURRENT and 2.95.4 for -STABLE)! * Following issues are known, but not yet addressed: . IPv6 networking. IPv6 support is disabled in this patchset. . Asian languages support. Patches are welcome! . K6 (586-class) processors support. There're issues with building on old K6 processors. If you've problems with 586-class machines other than K6 - please let me know. . Mozilla plugin is not yet ported. * Following areas should be used with increased attention: . Java Virtual Machine Profiling Interface (JVMPI) . Java Virtual Machine Debugging Interface (JVMDI) . Host Porting Interface (HPI) If you have problems with these interfaces please let me know. * THANKS! I would thank very much to FreeBSD Foundation, without which support and sponsorship JDK 1.4.1 port would not happen in such timeframes (less than 2 months). Sponsored by: FreeBSD Foundation Approved by: portmgr
* Don't set IGNORE when PACKAGE_BUILDINGkris2003-03-041-2/+2
|
* de-pkg-commentglewis2003-03-012-1/+1
|
* 1. Bump PORTREVISION for this and previous changes.glewis2003-03-012-1/+91
| | | | | | | | | | | 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)
* . Updated version of native threads for FreeBSD. This uses recentlyglewis2003-03-011-0/+726
| | | | | | | | | | | | 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
* . Rename our internal gethostby{name,addr}_r functions to avoid collisions.glewis2003-03-011-0/+114
| | | | | | | | | | | | | 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>
* . Respect LOCALBASE in the DEVTOOLS_PATH setting.glewis2003-03-011-0/+9
| | | | | PR: 47668 Submitted by: Mike Meyer <mwm-dated-1044336154.329122@mired.org>
* . Add missing include of <sys/time.h>, needed by <sys/resource.h> forglewis2003-03-011-0/+12
| | | | | | FreeBSD 5.x. This fixes native threads compilation on FreeBSD 5.x. Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
* . Be consistent about our compiler settings. Using gcc32 here was bothglewis2003-03-011-0/+13
| | | | | 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).
* . Resurrect patch accidentally removed in last commit.glewis2003-02-131-0/+18
|
* . Update to patchset 8.glewis2003-02-1312-1142/+2
|
* Be consistent. If we're going to explicitly use /sbin/sysctl to checkglewis2003-01-301-1/+1
| | | | the value, then tell the user to use that to set the value too.
* Use the full path to /sbin/sysctlkris2003-01-301-1/+1
| | | | Noticed by: 'make index' in crontab
* Don't remove system directories share/java, share/java/classes, andkris2002-11-111-3/+0
| | | | share/doc
* . Add optional (default: off) runtime dependencies for the font packagesglewis2002-11-011-0/+10
| | | | necessary to support the different font.properties that are installed.
* . Fix UDP packet broadcasting.glewis2002-11-012-1/+15
| | | | | | . Bump PORTREVISION. Submitted by: daichi, Tetsuo Suzuki <tetsuo@ss-lab.net>
* . Check for open-motif with libXm.so, which we actually use, instead ofglewis2002-10-291-2/+2
| | | | libMrm.a, which isn't.
* . In the informative message regarding downloading the necessary files,glewis2002-10-291-3/+3
| | | | | | use ${DISTDIR} rather than /usr/ports/distfiles. Submitted by: Mike Meyer <mwm@mired.org>
* . echo -> ${ECHO_MSG}glewis2002-10-251-8/+8
|
* . Catch up with additional font.properties files.glewis2002-10-251-0/+3
|
* . Chinese font.properties and make glue.glewis2002-10-252-2/+245
| | | | Submitted by: Huang wen hui <hwh@ns.gddsn.org.cn>
* . More XIM fixes for Japanese users (and presumably others with similarglewis2002-10-192-0/+64
| | | | | | | character sets). . Bump PORTREVISION. Submitted by: daichi
* . Link the Netscape 4 plugin against libintl to avoid a runtime linkglewis2002-10-191-0/+15
| | | | | | | 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>.
* . Russian and Ukrainian font property files and appropriate build changes.glewis2002-10-193-0/+416
| | | | Submitted by: mi
* . Make the instructions for downloading the various source bits clearer.glewis2002-10-181-6/+26
| | | | | | The instructions are based on text submitted in the PR (by grog). PR: 42942
* Not using IGNORE anymore to avoid package building.znerd2002-10-101-5/+2
| | | | | | | | | | | | | | | | .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
* Unified one-line descriptions for JDK ports.znerd2002-08-121-1/+1
|
* Changed the installation directory of the Sun JDK 1.3.x for Linux toznerd2002-08-101-1/+1
| | | | | | linux-sun-jdk1.3.1. PR: 41424
* . Fix a typo in a message printed out to the user.glewis2002-08-091-1/+1
|
* Add a check in pre-build for a sysctl which will cause an error duringglewis2002-08-071-0/+9
| | | | bootstrapping with the Linux JDK.
* Improved font.properties.ja based on the Kochi fonts rather than theglewis2002-08-061-0/+308
| | | | | | Watanabe/Wadalab fonts. Submitted by: daichi <daichi@ongs.co.jp>
* Now that sobomax has updated the system version of tar don't redefineglewis2002-08-061-2/+5
| | | | | | | | 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>
* Add in a patch from the porting repository that allows people to buildglewis2002-08-061-0/+62
| | | | HotSpot if they wish (by hand, not via the port yet).
* Update to patchset 7.glewis2002-07-2617-554/+2
|
* Remove unintentional dependency on readlink by replacing the call to itglewis2002-07-151-1/+1
| | | | | with a piece of sh+awk based on a recent post to freebsd-arch by Cyrille Lefevre <cyrille.lefevre@laposte.net>.
* Only depend on the Linux JDK when NATIVE_BOOTSTRAP isn't defined.glewis2002-07-081-1/+3
|
* Add a pre-build target to check for a setting of WRKDIRPREFIX which willglewis2002-06-271-0/+13
| | | | | | | | 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
* Add open-motif to RUN_DEPENDS temporarily until we teach the JDK toglewis2002-06-261-0/+1
| | | | | | statically link with the Motif libraries. Submitted by: "Alexander Zagrebin" <alexz@visp.ru>
* . Fix dependencies after recent JDK ports repo copy.glewis2002-06-141-16/+19
| | | | | | | | | | | | | 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
* . Fix compilation on FreeBSD 4.2 by including <sys/param.h>glewis2002-06-121-0/+20
| | | | | | | | | | | | 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
* Rename monstrously long patch filenames that were causing tar to exceedkris2002-06-0612-11/+11
| | | | length limitations (100 characters) and fail.
* Use correct Open Motif.obrien2002-05-281-2/+1
|
* Add a NATIVE_BOOTSTRAP knob which allows people to bootstrap withglewis2002-05-031-0/+4
| | | | | | | | | | | | | 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
* Really fix the incompatibilities with gettext 0.11. The previousglewis2002-05-039-10/+176
| | | | | | | | | | | | | | | | | | | 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
* Correct pkg-plist.sobomax2002-04-231-1/+1
|
* Fix the build of libaudio.so on 5-CURRENT by using <sys/soundcard.h>glewis2002-04-172-0/+32
| | | | | | | | | | 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
* Add a temporary dependency on gettext-old and use msgfmt-old to processglewis2002-04-172-0/+10
| | | | | | | | | | | | 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
* Bump PORTREVISION due to the last two changes to the port.glewis2002-04-161-1/+1
| | | | Approved by: sobomax
* Fix some crash bugs in the browser plugin code by usingglewis2002-04-161-0/+31
| | | | | | | | the correct functions to call static Java methods. Submitted by: Richard Tobin <richard@cogsci.ed.ac.uk> Reviewed by: sobomax Approved by: sobomax
* Add Taiwan Chinese font properties support (if I understandglewis2002-04-163-0/+255
| | | | | | | | the locale correctly). Submitted by: Zhenbang Wei <forth@zbwei.net> (via clive) Reviewed by: sobomax Approved by: sobomax
* Start my bid for world domination by taking maintainershipglewis2002-04-161-1/+1
| | | | | | | of the jdk13 port. Reviewed by: sobomax Approved by: sobomax
* A better fix for creating src.jar. Using tar by itself fails because theglewis2002-04-121-5/+4
| | | | | | | | | | | 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
* Fix user and group ownership of the installed files when they have beenglewis2002-04-121-4/+4
| | | | | | | | | | | | | 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
* Now creating an 'ext' directory as a subdirectory ofznerd2002-04-072-1/+3
| | | | | | the application home directory. Prompted by: Marc Recht <recht@contentmedia.de>
* Correct when WITHOUT_PLUGIN is defined.sobomax2002-03-151-5/+5
| | | | | PR: 35899 Submitted by: Lev Serebryakov <lev@serebryakov.spb.ru>
* Link Mozilla pligin with libXt to make it working with Mozilla-0.9.9. Thissobomax2002-03-133-4/+23
| | | | | | | | | | | | | | 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.
* Bumped PORTREVISION. Added a patch earlier today, and theznerd2002-03-121-0/+1
| | | | | | | port should be rebuilt for the patch to be applied. Now portupgrade should work as expected. PR: ports/35658
* Fixes the problem that the source JAR is too small.znerd2002-03-111-0/+26
| | | | | Submitted by: Greg Lewis PR: ports/35658
* Add urwfonts into RUN_DEPENDS to prevent lot of "missed font" warnings whensobomax2002-03-061-1/+2
| | | | | | | starting any Swing app. PR: 31364 Submitted by: Jonathan Chen <jonathan.chen@itouch.co.nz>
* Corrected the gtk version number at the request of Greg Lewis.davidc2002-02-201-1/+1
| | | | Submitted by: Greg Lewis
* Use correct LIB_DEPENDS.sobomax2002-02-201-1/+1
| | | | | PR: 35120 Submitted by: Greg Lewis <glewis@eyesbeyond.com>
* Correct pkg-plist in the default and NODEBUG cases.sobomax2002-02-191-6/+6
|
* Fix ampersand entities...patrick2002-02-151-7/+7
| | | | Submitted by: Remco van't Veer
* Update to patch set 6patrick2002-02-143-2/+207
| | | | | PR: 34923 Submitted by: Greg Lewis
* Use java@FreeBSD.org as a MAINTAINER, so question will go into appropriatesobomax2001-12-141-1/+1
| | | | place.
* Update to patchlevel 5.sobomax2001-10-165-73/+7
| | | | | PR: 31257 Submitted by: Greg Lewis <glewis@eyesbeyond.com>
* Fix a potential crash on 5-CURRENT.sobomax2001-09-122-0/+29
| | | | Submitted by: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
* Update to patchlevel 4. This release contains many critical bug fixes, sosobomax2001-09-106-300/+55
| | | | | | | please make sure that you have upgraded before reporting a bug or problem. PR: 30481 Submitted by: Greg Lewis <glewis@eyesbeyond.com>
* Add native port of Sun's Java Devepment Kit, v.1.3.1 (repo-copied fromsobomax2001-08-289-480/+1564
| | | | | | | jdk12-beta). PR: 29949 Submitted by: Greg Lewis <glewis@eyesbeyond.com>
* Update link to the place where distfile can be downloaded.sobomax2001-05-031-2/+2
| | | | | PR: 27058 Submitted by: Ernst de Haan <ernst@heinz.jollem.com>
* fix typo:lioux2001-02-151-1/+1
| | | | | | | - the previous replacement of \s+# -> \t\t# triggered error "Unassociated shell command #" Submitted by: Dan Langille <dan@langille.org>
* typo clean up police: \s -> \tlioux2001-02-151-1/+1
|
* Forcefully set JAVA_COMPILER and CLASSPATH to "" to prevent build from failing.sobomax2000-11-041-1/+3
| | | | Reported by: Max Khon <fjoe@plesk.com>, Ilya Krel <ilya@krel.org>
* Correct patch, so it will apply cleanly.sobomax2000-10-161-2/+2
| | | | Submitted by: Ed Sweeney <edwardsweeney@yahoo.com>
* This port is i386 only for the moment. We need some assembler code writtensobomax2000-10-141-0/+1
| | | | | | to make the Alpha work. Submitted by: Greg Lewis <glewis@trc.adelaide.edu.au>
* Add jdk12-beta - a "glue" to build a native JDK1.2.2 using source code fromsobomax2000-10-137-0/+1206
Sun and patchset from FreeBSD Java Project.