Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2003 16:45:14 -0500
From:      Tim Vanderhoek <vanderh@ecf.utoronto.ca>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Richard <richard@unixguru.nl>, Eugene <eugene@emetex.ru>, freebsd-stable@FreeBSD.ORG, portmgr@FreeBSD.ORG
Subject:   Re: readmes
Message-ID:  <20030118214514.GB57840@turquoise>
In-Reply-To: <20030116210401.GB32710@rot13.obsecurity.org>
References:  <20030116123702.GA98828@emetex.ru> <20030116164448.C28170@mail.unixguru.nl> <20030116210401.GB32710@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 16, 2003 at 01:04:01PM -0800, Kris Kennaway wrote:
> On Thu, Jan 16, 2003 at 04:51:47PM +0100, Richard wrote:
> > On Thu, 16 Jan 2003, Eugene wrote:
> > 
> > > ===>   Creating README.html for cdk-4.9.10-20020809_1
> > > /bin/sh:Argument list too long
> > > *** Error code 1
> > 
> > I think we have to much ports :-))
> 
> Perhaps, but this particular error is probably caused by cdk
> containing a zillion manpages.  Talk to the cdk maintainer about it
> (alane@FreeBSD.org).

I'm not sure that this is it either.   See:

turquoise# perl -pe 's/^\S*\s*//' maninfo.mk | wc
     703    1374   23948
turquoise#

Even if this was only MAN? variables, then it should still fit
within the maximum number of manpages.  In reality, it's split
between MANLINKS and MAN? pages, which means that this port should
actually be quite far from the maximum number of manpages.

I'm not sure why Eugene gets this error.  I was able to do a
'make readmes' in /ports/devel/.  An annoying bug that re-appeared
in a different form is that 'make readmes' in /usr/ports doesn't
work if the directory /usr/obj/usr/ports/ exists.  :-(

When I try to duplicate Eugene's error, the 'make readmes' dies while
in chinese/mozilla-tclp with the error:

===>   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 patte
rn
*** Error code 1
Stop in /usr/ports/chinese/mozilla-tclp.


BTW: One line in bsd.port.subdir.mk looks wrong.  It dates back
to rev 1.31.  I wonder if it worked then with the older make(1)
command?  I'd like to think it did.  :)

Regardless, the following patch should be applied to bsd.port.subdir.mk:

[Please consider this patch to be submitted to portmgr@ .]


--- /usr/ports/Mk/~bsd.port.subdir.mk	Sat Jan 18 16:16:01 2003
+++ /usr/ports/Mk/bsd.port.subdir.mk	Sat Jan 18 16:16:10 2003
@@ -128,17 +128,19 @@
 	fi; \
 	if [ "$$OK" = "" ]; then \
 		${ECHO_MSG} "===> ${DIRPRFX}$${edir}"; \
 		cd ${.CURDIR}/$${edir}; \
 		${MAKE} -B ${.TARGET:E:realinstall=install} \
 			DIRPRFX=${DIRPRFX}$$edir/; \
 	fi
 
-${SUBDIR}:: ${SUBDIR:S/$/.all/}
+.for _subdir in ${SUBDIR}
+${_subdir}::	${_subdir:S/$/.all/}
+.endfor
 
 .endif
 
 .if !target(install)
 .if !target(beforeinstall)
 beforeinstall:
 .endif
 .if !target(afterinstall)



-- 
If I could think of a two-line witty aphorism for you to remember
me by, this would definitely be it.

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




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