From owner-freebsd-current@FreeBSD.ORG Mon Aug 31 15:49:34 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC0C91065676 for ; Mon, 31 Aug 2009 15:49:34 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3C28FC16 for ; Mon, 31 Aug 2009 15:49:34 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 605841998F7 for ; Mon, 31 Aug 2009 17:49:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 53FA61998D7 for ; Mon, 31 Aug 2009 17:49:26 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 3C79C1998CE for ; Mon, 31 Aug 2009 17:49:26 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2FP1HF244) with ESMTP id 2009083117492519-13359 ; Mon, 31 Aug 2009 17:49:25 +0200 Received: by wep4035 (sSMTP sendmail emulation); Mon, 31 Aug 2009 17:49:24 +0200 Date: Mon, 31 Aug 2009 17:49:24 +0200 From: Alexey Shuvaev To: freebsd-current@freebsd.org Message-ID: <20090831154924.GA40259@wep4035.physik.uni-wuerzburg.de> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 User-Agent: Mutt/1.4.2.3i Organization: Universitaet Wuerzburg X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2FP1HF244 | April 7, 2009) at 08/31/2009 05:49:25 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2FP1HF244 | April 7, 2009) at 08/31/2009 05:49:26 PM, Serialize complete at 08/31/2009 05:49:26 PM Content-Type: multipart/mixed; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Subject: Update pkg_install to support 9-CURRENT. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 15:49:35 -0000 --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--