Problems with textproc/iso8879 port?

Antonio Vieiro antonio at antonioshome.net
Fri Jun 11 19:09:50 UTC 2010


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!


More information about the freebsd-questions mailing list