Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 19:57:37 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        Wayne Lubin <wayneclubin@yahoo.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: make's default actions while installing ports
Message-ID:  <20020315005737.GA93540@wwweasel.geeksrus.net>
In-Reply-To: <20020315004148.56168.qmail@web14707.mail.yahoo.com>
References:  <20020315004148.56168.qmail@web14707.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020315005737.GA93540>