Commit Graph

146 Commits

Author SHA1 Message Date
Pav Lucistnik 41d8c3385c - Remove conditional checks for FreeBSD 5.x and older 2009-01-05 20:36:33 +00:00
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Edwin Groothuis a582224f29 Remove support for OSVERSION < 5 2007-10-03 23:08:56 +00:00
Greg Lewis 8f4ced1aa0 . Add USE_XORG configuration. I'm guessing that prior to the modular
xorg ports the Open Motif dependency pulled in the appropriate X11
  libraries since this hasn't been a problem previously.

Reported by:	pointyhat (via kris)
2007-08-21 06:11:17 +00:00
Greg Lewis a40ce7783f . Make it so we include Xm/XmIm.h rather than defining our own prototype.
Fixes a build error due to the prototype being defined not matching
  the actual function.

Pointed out by:	pointyhat (via kris)
2007-06-02 21:18:27 +00:00
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Greg Lewis 302d17244c . Don't allow bootstrapping with the expired linux-blackdown-jdk13 port.
PR:		110169
Submitted by:	gabor
2007-03-14 16:23:45 +00:00
Greg Lewis bb83c89cff . Diablo JDK 1.3.1 is gone, remove it as a possible bootstrap. 2006-12-08 19:43:05 +00:00
Greg Lewis 0b647d9e4b . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. Replace one hardwired /usr/local instance with LOCALBASE.  This wasn't
  a problem since the port Makefile overrode that variable anyway.
. Small Makefile restructure to keep related variables in one place.

Pointed out by:	pointyhat (via kris) [1]
2006-12-08 19:39:45 +00:00
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00
Greg Lewis 8f6e64f785 . Take account of the MFC or the *_r functions to RELENG_6.
Submitted by:	ume@
2006-07-19 22:34:45 +00:00
Greg Lewis da0c76df9e . Try to fix the build on FreeBSD-CURRENT, which now defines gethostent_r
itself.

Submitted by:	ume
2006-06-16 17:14:03 +00:00
Edwin Groothuis 8f4ccb0a04 Remove USE_REINPLACE from categories starting with a J 2006-05-09 00:18:07 +00:00
Ade Lovett fe279f0df8 Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.
Discussed with:	kris
Approved by:	portmgr (implicit)
2006-03-07 08:28:06 +00:00
Ade Lovett 8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Edwin Groothuis 0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Greg Lewis 2f4041691b . Always fix up the pthread library references, even if we're not
building either native threads or HotSpot.  This is due to libcmm
  always wanting to link against a pthread library, which was causing
  problems on 7-CURRENT since it was erroneously hardwired to -lc_r.
  This should really fix the problem.

Pointed out by:	pointyhat via kris
2006-01-13 16:23:47 +00:00
Greg Lewis fa9ca78083 . Try to bandaid a build problem on 7-CURRENT. This is a legitimate fix,
and will stay in the port, but it masks an underlying problem that still
  remains.

Reported by:	pointyhat (via kris)
2005-12-11 21:59:07 +00:00
Greg Lewis 0159e9ebe4 . Add SHA256. 2005-11-16 06:05:38 +00:00
Greg Lewis 5c0642d3ef . Tell the user all the files they will need up front, instead of telling
porky pies about what they have and prompting them one file at a time.
  This is a rewording and reworking (for jdk13) of the patch in the
  attributed PR by fenner@ (which is for jdk14).
. Update the (commented out) MASTER_SITES while I'm here.

PR:		84644
2005-09-03 06:13:03 +00:00
Greg Lewis b075f4b0d0 . Set a BUILD_DEPENDS for consistency.
. Set _JAVA_BOOTSTRAP_VERSION in case the jbootstrap default changes.
2005-07-23 07:48:59 +00:00
Greg Lewis 4322717065 . Default to using jbootstrap as the bootstrap, not linux-blackdown-jdk13.
PR:		83758
2005-07-23 07:02:22 +00:00
Greg Lewis f40ff1cda1 . Add $FreeBSD$. 2005-04-28 20:08:01 +00:00
Greg Lewis 6519b90663 . Bump PORTREVISION for the previous fix for jar(1).
. Don't build the plugin by default as it has security flaws.
2005-04-27 20:32:47 +00:00
Greg Lewis 85d91b0060 . Ensure that when files are extracted that their fully resolved path lies
in or below the current working directory.  Fixes a security problem with
  jar(1).

  This fix may change to be compatible with whatever fix Sun applies when
  they release the next version of 1.5.
2005-04-27 20:31:32 +00:00
Greg Lewis 6253055c55 . Move the invocation of unregistervm to the top of the packing list.
This ensures that this command is run before the files in the package
  are deleted (which is necessary for it to correctly delete the symbolic
  links created by registervm).
2005-02-17 19:41:13 +00:00
Greg Lewis 83a5a82b19 . Backport some fixes from 1.4 for the HotSpot Server VM when compiled
under gcc 3.4.  In particular, this fixes some places where an enumerated
  type is assumed to be the same width as an int (which the standard
  doesn't guarantee and gcc 3.4 now enforces).

  For full details, see the log for the jdk14 equivalent changes.
2004-12-07 20:23:40 +00:00
Greg Lewis 97e8b7483d . Mark FORBIDDEN when building the browser plugin. 2004-11-28 05:38:00 +00:00
Greg Lewis 3ea68048cd . Make sure that all calls to pthread_mutex_trylock handle EDEADLK as well
as EBUSY.

  These are taken from equivalent patches to jdk14 by green and myself.
2004-11-28 05:29:25 +00:00
Greg Lewis 83be817c30 . Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS.
Also, respect the setting of CXX and CXXFLAGS.
2004-11-27 05:48:46 +00:00
Greg Lewis 3883849c28 . Fix the build with gcc 3.4 part 2/2. Don't use the flag
-fmemoize-lookups as gcc 3.4 doesn't understand it. [1]
. Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS.
  Also, respect the setting of CXX and CXXFLAGS.

PR:		71516 [1]
Submitted by:	Damir Kiramov <damirycha@damirycha.net.ru> [1]
2004-11-27 05:48:23 +00:00
Greg Lewis 0614155d8e . Fix the HotSpot build for gcc 3.4 part 1/2. Make some methods public
where previously they defaulted to protected.  gcc 3.4 seems to pick
  this up where earlier versions didn't.

PR:		71516
Submitted by:	Damir Kiramov <damirycha@damirycha.net.ru>
2004-11-27 05:44:12 +00:00
Greg Lewis c00804a6d7 . Fix the plugin build for gcc 3.4.
Submitted by:	Timo Geusch <freebsd@unixconsult.co.uk>
2004-08-31 19:52:25 +00:00
Greg Lewis cde658701e . Assume (un)registervm is in LOCALBASE _not_ PREFIX. 2004-08-31 19:43:09 +00:00
Greg Lewis 274f5bb820 . Don't let find(1) descend into directories that may have already been
deleted.

PR:		71019
Submitted by:	Rainer Goellner <rainer@jabbe.de>
2004-08-31 19:41:41 +00:00
Greg Lewis 16df5ea99e . Fix the main build for gcc 3.4. The HotSpot build may need some
additional patches.

  This patch is taken almost verbatim from PR 69853 which was
  submitted by Jake Hamby <jhamby@anobject.com>.  I've applied it to
  jdk13 rather than jdk14 though.
2004-08-10 20:30:30 +00:00
Greg Lewis 453f0beec3 . Set CC, CXX and CPP conditionally so that this port will respect them
if set in the port build.  Note that the HotSpot build will likely
  require additional changes for it to also respect these variables.
2004-08-10 20:28:44 +00:00
Greg Lewis 4d7fe23937 . Call unregistervm with the VM we registered, not the comment associated
with (as comments should be optional).
2004-08-10 20:27:17 +00:00
Greg Lewis fbdb1126e5 . SIZEify. 2004-03-17 16:42:14 +00:00
Greg Lewis 2f5df15115 . It appears as though diablo is problematic on 5.x still, so default to
bootstrapping with the Linux JDK if there isn't a previously compiled
  native one.
2004-02-06 17:03:09 +00:00
Greg Lewis 73ae1039cb . Set an appropriate LATEST_LINK to avoid conflicts with other jdk ports.
Reminded by:	kris
2004-02-06 16:51:50 +00:00
Joe Marcus Clarke 186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Trevor Johnson 78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
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