Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 1998 11:19:18 -0800 (PST)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        chuckr@mat.net (Chuck Robey)
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: automatic make depend?
Message-ID:  <199812281919.LAA07968@troutmask.apl.washington.edu>
In-Reply-To: <Pine.BSF.4.05.9812281359020.335-100000@picnic.mat.net> from Chuck Robey at "Dec 28, 1998  2: 2:11 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
According to Chuck Robey:
> On Mon, 28 Dec 1998, Steve Kargl wrote:
> 
> > I'm in the process of making a port of f2c and its run-time
> > library.  I have it working to the point that I need to port
> > to run "make depend" prior to actually building the port.
> > Looking through /usr/share/mk/*port*, I see no knob for doing
> > thing.
> > 
> > Suggestions?
> 
> Use pre-build, it's a target that's already defined for you, and gets
> called just prior to the actual build target.  There's a pre- and a
> post- target for each of the major targets in bsd.port.mk (fetch,
> configure, etc) which makes doing things like what you want simple.

cd /usr/share/mk
grep pre-build *.mk

This gives 0 matches.

> Alternatively, the ALL_TARGET variable defines what target gets called
> on the port makefile.  I think it defaults to all, but you can change it
> to "depend all" easily enough.

Thanks, this appears to work.

-- 
Steve

finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~clesceri/kargl.html

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?199812281919.LAA07968>