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.
--- 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"
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to