From owner-freebsd-questions@FreeBSD.ORG Fri Jun 11 19:09:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 676CB1065677 for ; Fri, 11 Jun 2010 19:09:50 +0000 (UTC) (envelope-from antonio@antonioshome.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C38F98FC1A for ; Fri, 11 Jun 2010 19:09:49 +0000 (UTC) Received: by fxm7 with SMTP id 7so1191050fxm.13 for ; Fri, 11 Jun 2010 12:09:48 -0700 (PDT) Received: by 10.216.85.196 with SMTP id u46mr531276wee.114.1276283387557; Fri, 11 Jun 2010 12:09:47 -0700 (PDT) Received: from [192.168.1.10] (255.pool85-54-56.dynamic.orange.es [85.54.56.255]) by mx.google.com with ESMTPS id d37sm717682wej.18.2010.06.11.12.09.46 (version=SSLv3 cipher=RC4-MD5); Fri, 11 Jun 2010 12:09:46 -0700 (PDT) Message-ID: <4C1289C0.1010807@antonioshome.net> Date: Fri, 11 Jun 2010 21:08:48 +0200 From: Antonio Vieiro User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1.5) Gecko/20091123 Lightning/1.0pre Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C127A47.8070706@antonioshome.net> <20100611192341.000020a1@unknown> <20100611183410.GA36450@dan.emsphone.com> In-Reply-To: <20100611183410.GA36450@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Problems with textproc/iso8879 port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 19:09:50 -0000 On 11/06/10 20:34, Dan Nelson wrote: >>> If I remove the file in /usr/ports/distfiles/isoENTS.zip and try >>> again the build fails too: >> >> It looks like a problem with the zip command in >> textproc/iso8879/Makefile: >> >> @${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR} > > The -d option to unzip is dangerous imho, since it's in the wrong location > (at the end of the comamndline, after everything else). Safer to use > > cd ${INSTDIR}&& ${UNZIP_CMD} -q -o ${DISTDIR}/${DISTFILES} > Thanks all for this. I got it working (docbook is being installed as I write this and yes, I'm using the new parallel make on a QuadCore and things fly indeed [1] ). As I'm still a FreeBSD newbie I don't dare to write a patch for this yet. (I still have to learn what ${EXTRACT_BEFORE_ARGS} means in that makefile, for instance). I'm a little bit overwhelmed with FreeBSD documentation. I've just found the "FreeBSD Porter's Handbook". I think I should read that first. Thanks again, Antonio [1] Excerpt from "top -P" while running make... CPU 0: 75.3% user, 0.0% nice, 12.0% system, 0.0% interrupt, 12.7% idle CPU 1: 77.9% user, 0.0% nice, 9.4% system, 0.0% interrupt, 12.7% idle CPU 2: 85.0% user, 0.0% nice, 10.5% system, 0.0% interrupt, 4.5% idle CPU 3: 93.6% user, 0.0% nice, 4.9% system, 0.0% interrupt, 1.5% idle I just love that!