Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 20:06:02 -0500
From:      Paul Murphy <pnmurphy@cogeco.ca>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@FreeBSD.ORG, keith@FreeBSD.ORG, piaip@csie.ntu.edu.tw
Subject:   Re: chinese/mozilla-tclp make readme weirdness
Message-ID:  <20030205200602.7528d356.pnmurphy@cogeco.ca>
In-Reply-To: <20030205051723.GA7384@rot13.obsecurity.org>
References:  <20030111151442.56e11711.pnmurphy@cogeco.ca> <20030205051723.GA7384@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.NV(vUEA3xs'MWt
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 4 Feb 2003 21:17:23 -0800
Kris Kennaway <kris@obsecurity.org> wrote:

> On Sat, Jan 11, 2003 at 03:14:42PM -0500, Paul Murphy wrote:
> >  When doing 'make readmes' from /usr/ports (or 'make readme' from
> > /usr/ports/chinese/mozilla-tclp) it proceeds to compile (install?)
> > /usr/ports/www/mozilla.
> > 
> > [earth] /usr/ports/chinese/mozilla-tclp: make readme
> > ===>   Creating README.html for zh-mozilla-tclp-1.U,1
> > Receiving mozilla-source-1.1.tar.gz (40817026 bytes): 4%^C
> > 1651712 bytes transferred in 5.5 seconds (295.91 kBps)
> > fetch: transfer interrupted
> 
> It has a FETCH_DEPENDS on mozilla, which is in itself quite wrong, but
> I'm not sure why it's being invoked by 'make readme'.
> 
> Kris
> 

 Commenting out FETCH_DEPENDS[1] (or faking
'/usr/X11R6/lib/mozilla/mozilla'[2]) leads to this error:

[earth] /usr/ports/chinese/mozilla-tclp: make readmes
===>   Creating README.html for zh-mozilla-tclp-1.U,1
.xpi pretty-print-build-depends-list: not found
.xpi pretty-print-run-depends-list: not found
sed: 1: "s%%BUILD_DEPENDS%%=== ...": unescaped newline inside substitute
pattern*** Error code 1

Stop in /usr/ports/chinese/mozilla-tclp.
*** Error code 1

Stop in /usr/ports/chinese/mozilla-tclp.

 Portlint says the port is OK (except s/{PREFIX}/{X11BASE}/ in
*_DEPENDS)

 Definitely a puzzle ( a 'Chinese puzzle' ;) )

Notes:
[1] '/usr/ports/editors/staroffice52' has a FETCH_DEPENDS and it makes a
readme just fine.
[2] Is there some way to "variablize" this so people who have
'mozilla-devel' installed (and therefore
'/usr/X11R6/lib/mozilla-devel/mozilla') don't build mozilla all over
again, I can see this impacting other ports as well.


[^--crap] [Back from fooling around with the Makefile] [solution--v]

The line...
MOZRV=`${SH} ${FILESDIR}/mozver ${SED} ${PREFIX}/lib/mozilla/mozilla`
.. is what is causing the downloading. If you comment this out
README.html is created no problem!


-- 
Cogeco ergo sum

--=.NV(vUEA3xs'MWt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+QbUCTv5Mxsi/WPMRAhQ+AJ9wxH6kTIuAz8Q55ZGz2aIDrVXPzgCgwqto
4cUyT9e3xc3ymwjEhM2pLOY=
=+4Lw
-----END PGP SIGNATURE-----

--=.NV(vUEA3xs'MWt--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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