Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2009 17:49:24 +0200
From:      Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
To:        freebsd-current@freebsd.org
Subject:   Update pkg_install to support 9-CURRENT.
Message-ID:  <20090831154924.GA40259@wep4035.physik.uni-wuerzburg.de>

next in thread | raw e-mail | index | archive | help

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello list!

Any plans to update pkg_install so it finds INDEX-9?

Thanks,
Alexey.

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-lib.h"

--- lib.h.orig	2009-08-31 17:37:35.000000000 +0200
+++ lib.h	2009-08-31 17:38:45.000000000 +0200
@@ -84,7 +84,9 @@
 #define DISPLAY_FNAME		"+DISPLAY"
 #define MTREE_FNAME		"+MTREE_DIRS"
 
-#if defined(__FreeBSD_version) && __FreeBSD_version >= 800000
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900000
+#define INDEX_FNAME		"INDEX-9"
+#elif defined(__FreeBSD_version) && __FreeBSD_version >= 800000
 #define INDEX_FNAME		"INDEX-8"
 #elif defined(__FreeBSD_version) && __FreeBSD_version >= 700000
 #define INDEX_FNAME		"INDEX-7"

--fdj2RfSjLxBAspz7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090831154924.GA40259>