Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 22:14:28 -0400
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        Garrett Cooper <youshi10@u.washington.edu>, freebsd-ports@freebsd.org
Subject:   Re: Call for testers for yet another ports upgrade program, ports+
Message-ID:  <20070728221428.8539106d.ota@j.email.ne.jp>
In-Reply-To: <20070728155935.GT21345@over-yonder.net>
References:  <20070726011654.cec378be.ota@j.email.ne.jp> <46A866BE.1000407@u.washington.edu> <20070726233610.e536c2e2.ota@j.email.ne.jp> <46A9B112.7040408@u.washington.edu> <20070727214847.6708a918.ota@j.email.ne.jp> <20070728155935.GT21345@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jul 2007 10:59:36 -0500
"Matthew D. Fuller" <fullermd@over-yonder.net> wrote:

> On Fri, Jul 27, 2007 at 09:48:47PM -0400 I heard the voice of
> Yoshihiro Ota, and lo! it spake thus:
> > 
> > Q. Is it safe to assume all dependencies are STATIC?
> > A. Yes, it is.
> 
> No, it's not.  Lots of ports change dependancies based on what's
> installed, so if you install one thing you have to assume that any
> other thing you intend to build in the future may change its list
> because of that.  For a trivial demonstration, look at how many use
> the ".if ${HAVE_GNOME:Msomething}" pattern.

It doesn't matter how many you have.  There are only finite number of
ports and configurations.  You will finish configuring at one point.

With GNU extension, one can write makefile dependencies such
that it keeps tracking and generating makefiles until all ports
to be installed are configured.
The key is how one will process /var/db/ports/* files.
I'd say it wouldn't be an easy one, though.
Ports+ doesn't do it, yet.

Check the link below if you'd like to know more.  The 2nd sentence
explains the concept of doing this.

Remaking Makefiles:
http://uw713doc.sco.com/cgi-bin/info2html?(make.info)Remaking%2520Makefiles&lang=en

Hiro



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