From owner-freebsd-ports Tue Mar 13 7:10:51 2001 Delivered-To: freebsd-ports@freebsd.org Received: from cartier.cirx.org (cartier.cirx.org [211.72.15.243]) by hub.freebsd.org (Postfix) with ESMTP id E4FE037B72C; Tue, 13 Mar 2001 07:10:44 -0800 (PST) (envelope-from clive@CirX.ORG) Received: from cartier.cirx.org (nullmail@localhost [127.0.0.1]) by cartier.cirx.org (8.11.3/8.11.3) with SMTP id f2DFAeh64263; Tue, 13 Mar 2001 23:10:40 +0800 (CST) (envelope-from clive@CirX.ORG) Received: (nullmailer pid 64259 invoked by uid 1000); Tue, 13 Mar 2001 15:10:40 -0000 Date: Tue, 13 Mar 2001 23:10:40 +0800 From: Clive Lin To: FUJISHIMA Satsuki Cc: freebsd-ports@FreeBSD.org, asami@FreeBSD.org Subject: XFREE86_VERSION=4 implies USE_IMAKE (WAS: Re: ports/25716: Patch of chinput-2.1) Message-ID: <20010313231040.A63966@cartier.cirx.org> References: <200103121050.f2CAo4p92298@freefall.freebsd.org> <867l1v589k.wl@cheerful.com> <20010313173512.A61037@cartier.cirx.org> <86snkh4u1r.wl@cheerful.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <86snkh4u1r.wl@cheerful.com>; from sf@FreeBSD.org on Tue, Mar 13, 2001 at 11:34:08PM +0900 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Mar 13, 2001 at 11:34:08PM +0900, FUJISHIMA Satsuki wrote: > At Tue, 13 Mar 2001 17:35:12 +0800, > Clive Lin wrote: > > After discovering what's going on in bsd.port.mk, > > I think diff below may be more accurate: > > > > diff -u -r1.6 Makefile > > --- Makefile 2000/11/16 15:36:06 1.6 > > +++ Makefile 2001/03/13 09:23:19 > > @@ -16,6 +16,7 @@ > > MAINTAINER= phj@cn.FreeBSD.org > > > > USE_XLIB= yes > > +USE_IMAKE= yes > > > > WRKSRC= ${WRKDIR}/${PORTNAME} > > Really? > > USE_IMAKE excutes imake at do-configure, this port doesn't come > with Imakefile, imake dies, period. Heh, well, I didn't really test it, I don't know what will really happen. I only dig into /usr/port/Mk/bsd.port.mk and it seems that .if defined(USE_IMAKE) BUILD_DEPENDS+= imake:${PORTSDIR}/devel/imake-4 .endif but I can't find something which would utilize imake, like CONFIGURE_ENV+= MAKE=${GMAKE} Uh, this issue is not important.... please see below... > > a) If I type 'make all-depends-list' under chinese/chinput, > > it will shows imake-4 and XFree86-4-libraries as dependencies. > > > > b) Why bento didn't add imake-4 ? > > Perhaps you added USE_IMAKE=yes locally and not committed it? :-) If XFREE86_VERSION=4 is defined in /etc/make.conf or just pass it by export/env (this is bento's way), a 'make all-depends-list' would list imake as a dependency... as long as that port USE_X_PREFIX. This is confusing when I switch to XFree86-4.. bsd.port.mk said USE_IMAKE would imply USE_X_PREFIX. But in fact, USE_X_PREFIX also implies USE_IMAKE when XFREE86_VERSION=4. I believe this is supposed to be a undocumented feature or just a bug. I did it on freefall, even a fresh-installed 4.3-BETA inside my vmware2, and I got all the same result... X clive@freefall /usr/ports/x11-wm/enlightenment> env XFREE86_VERSION=4 make all-depends-list|grep imake /usr/ports/devel/imake-4 X clive@freefall /usr/ports/x11-wm/enlightenment> cd /usr/ports/chinese/chinput X clive@freefall /usr/ports/chinese/chinput> !env env XFREE86_VERSION=4 make all-depends-list | grep imake /usr/ports/devel/imake-4 Okay okay, finally I decide to build a jail, and watch what would happen. Below is the result: /usr/ports/chinese/chinput> sudo env XFREE86_VERSION=4 make all >> zh-chinput-2.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://bsd.sinica.edu.tw/pub/FreeBSD/distfiles//. Receiving zh-chinput-2.1.tar.gz (4968670 bytes): 100% 4968670 bytes transferred in 8.1 seconds (601.98 kBps) ===> Extracting for zh-chinput-2.1_1 >> Checksum OK for zh-chinput-2.1.tar.gz. ===> zh-chinput-2.1_1 depends on shared library: X11.6 - not found ===> Verifying install for X11.6 in /usr/ports/x11/XFree86-4-libraries >> X401src-1.tgz doesn't seem to exist in /usr/ports/distfiles/xc. >> Attempting to fetch from ftp://bsd.sinica.edu.tw/pub/FreeBSD/distfiles/xc/. Receiving X401src-1.tgz (21994230 bytes): 100% 21994230 bytes transferred in 44.4 seconds (483.53 kBps) ===> Extracting for XFree86-libraries-4.0.1_2 >> Checksum OK for xc/X401src-1.tgz. ===> XFree86-libraries-4.0.1_2 depends on executable: imake - not found ===> Verifying install for imake in /usr/ports/devel/imake-4 ===> Extracting for imake-4.0.1 >> Checksum OK for xc/X401src-1.tgz. ^Z Suspended Quite clear, isn't it? There must be something wrong on bento or in our bsd.port.mk ... -- pub 1024D/F8D2B472 2000-08-05 Clive Lin Key fingerprint = 7F9D 57A8 55C7 AA18 49B5 3820 570B 27F6 F8D2 B472 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message