From owner-freebsd-questions Thu Apr 6 3:59:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id A4A9337B901 for ; Thu, 6 Apr 2000 03:59:44 -0700 (PDT) (envelope-from jay.krell@cornell.edu) Received: from jayk_home4nt (user-2ini842.dialup.mindspring.com [165.121.32.130]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with SMTP id GAA14833; Thu, 6 Apr 2000 06:59:36 -0400 (EDT) Message-ID: <000801bf9fb7$788f44f0$0201a8c0@jayk_home4nt> From: "Jay Krell" To: "Dirk Myers" Cc: Subject: Re: make install in ports non leaf Date: Thu, 6 Apr 2000 04:01:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You might be right that it has to do with the quantity, but compatibility is often actually dealt with. All the versions of Tcl and Tk (about four of each) install to different places. bash1 and bash2 do like mv bash bash.old before installing a different bash. I know it's lame, but my sh skills are pressed to write what you provided. Thanks for the example. - Jay -----Original Message----- From: Dirk Myers To: Jay Krell Cc: questions@FreeBSD.ORG Date: Wednesday, April 05, 2000 7:00 AM Subject: Re: make install in ports non leaf >Jay Krell flailed at the keyboard, producing: >> Why can't you make install in non leaf ports directories? >> cd /usr/ports >> make install >> cd /usr/ports/lang >> make install >> ? > >I don't know the canonical answer, but I suspect it has to do with the >quantity of programs in ports, and the fact that there may be multiple >versions of the same program in ports. For example, I'm looking at >the /usr/ports/lang directory now, and there look to be ~9 versions of >tcl included. It seems excessive to me to have all those installed on >the same machine, but I guess some folks really like tcl ;). > >To get to the meat of the post, though, for people who really want to >do this, something like this should work (adjust for the shell >you're using, this works in zsh): > >(with /usr/ports/lang the current directory) > >for i in `ls`: >do > cd $i ; > make install clean ; > cd .. ; >done > >If you want to do this one level higher up, just nest the for in another >loop. > >NOTE: I have no idea whether (for example) the various versions of >tcl will peacefully coexist or not, so I may be selling you rope, >here. > >Dirk dirkm@teleport.com >-- >Well, if you're going to kill me, hurry up. I have to take my tonic >at two. -- Groucho Marx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message