Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 21:08:48 +0200
From:      Antonio Vieiro <antonio@antonioshome.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems with textproc/iso8879 port?
Message-ID:  <4C1289C0.1010807@antonioshome.net>
In-Reply-To: <20100611183410.GA36450@dan.emsphone.com>
References:  <4C127A47.8070706@antonioshome.net>	<20100611192341.000020a1@unknown> <20100611183410.GA36450@dan.emsphone.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1289C0.1010807>