From owner-freebsd-doc Tue Mar 20 17:47:52 2001 Delivered-To: freebsd-doc@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 1ACFA37B73E; Tue, 20 Mar 2001 17:47:50 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 55D5A3E09; Tue, 20 Mar 2001 17:45:56 -0800 (PST) To: obrien@freebsd.org Cc: doc@freebsd.org Subject: Re: OpenJade support isn't complete In-Reply-To: <20010320085504.A28070@dragon.nuxi.com>; from obrien@freebsd.org on "Tue, 20 Mar 2001 08:55:04 -0800" Date: Tue, 20 Mar 2001 17:45:56 -0800 From: Dima Dorfman Message-Id: <20010321014556.55D5A3E09@bazooka.unixfreak.org> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "David O'Brien" writes: > Here is the Makefile after applying your patch: > > .if ${OSVERSION} < 220000 > RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/sp > .else > RUN_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade > .endif > > .if ${MACHINE_ARCH} == "alpha" > WITH_OPENJADE= yes > .endif > > .if defined(WITH_OPENJADE) > RUN_DEPENDS= onsgmls:${PORTSDIR}/textproc/openjade > .endif > > Note that all FreeBSD/Alpha machines have OSVERSION > 220000. Thus > nsgmls:${PORTSDIR}/textproc/jade before we even check to see if we are an > Alpha. I believe the patch I posted to be correct over this one. I think our patches do the same thing. The reason your release build failed was because WITH_OPENJADE was set for the Alpha case after it was checked for, so it ended up using and installing jade; both of our patches fix that by moving the check up. The WITH_OPENJADE logic isn't broken. Looking at the last three lines above, RUN_DEPENDS is set to *just* openjade if WITH_OPENJADE is defined (did you misread that as "RUN_DEPENDS+=" (with the plus)?). That said, I think your patch results in a more easily-understood Makefile, and thus should be used in favor of mine. Regards Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message