From owner-freebsd-questions Tue Dec 5 8:24:18 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 08:24:16 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 9007F37B401 for ; Tue, 5 Dec 2000 08:24:15 -0800 (PST) Received: (qmail 63623 invoked by uid 100); 5 Dec 2000 16:24:09 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14893.5801.782876.521076@guru.mired.org> Date: Tue, 5 Dec 2000 10:24:09 -0600 (CST) To: Ken Bolingbroke Cc: questions@freebsd.org Subject: Re: Advanced Ports usage In-Reply-To: <117493106@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Message: You should get a better mailer. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ken Bolingbroke types: > So, is it possible to build ports on the master machine, such that if it > requires a dependency, the master will build, but not install the > dependency, and later the end-user machine can install both the primary > port and the dependancies needed? I really don't want to be cluttering up > the master machine with all sorts of ports that I don't need, when I'm > only building them for the slower clients. In general, no. There are a number of categories of dependency, and some of them are required on the build machine to actually build the port. In fact, the only category that is not clearly needed is RUN_DEPENDS, and those aren't installed until you do a "make install" as things are now. In other words, you've got what you want for this as close as you can get it without restructuring the system. > Also, the Ports don't seem to honor NOMAN=true in /etc/make.conf. I don't see that mentioned in /etd/defaults/make.conf or the make.conf man page, so it doesn't surprise me that it doesn't work. > In fact, in an ideal world, I'd like to install the manpages and > buildtime-only dependancies on just the master machine, and install only > the runtime binaries/configurations on the client machines, just to keep > everything nice and clean... That makes a lot of sense to me, but it's not currently supported. On the other hand, a custom script that built packages sans man pages and deinstalled what what went into the packages should be straightforward (packages are built from *installed* ports). You could even have it modify the +CONTENTS file in /var/db/pkg to reflect what it left behind. http://www.mired.org/home/mwm/ Independent WWW/Unix/FreeBSD consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message