Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 17:41:58 -0800 (PST)
From:      Wayne Lubin <wayneclubin@yahoo.com>
To:        Alan Eldridge <alane@geeksrus.net>, freebsd-ports@freebsd.org
Subject:   Re: make's default actions while installing ports
Message-ID:  <20020315014158.73095.qmail@web14702.mail.yahoo.com>
In-Reply-To: <20020315005737.GA93540@wwweasel.geeksrus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This doesn't seem to work because as far as I can see,
ALL_HOOK is not defined and hence this "if" statment
is not executed and thus all: will not be defined
here.

Wayne


--- Alan Eldridge <alane@geeksrus.net> wrote:
> 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."


__________________________________________________
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




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