Commit graph

40 commits

Author SHA1 Message Date
tron
83d814f88d Check for the JRE and not the SDK package to figure which version of the
Sun Java package is installed.
2005-04-20 13:17:40 +00:00
wiz
2db407dce8 Remove wonka support, now that wonka package is gone.
Noted by schmonz@.
2005-04-19 11:54:50 +00:00
tv
fe3c1321bf USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mail
to tech-pkg:

=====

* USE_BUILDLINK3=YES will be unconditional.  (In fact, USE_BUILDLINK3 will
  be ignored altogether by mk/; but see below.)

* NO_BUILDLINK and NO_WRAPPER will be ignored by mk/.  If a build happens,
  these phases will happen.

* The existing NO_BUILD will imply the previous NO_BUILDLINK and NO_WRAPPER.
  If no build happens, those phases are not needed.

* NO_TOOLS will be ignored by mk/.  The tools phase, which provides much
  more than just the C compiler, will always happen regardless of package.
  This will make metapackage builds only slightly slower, in trade for far
  less user error.
2005-03-24 17:46:00 +00:00
tv
614ff30790 Visual cleanup from tv-derecurse:
Consolidate many MAKE_ENVs and SCRIPTS_ENVs into a common block.
(CONFIGURE_ENVs to be done later.)

Introduce new variable ALL_ENV which is automatically included into all
of MAKE_ENV, SCRIPTS_ENV, and CONFIGURE_ENV; this allows much cleaner
addition of the common CC/CXX/CFLAGS/etc. variables needed by all of these.
2005-02-11 16:36:49 +00:00
tv
3c440a0121 Merge down deferred PREPEND_PATH handling from the tv-derecurse branch.
Also merge in deferred CLASSPATH handling, which can now be moved back
to java-vm.mk for cleanliness.
2005-01-24 19:32:33 +00:00
tv
4a31c315e7 Disable win32-jdk for now. It doesn't play well with bulk builds yet. 2005-01-12 17:23:46 +00:00
kristerw
4b4db9826b Make bulk builds mark packages failing due to "no acceptable JVM found"
as unavailable instead of broken.
2004-12-14 00:08:57 +00:00
tv
50627baf77 Add win32-jdk. While here, sort the per-JVM metadata sections by JVM name. 2004-10-11 13:38:18 +00:00
rh
bb15c9ef51 Add and enable {jdk,jre}15 2004-09-30 23:50:33 +00:00
tv
e9da8ba15a jdk12 was never here. "avert your eyes." 2004-07-29 14:43:16 +00:00
tv
cc3839d9bd jdk12 is now in pkgsrc/lang. 2004-07-28 21:15:38 +00:00
wiz
267fc37990 Revert 1.29.
With 1.29, e.g. devel/jgrasp would report:
===> Checking for vulnerabilities in jgrasp-1.7.0
=> Checksum OK for jgrasp170.zip.
===> Extracting for jgrasp-1.7.0
===> Required package : NOT found
===> Verifying reinstall for ../../lang/sun-jre13

even if sun-jre13/sun-jdk13 were already installed.
2004-07-14 13:37:09 +00:00
xtraeme
76fb23ab5c Remove duplicated BUILDLINK_DEPENDS lines, which are not needed because
they are already defined in the buildlink3 files.
2004-07-07 11:25:09 +00:00
wiz
7979f4ef47 Remove support for buildlink2, now that all packages using this
file have been converted to buildlink3.
2004-07-02 22:10:51 +00:00
tron
d669151c27 Use "_JAVA_HOME_DEFAULT" if it is defined instead of using "EVAL_PREFIX".
The later usually returns "${LOCALBASE}" which isn't useful for most of
the packages providing a JVM.
2004-06-09 08:20:22 +00:00
abs
fcdcbb0adb Allow PKG_JVM=jdk14 (once a buildlink file has been added to wip/jdk14) 2004-06-03 20:19:08 +00:00
xtraeme
c7ff8b1ba1 Make sure buildlink3 file exists before trying to use it. 2004-05-05 16:47:12 +00:00
xtraeme
b98188d70a Add buildlink3 bits. 2004-05-02 20:30:44 +00:00
tv
33e409c3fd Revert mistaken commit. 2004-04-26 17:30:06 +00:00
tv
88a61ea18e Make kaffe also sufficient for USE_JAVA2, but bump its DEPENDS to make sure
the version in use is new enough to handle it.

OK'd by xtraeme (current informal kaffe maintainer).
2004-04-06 19:15:13 +00:00
abs
989ec516b5 Match NetBSD-2.* for mapping sun-jdk to sun-jdk14 not sun-jdk13. Also cleanup
NetBSD-2* to NetBSD-2.*
2004-04-02 17:26:21 +00:00
kristerw
b0d34e3b4e Let _ONLY_FOR_PLATFORMS.sun-jdk14 recognize NetBSD 2.0 and future versions. 2004-03-22 04:09:51 +00:00
kristerw
808443fbe1 kaffe and wonka works for "arm" too (not only "arm32"). 2003-10-03 16:38:22 +00:00
dmcmahill
2fbd5a92d4 kaffe now works on alpha 2003-09-23 20:56:33 +00:00
jlam
841b57441b Merge pkgviews-mk branch into the HEAD by running:
cd pkgsrc/mk
	cvs update -Pd -A
	cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-09-02 06:59:37 +00:00
wiz
dcf1d7f5a4 Apply pkgsrc-wip/wip/jdk1x_java-vm.mk.diff to add support for the
jdk12 and jdk13 packages from pkgsrc-wip.
2003-07-29 16:33:07 +00:00
jlam
3372f12ca0 Clarify comments to more explicitly note how to _not_ add the dependency
on the JDK.
2003-05-25 18:39:12 +00:00
abs
886543ff0c sun-jdk defaults to sun-jdk14, but sun-jdk14 does not work reliably
on NetBSD/i386 1.6. I_believe_ it started working around the point
scheduler activations were imported, so give sun-jdk14 to 1.6M and
later, otherwise sun-jdk13.
2003-05-09 11:31:46 +00:00
jschauma
f30ed0c2e4 If a package requires a certain JVM, use that JVM for all dependencies
as well to avoid pulling in an additional, possibly unwanted JVM should
one of the dependencies require any JVM.
2003-03-23 17:30:39 +00:00
dmcmahill
8c25100911 protect one more inclusion of ${_JDK_PKGSRCDIR}/buildlink2.mk with
a check to make sure _JDK_PKGSRCDIR exists.  Now one can create
README.html files for all java pkgs on a system without a JVM.
2003-02-07 01:14:19 +00:00
dmcmahill
cbca7b0604 make this also behave correctly when USE_BUILDLINK2 is not defined as well as _JRE_PKGSRCDIR not being defined 2003-02-06 23:44:07 +00:00
dmcmahill
b83dd54045 only include _JRE_PKGSRCDIR/buildlink2.mk if it exists (allowing things like
make show-var VARNAME=PKGNAME
to work on systems without a JVM.
2003-02-06 23:25:25 +00:00
dmcmahill
2ed8fd1292 on systems where _PKG_JVM is not set, set PKG_FAIL_REASON and set
_PKG_JVM to "none" to avoid makefile errors.
2003-02-06 10:17:38 +00:00
jlam
a37b5c1d19 Use a table-based lookup scheme to pair up JREs to JDKs. 2003-01-29 20:52:01 +00:00
jlam
4f29e75ab3 sun-jdk14 has moved to .../java/sun-1.4. 2003-01-29 19:35:41 +00:00
abs
855c36cf9e Set _JAVA_BASE_CLASSES to classes.zip or wre.jar in java-vm.mk, then use in
bsd.pkg.mk. We are now more wonka friendly.
2003-01-29 09:34:29 +00:00
jlam
bd8b4c9da7 USE_JAVA2 is used to note that the package requires a Java2 implementation.
It's undefined by default, but may be set to "yes".
2002-12-31 14:42:21 +00:00
jlam
0422b46d80 Allow for strangely-cased USE_JAVA values. 2002-12-31 14:39:59 +00:00
jlam
1d658e2753 Check whether USE_BUILDLINK2 is defined before testing its value. 2002-12-28 19:53:57 +00:00
jlam
a0712b80ae Move java.mk to java-vm.mk to avoid name conflict with devel/mk-files as
suggested by Simon J. Gerraty.
2002-12-26 20:52:09 +00:00
Renamed from mk/java.mk (Browse further)