From owner-freebsd-ports Tue Mar 13 8:25:40 2001 Delivered-To: freebsd-ports@freebsd.org Received: from m08.alpha-net.ne.jp (m08.alpha-net.ne.jp [210.229.64.38]) by hub.freebsd.org (Postfix) with ESMTP id 8765137B726; Tue, 13 Mar 2001 08:25:35 -0800 (PST) (envelope-from sf@FreeBSD.org) Received: from kyoto-tc011-p74.alpha-net.ne.jp (kyoto-tc011-p74.alpha-net.ne.jp [210.237.119.74]) by m08.alpha-net.ne.jp (8.9.3/3.7W) with ESMTP id BAA25156; Wed, 14 Mar 2001 01:25:26 +0900 (JST) Received: from souffle.bogus-local.net (localhost [::1]) by kyoto-tc011-p74.alpha-net.ne.jp (Postfix) with ESMTP id C65A516B56; Wed, 14 Mar 2001 01:25:26 +0900 (JST) Date: Wed, 14 Mar 2001 01:25:26 +0900 Message-ID: <86ofv54ow9.wl@cheerful.com> From: FUJISHIMA Satsuki To: Clive Lin Cc: freebsd-ports@FreeBSD.org, asami@FreeBSD.org Subject: Re: XFREE86_VERSION=4 implies USE_IMAKE (WAS: Re: ports/25716: Patch of chinput-2.1) In-Reply-To: <20010313231040.A63966@cartier.cirx.org> References: <200103121050.f2CAo4p92298@freefall.freebsd.org> <867l1v589k.wl@cheerful.com> <20010313173512.A61037@cartier.cirx.org> <86snkh4u1r.wl@cheerful.com> <20010313231040.A63966@cartier.cirx.org> User-Agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I think you should aware of differences between RUN_DEPENDS and BUILD_DEPENDS. At Tue, 13 Mar 2001 23:10:40 +0800, Clive Lin wrote: > 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. This is not correct. all-depends-list searches *entire* dependency recursively. imake-4 dependency you found with USE_X_PREFIX is BUILD_DEPENDS of x11/XFree86-4-libraries. XFree86-4-libraries depends on imake-4 at BUILD and not RUN. zh-chinput depends on XFree86-4-libraries at BUILD and RUN. There's no dependency on imake-4 specified in chinput/Makefile then, you should add it BUILD_DEPENDS on imake-4. > /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 ... Nothing wrong. It tells only XFree86-4-libraries needs imake-4 to build. If you need imake to build chinput, then add dependency on it. -- FUJISHIMA Satsuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message