Date: Thu, 24 Nov 2005 18:28:25 GMT From: Niclas Zeising <lothrandil@n00b.apagnu.se> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/89499: [PATCH] upgrade to use INDEX-7 on current Message-ID: <200511241828.jAOISPHw042589@www.freebsd.org> Resent-Message-ID: <200511241840.jAOIe2Xq007554@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89499 >Category: ports >Synopsis: [PATCH] upgrade to use INDEX-7 on current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Nov 24 18:40:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Niclas Zeising >Release: 7-CURRENT >Organization: >Environment: >Description: When doing make pretty-print-[build,run]-depends-list in random port make complains about not finding INDEX-7. Doing make fetchindex fetches INDEX-6 and make index makes a INDEX-6. I think someone has forgotten to update the file bsd.port.subdir.mk to reflect the fact that HEAD is 7-current and not 6-current anymore. >How-To-Repeat: Just do 'make pretty-print-[build,run]-depends-list' in a random port on a 7-current system with newly cvsuped ports tree. make fetchindex or make index will give you the wrong INDEX-file >Fix: The following patch worked for me, although I don't know if an upgrade is needed in other places as well. --- ports/Mk/bsd.port.subdir.mk.orig Tue Nov 22 17:47:35 2005 +++ ports/Mk/bsd.port.subdir.mk Tue Nov 22 17:53:23 2005 @@ -265,7 +265,9 @@ .endif COMMENTFILE?= ${.CURDIR}/pkg/COMMENT DESCR?= ${.CURDIR}/pkg/DESCR -.if ${OSVERSION} >= 600000 +.if ${OSVERSION} >= 700000 +INDEXFILE?= INDEX-7 +.elif ${OSVERSION} >= 600000 INDEXFILE?= INDEX-6 .elif ${OSVERSION} >= 500036 INDEXFILE?= INDEX-5 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511241828.jAOISPHw042589>