Problems with textproc/iso8879 port?
Dan Nelson
dnelson at allantgroup.com
Fri Jun 11 18:34:14 UTC 2010
In the last episode (Jun 11), Bruce Cran said:
> On Fri, 11 Jun 2010 20:02:47 +0200
> Antonio Vieiro <antonio at antonioshome.net> wrote:
>
> > I'm trying to install port "iso8879" in 8.0-RELEASE (needed by
> > docbook and by gnome and wxgtk28) and I'm getting the problem below.
> >
> > I contacted the maintainer without success. Any ideas, anyone?
>
> > ===> Checking if textproc/iso8879 already installed
> > Archive: /usr/ports/distfiles/isoENTS.zip
> > caution: filename not matched: -d
> > caution: filename not matched: /usr/local/share/sgml/iso8879
> > *** Error code 11
> >
> > 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}
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list