ports/89499: [PATCH] upgrade to use INDEX-7 on current
Niclas Zeising
lothrandil at n00b.apagnu.se
Thu Nov 24 18:41:09 UTC 2005
>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:
More information about the freebsd-ports-bugs
mailing list