From owner-freebsd-ports@FreeBSD.ORG Mon Sep 20 20:04:41 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81857106566C for ; Mon, 20 Sep 2010 20:04:41 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id CC4178FC08 for ; Mon, 20 Sep 2010 20:04:40 +0000 (UTC) Received: (qmail invoked by alias); 20 Sep 2010 20:04:38 -0000 Received: from u18-124.dsl.vianetworks.de (EHLO [172.20.1.100]) [194.231.39.124] by mail.gmx.net (mp068) with SMTP; 20 Sep 2010 22:04:38 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX18SEuRRreISLjXiYOCyipCuW1FdH7jz5ajpJcGYTl 4Wsca2oi/hDJJd Message-ID: <4C97BEF4.8030607@gmx.de> Date: Mon, 20 Sep 2010 22:07:16 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20100917153118.f5ae90bd.web@3dresearch.com> <20100920013759.c769e845.web@3dresearch.com> In-Reply-To: <20100920013759.c769e845.web@3dresearch.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Janos Dohanics Subject: Re: x11/kdelibs4 build fails, can't find docbook X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 20:04:41 -0000 On 2010-09-20 07:37, Janos Dohanics wrote: > On Fri, 17 Sep 2010 15:31:18 -0400 > Janos Dohanics wrote: > >> While building kde4-4.5.1, I get this error: >> >> # make install clean >> ===> kde4-4.5.1 depends on file: /usr/local/kde4/bin/kdebugdialog - >> not found ===> Verifying install >> [...] > > I did some basic troubleshooting, and found that the files do not get > installed in /usr/local/share/xml/docbook/4.2/, except > the /usr/local/share/xml/docbook/4.2/ent directory is created. > > This seems to be happening because the port uses /usr/bin/unzip instead > of /usr/local/bin/unzip. > > How can I change this behavior so /usr/local/bin/unzip would be used? > If you haven't redefined UNZIP_CMD or LOCALBASE somewhere ${LOCALBASE}/bin/unzip will be used. You can test this with the follwing command in the directory of the port where you think the wrong unzip will be used. In case of docbook-420/docbook-xml cd ${PORTSDIR}/textproc/docbook-(420|xml) make -V UNZIP_CMD make -V EXTRACT_CMD But wait, in your previous mail you have only docbook-4.1 and not docbook-4.2 in the "portversion -vF docbook*" listing which is needed to install docbook-xml correct.