Commit graph

59 commits

Author SHA1 Message Date
jlam
6989e7a043 Automatically substitute for JAVA_HOME and PKG_JAVA_HOME in PLISTs. 2007-08-02 18:04:48 +00:00
abs
11b2fc360a add jdk15, modelled on jdk14 2007-06-11 07:03:18 +00:00
rillig
4b882aadae Added the variable JAVA_BINPREFIX containing the prefix to the wrapped
Java binaries. This makes it easier for packages to call the wrapper
instead of the direct binary. See games/cgoban-java/Makefile revision
1.39 for the current approach and the following revision for the simpler
one.

Added _VARGROUPS. Doing that, I realized that BUILD_DEFS corresponds to
_USER_VARS.* and BUILD_DEFS_EFFECTS to _SYS_VARS.*. This redundancy may
be removed in the future.

Removed a redundant comment.
2007-06-05 13:35:06 +00:00
tv
a85c47118c Remove win32-jdk. This never really worked, and probably never will work
properly enough for pkgsrc use.
2007-04-04 14:32:52 +00:00
rillig
a65c6021a4 Changed the default Java Virtual Machine for NetBSD and Linux from "jdk"
(JDK 1.1.8) to "sun-jdk" (any Sun JDK >= 1.2), since JDK 1.1.8 has been
crashing for some NetBSD bulk builds for over a year now.
2007-02-22 23:52:58 +00:00
tv
6e168c7c12 Add support for sun-j{dk,re}6. 2007-02-18 19:12:07 +00:00
rillig
7438982732 Sorted the _ONLY_FOR_PLATFORM.* lists so that each operating system has
its own line. Since NetBSD 1.6 has been EOL'd, replaced the special
entries with more generic ones, like NetBSD-*-i386.
2007-02-16 11:13:02 +00:00
rillig
f6a8043bf5 Replaced the deprecated PKG_SKIP_REASON with PKG_FAIL_REASON. 2007-02-10 08:59:07 +00:00
joerg
f05a8245ab Add FreeBSD 6. From Peter Schuller in private mail. 2007-01-30 17:47:39 +00:00
wiz
f8eed68681 Claim NetBSD-[2-9].*-x86_64 as supported by sun-jdk15, to let
the java framework recognize the amd64 support in sun-jre15.
2006-12-03 13:06:15 +00:00
rillig
221e277e28 Since PKG_JVM is not user-settable, it must not be added to BUILD_DEFS.
For that purpose, BUILD_DEFS_EFFECTS has just been introduced.
2006-11-04 21:56:49 +00:00
rillig
9ede2eae60 Made the code that selects the possible Java VMs much simpler. 2006-11-04 21:22:30 +00:00
rillig
7819d3baf1 Brought the comment into "pkgsrc comment normal form". 2006-11-04 21:02:57 +00:00
tv
db1ad83be6 Add scsl-jdk15 and scsl-jre15, SCSL licensed versions of sun-jdk15 and
sun-jre15, but running natively on NetBSD (so far).
2006-05-15 19:44:06 +00:00
minskim
a1e71190d2 Allow to use sun-jdk15 on Darwin-8, and sun-jdk14 on Darwin-[678].
Also make sun-jdk15 the default java on Darwin-8.  This addresses PR pkg/32013.
2006-05-10 07:25:03 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
1f6a39a84e First step at reworking Linux binary packages.
Change most pkgs to depend on either
emulators/suse_linux/Makefile.application (normal pkgs) or
Makefile.common (suse91 and suse themselves) to filter out Operating
Systems without Linux ABI support. Use CPU masks to limit the pkg to
supported platforms.
2005-12-12 14:43:23 +00:00
rillig
999f8b6e04 Applied all quoting fixes found by "pkglint --autofix". 2005-12-05 22:07:07 +00:00
abs
4c051b2ece Allow USE_JAVA2 to (optionally) be set to 1.4 or 1.5, and use in tomcat55 2005-06-02 10:07:48 +00:00
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