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

Michel Lavondes fox at vader.aacc.cc.md.us
Thu Jan 6 17:50:27 UTC 2005


>Number:         75890
>Category:       ports
>Synopsis:       Port net/tkabber breaks "make index" under 4.8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 06 17:50:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Michel Lavondes
>Release:        4.8-RELEASE-p27
>Organization:
Ecdysiasts United For Overdressing
>Environment:
>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.

The patch attached fixes this, at least on 4.8. (not tested on earlier 4.x releases or on any 5.x release)

Alternatively, this port could be marked BROKEN for 4.8 and earlier releases, but I wasn't able to figure out whether "make index" ignores BROKEN ports.
>How-To-Repeat:
cd /usr/ports
make index
>Fix:
--- ports/net/tkabber/Makefile.orig	Fri Jun 25 09:01:51 2004
+++ ports/net/tkabber/Makefile	Fri Jun 25 12:09:18 2004
@@ -14,7 +14,8 @@
 MAINTAINER=	gonzo at univ.kiev.ua
 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)
 RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
 		${LOCALBASE}/lib/tcllib${TCLLIBVER}/pkgIndex.tcl:${PORTSDIR}/devel/tcllib \
 		${LOCALBASE}/lib/tls/pkgIndex.tcl:${PORTSDIR}/devel/tcltls \
     
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list