Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 13:34:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        pav@freebsd.org, Antonio Vieiro <antonio@antonioshome.net>, freebsd-questions@freebsd.org
Subject:   Re: Problems with textproc/iso8879 port?
Message-ID:  <20100611183410.GA36450@dan.emsphone.com>
In-Reply-To: <20100611192341.000020a1@unknown>
References:  <4C127A47.8070706@antonioshome.net> <20100611192341.000020a1@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 11), Bruce Cran said:
> On Fri, 11 Jun 2010 20:02:47 +0200
> Antonio Vieiro <antonio@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@allantgroup.com



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