From owner-freebsd-ports@FreeBSD.ORG Fri Aug 3 21:50:13 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF7E16A419 for ; Fri, 3 Aug 2007 21:50:13 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 1794713C46A for ; Fri, 3 Aug 2007 21:50:12 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bsam.ru ([85.172.12.174]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l73LTxGb095507 for ; Sat, 4 Aug 2007 01:30:10 +0400 (MSD) Received: (from bsam@localhost) by bsam.ru (8.14.1/8.14.1/Submit) id l73LUFVs001717; Sat, 4 Aug 2007 01:30:15 +0400 (MSD) (envelope-from bsam@ipt.ru) X-Authentication-Warning: bsam.ru: bsam set sender to bsam@ipt.ru using -f To: freebsd-ports@freebsd.org From: Boris Samorodov Date: Sat, 04 Aug 2007 01:30:05 +0400 Message-ID: <52921778@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: ldconfig when PACKAGE_BUILDING=YES (and linux ports) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 21:50:13 -0000 Hi! Seems that running ldconfig while building a package at package cluster (i.e. when PACKAGE_BUILDING is defined) is quite useless. [1] To be more specific I'm interested at linux ports. ATM we run linux ldconfig (using linuxulator) _at package building_. Hence to create a package for FC6 port we should change compat.linux.osrelease (which I don't like and try to avoid). If the "ldconfig" stage may be skipped when PACKAGE_BUILDING is defined then things get way too easier both for default kernel linux.osrelease and default linux_base port change. What do you think? [1] Actually, I see only one reason to run it -- to test if it runs. ;-) WBR -- bsam