From owner-freebsd-ports@FreeBSD.ORG Thu May 19 04:49:45 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F227816A4CE for ; Thu, 19 May 2005 04:49:45 +0000 (GMT) Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DCEC43DC2 for ; Thu, 19 May 2005 04:49:45 +0000 (GMT) (envelope-from conrads@cox.net) Received: from dolphin.local.net ([68.11.70.216]) by lakermmtao09.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050519044938.UQWQ6804.lakermmtao09.cox.net@dolphin.local.net> for ; Thu, 19 May 2005 00:49:38 -0400 Received: from dolphin.local.net (localhost.local.net [IPv6:::1]) by dolphin.local.net (8.13.3/8.13.3) with ESMTP id j4J4ndGg049832 for ; Wed, 18 May 2005 23:49:39 -0500 (CDT) (envelope-from conrads@cox.net) Date: Wed, 18 May 2005 23:49:33 -0500 From: "Conrad J. Sabatier" To: freebsd-ports@freebsd.org Message-ID: <20050518234933.05e2584b@dolphin.local.net> X-Mailer: Sylpheed-Claws 1.0.4a (GTK+ 1.2.10; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Disabling dependency on esound in ports builds X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 04:49:46 -0000 Is there any standardized technique (using portupgrade's /usr/local/etc/pkgtools.conf) for disabling the inclusion of esound for ports which depend on it? I find esound to be a troublesome package which often results in the slowing down or chopping up of audio playback when the system is under moderate to heavy load. For instance, I experimented tonight with building audio/madplay via portupgrade. I found that adding WITHOUT_GNOME=yes to the port's MAKE_ARGS caused the resulting package to be named as simply "madplay", rather than "madplay-esound", yet an "ldd `which madplay`" showed that the resulting binary was still linked against esound. Next, I removed WITHOUT_GNOME=yes and added CONFIGURE_ARGS+="--without-esd", which did indeed produce a binary that did not rely on esound, yet the installed package was still named as "madplay-esound". The only way, it seems, to correctly produce a madplay package that does not depend on esound and whose name reflects this fact is to use both CONFIGURE_ARGS+="--without-esd" and WITHOUT_GNOME=yes in the port's MAKE_ARGS in /usr/local/etc/pkgtools.conf. I'm just wondering if there's a better, standard way to ensure that a given port will not link against esound. If not, perhaps we should try to come up with something. I really don't want *any* of my audio ports to depend on esound, and it would be nice if there were a clear, simple, logical and consistent way to do this. Thanks! -- Conrad J. Sabatier -- "In Unix veritas"