Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 01:25:26 +0900
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        Clive Lin <clive@CirX.ORG>
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)
Message-ID:  <86ofv54ow9.wl@cheerful.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ofv54ow9.wl>