ports/75890: Port net/tkabber breaks "make index" under 4.8

fox at vader.aacc.cc.md.us fox at vader.aacc.cc.md.us
Sat Jan 8 02:03:51 UTC 2005


On Fri, 7 Jan 2005, Volker Stolz wrote:

> In gmane.os.freebsd.devel.ports.bugs, you wrote:
>>> Description:
>> 4.x make(1) doesn't understand -C before src/usr.bin/make/main.c 1.35.2.9 (RELENG_4_9).
>> This causes "make index" in /usr/ports to fail, among other things.
>>
>>  COMMENT=	Tcl/Tk based jabber client
>>
>> -TCLLIBVER!=	${MAKE} -C ${.CURDIR}/../../devel/tcllib -V PORTVERSION
>> +TCLLIBVER!=	${MAKE} -C ${.CURDIR}/../../devel/tcllib -V PORTVERSION 2>/dev/null \
>> +		|| (cd ${.CURDIR}/../../devel/tcllib; ${MAKE} -V PORTVERSION)
>
> Shouldn't it be sufficient to *always* use the latter construct?

Hmm... I think it would be now, but it's not guaranteed to remain that 
way. The second operand of || may not do the same as the first in versions 
(current or future) of make that understand -C. Also, written this way, it 
makes it obvious it's a workaround until versions of FreeBSD with a make 
that doesn't grok -C go away. (meaning 4.8 and below)

-- 
"I'd ask if you'd found the right sort of isolated wasteland for your
citadel of dread yet, but that would be a silly question; you're in Utah,
after all." --ESR to Darl McBride (Chief Excessive Ossifier of Squandered 
Clues Obstination), in http://www.catb.org/~esr/writings/mcbride.html



More information about the freebsd-ports-bugs mailing list