cvs commit: ports Makefile ports/Mk bsd.port.mk bsd.port.subdir.mk ports/converters/mule-ucs Makefile ports/converters/mule-ucs-emacs20 Makefile ports/databases/bbdb Makefile ports/databases/bbdb-emacs20 Makefile ports/databases/gnats4 ...

Peter Jeremy peterjeremy at optushome.com.au
Wed Feb 1 02:12:58 PST 2006


On Wed, 2006-Feb-01 01:48:36 -0500, Kris Kennaway wrote:
>On Wed, Feb 01, 2006 at 05:15:51PM +1100, Peter Jeremy wrote:
>> I've done some checking and if I change PORTSDIR to /home/ports then
>> the messages disappear.  This implies that PORTSDIR must be the
>> absolute pathname - which isn't mentioned in the documentation.
>
>There's an old PR about it:
>
>  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/35767
>
>I'm actually surprised to hear that it started working at some point.

I did some more digging and it seems that I had a work-around for this
bug but accidently deleted it when I upgraded my ports/Makefile

I've checked and the following fix works for me:
Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/Makefile,v
retrieving revision 1.95
diff -u -r1.95 Makefile
--- Makefile	28 Jan 2006 02:11:04 -0000	1.95
+++ Makefile	1 Feb 2006 08:37:29 -0000
@@ -122,7 +122,7 @@
 			echo; \
 		fi; \
 		exit 1); \
-	cat $${tmpdir}/${INDEXFILE}.desc.* | perl ${.CURDIR}/Tools/make_index | \
+	cat $${tmpdir}/${INDEXFILE}.desc.* | (cd ${.CURDIR} ; perl ${.CURDIR}/Tools/make_index) | \
 		sed -e 's/  */ /g' -e 's/|  */|/g' -e 's/  *|/|/g' -e 's./..g' | \
 		sort -t '|' +1 -2 | \
 		sed -e 's../.g' > ${INDEXDIR}/${INDEXFILE}.tmp; \

Sorry for the false alarm.  I'll attach the above to ports/35767

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060201/ebf35fd7/attachment.bin


More information about the cvs-all mailing list