From owner-freebsd-ports Thu Mar 14 13:56:40 2002 Delivered-To: freebsd-ports@freebsd.org Received: from web14702.mail.yahoo.com (web14702.mail.yahoo.com [216.136.224.119]) by hub.freebsd.org (Postfix) with SMTP id 6E31D37B41A for ; Thu, 14 Mar 2002 13:56:14 -0800 (PST) Message-ID: <20020314215614.28294.qmail@web14702.mail.yahoo.com> Received: from [64.131.161.101] by web14702.mail.yahoo.com via HTTP; Thu, 14 Mar 2002 13:56:14 PST Date: Thu, 14 Mar 2002 13:56:14 -0800 (PST) From: Wayne Lubin Subject: Re: make's default actions To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org But that doesn't make sense either. For example look at /usr/ports/graphics/gqview/Makefile. I use this example because I have installed this port. If we were using a standard make utility then when a user types "make" in this directory, since no target was specified, make should go to the first target encountered, which in this case is pre-patch, regardless of the fact that bsd.port.mk is included. But clearly this is not what happens. So my question is why does this not happen? What is causing the "default" action? Wayne --- Matthew Emmerton wrote: > > This "default action" on applies when the makefile > includes > or both of and . > (There are found in > /usr/ports/Mk, and have all the rules required to > implement the fetch, > extract, patch, configure, build and install > targets.) > > -- > Matthew Emmerton || matt@gsicomp.on.ca > GSI Computer Services || http://www.gsicomp.on.ca > > On Thu, 14 Mar 2002, Wayne Lubin wrote: > > > Hi, > > > > If you read the porters handbook it states that > when > > someone types "make" into a port directory make > will > > go in order to the following targets: > > > > fetch, extract, patch, configure, build > > > > This is refered to as make's default action. My > > question is how is this acheived? Does freebsd use > > some hached version of make? This clearly is not > > standard actions for the make utility. If I wanted > to > > do a software project of my own on freebsd not > related > > to the port collection or porting at all for that > > matter, and wanted to use the make utility, would > the > > make program still go through this default action, > and > > if so, how do I turn it off. Thanks for your help. > > > > Wayne > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Sports - live college hoops coverage > > http://sports.yahoo.com/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-ports" in the body of > the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message