From owner-freebsd-ports Thu Mar 14 16:57:49 2002 Delivered-To: freebsd-ports@freebsd.org Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id 9B81537B417 for ; Thu, 14 Mar 2002 16:57:45 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g2F0vbZ93557; Thu, 14 Mar 2002 19:57:37 -0500 (EST) (envelope-from alane) Date: Thu, 14 Mar 2002 19:57:37 -0500 From: Alan Eldridge To: Wayne Lubin Cc: freebsd-ports@FreeBSD.ORG Subject: Re: make's default actions while installing ports Message-ID: <20020315005737.GA93540@wwweasel.geeksrus.net> References: <20020315004148.56168.qmail@web14707.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020315004148.56168.qmail@web14707.mail.yahoo.com> User-Agent: Mutt/1.3.28i X-message-flag: Magic 8-Ball says "Outlook not so good." I'll ask it about Exchange next. 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 On Thu, Mar 14, 2002 at 04:41:48PM -0800, Wayne Lubin wrote: >Hello, > >Thanks for your help so far in figuring out how make >works when a user types "make" inside a port > >.MAIN: all > >The problem that I am having now is finding where the >"all" target is defined. If make is to have the Searching for 'all:' reveals this section; it is left as an exercise for the reader to follow from here: --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- .if defined(ALL_HOOK) all: @cd ${.CURDIR} && ${SETENV} CURDIR=${.CURDIR} DISTNAME=${DISTNAME} \ DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} WRKSRC=${WRKSRC} \ PATCHDIR=${PATCHDIR} SCRIPTDIR=${SCRIPTDIR} \ FILESDIR=${FILESDIR} PORTSDIR=${PORTSDIR} PREFIX=${PREFIX} \ DEPENDS="${DEPENDS}" BUILD_DEPENDS="${BUILD_DEPENDS}" \ RUN_DEPENDS="${RUN_DEPENDS}" X11BASE=${X11BASE} \ ${ALL_HOOK} .endif .if !target(all) all: build .endif --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- Cc: to -questions@ removed. -- Alan Eldridge "Dave's not here, man." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message