From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 23:58:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DBBC106564A for ; Fri, 1 Apr 2011 23:58:06 +0000 (UTC) (envelope-from christopher-ml@telting.org) Received: from mail.telting.org (mail.telting.org [204.109.56.249]) by mx1.freebsd.org (Postfix) with ESMTP id 3EE928FC0C for ; Fri, 1 Apr 2011 23:58:06 +0000 (UTC) Received: from apollo.local (cpe-76-168-204-255.socal.res.rr.com [76.168.204.255]) by mail.telting.org (Postfix) with ESMTP id 7DFFD2AA7D for ; Fri, 1 Apr 2011 23:58:05 +0000 (UTC) Message-ID: <4D96668C.3090406@telting.org> Date: Fri, 01 Apr 2011 16:58:04 -0700 From: Chris Telting User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.15) Gecko/20110305 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Port dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 23:58:06 -0000 Just in a thoughtful mood and thought I'd to the question to the cloud. One of my biggest gripes with the ports system is dependency hell. Ports link against so my optional components and pull them into the install. Libraries and components are built based on make file defines. But this doesn't have to be so. It's possible and easy enough to check a running system for which libraries are installed and only if a feature is enabled to load the library. The number of console programs that want to pull in X window or kde is my boggling. Knowing how to program myself when I see a "make config" menu on every single port it makes me want to cry. I think the "make config" menus should have everything checked by default and only be provided to prevent things from being compiled such as for embedded devices. My question is why is this so? Why can't programs do more run time configuration? Is a configuration run time system library needed to make it easier? Chris