From owner-freebsd-questions Wed Sep 29 20:55:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 9D54C1529A for ; Wed, 29 Sep 1999 20:55:37 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA02002; Wed, 29 Sep 1999 23:58:31 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199909300358.XAA02002@cc942873-a.ewndsr1.nj.home.com> Subject: Re: make world question In-Reply-To: from Jeremy Shaffner at "Sep 29, 1999 02:47:27 pm" To: jer@jorsm.com (Jeremy Shaffner) Date: Wed, 29 Sep 1999 23:58:31 -0400 (EDT) Cc: fullermd@futuresouth.com (Matthew D. Fuller), jason@intercom.com (Jason J. Horton), freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Follow up moved to _after_ the older text, the Way It Was Meant To Be.] Jeremy Shaffner wrote, > On Wed, 29 Sep 1999, Matthew D. Fuller wrote: > > > [This is more -questions fodder than -isp, moved there] > > > > On Wed, Sep 29, 1999 at 12:18:24PM -0400, a little birdie told me > > that Jason J. Horton remarked > > > Is there any way to keep a make world from building named? > > > I see switches in /etc/make.conf to stop building of sendmail > > > and perl, but not named. Every time I make world, I have to recompile > > > my specially built named, it's starting to be annoying. > > > > 2 choices. > > 1) Edit /usr/src/usr.sbin/Makefile and take out 'named'. > > 2) Install your specially built named under /usr/local where it should > > be, since that'll eliminate the whole problem set. > > This was something I've thought about myself. Who else thinks a NO_BIND > option (like NO_SENDMAIL) might be good in /etc/make.conf (with necessary > .if's in /usr/src/*/Makefiles)? I was thinking about this too! In my case, I made a hack to dump(8), but I really doubt there is the call to make a NO_DUMP switch. What I am doing is building a tree of customized utilities under /usr/local/src; one that mirrors the structure of /usr/src. Right now, I just go in before a buildworld and, # cd /usr/src/sbin # mv dump dump.dist # ln -s /usr/local/src/sbin/dump . And the buildworld makes my custom dump! Now, if I had more things like that, I could easily (prolly) script such a procedure or even design a /usr/local/src/Makefile to do all that for me. And for those who just don't want something built, they can put a "null" entry in the /usr/local/src tree. It seems like this might actually be something useful to a lot of people now that a few others have asked. It would not be too difficult to make the generic buildworld use the /usr/local/src tree in this way automatically. I don't see what problems it could cause either. If you didn't have a /usr/local/src, buildworld would be exactly like it is now. Just an idea... that I now wonder if someone may have proposed before? (And for some reason was not added.) -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message