Issues with portmaster
Alexey Shuvaev
shuvaev at physik.uni-wuerzburg.de
Mon Jun 23 08:43:14 UTC 2008
Hello!
On Mon, Jun 23, 2008 at 12:49:22AM -0700, Doug Barton wrote:
> Alex Dupre wrote:
>> Doug Barton ha scritto:
>>> Portmaster uses CONFLICTS to avoid this issue.
>>
>> I can't see how CONFLICTS could solve this issue: we can install all
>> the JDKs together without problems
>
It seems I don't understand something here. Can someone explain why
jdk ports need to set BUILD_DEPENDS on diablo-jdk15 unconditionally?
Why it is not possible to define it inside 'if !defined(BOOTSTRAPJDKDIR)'?
(See attached patch.)
Just curious,
Alexey.
-------------- next part --------------
--- Makefile.orig 2008-06-23 10:33:59.000000000 +0200
+++ Makefile 2008-06-23 10:34:36.000000000 +0200
@@ -108,9 +108,8 @@
# if no valid jdk found, set dependency
.if !defined(BOOTSTRAPJDKDIR)
BOOTSTRAPJDKDIR?= ${LOCALBASE}/diablo-jdk1.5.0
-.endif
-
BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15
+.endif
.if defined(WITHOUT_WEB)
MAKE_ENV+= DONT_BUILD_DEPLOY="YES"
More information about the freebsd-ports
mailing list