Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 21:19:17 +0100
From:      Andrzej Bialecki <abial@webgiro.com>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        small@FreeBSD.ORG
Subject:   Re: 4.5R build problems
Message-ID:  <3C6ACA45.98108CB0@webgiro.com>
References:  <3C5E6460.2E15D49B@inode.at> <20020212181307.A44056@iguana.icir.org> <3C6A1D6A.48366F84@webgiro.com> <20020213075622.A48071@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:
> 
> On Wed, Feb 13, 2002 at 09:01:46AM +0100, Andrzej Bialecki wrote:
> >
> > I'm building a fresh set of 4.5-STABLE images (for the refreshed
> > website), and I also noticed the "bridge" build is broken, since it
> > depends on a non-existent port picobsd/more.
> 
> yes... the correct one to use is misc/44bsd-more
> This also will get fixed when i get a chance to test
> the fix on both -current and -stable.

Btw. tinyware/ns complains about undefined constants related to
routing...

> There ought to be a way to make crunchgen do a "make" in
> the ports directories involved, but i haven't found a way.
> It certainly should not be part of the standard build because
> it is just fetching sources.
> Maybe a simple shell/awk parsing of the crunch.conf file
> would do.

I think it would be simpler to create the appropriately named
directories, with Makefiles in them, and point to them instead of the
real ports. E.g.

src/release/picobsd/ports/more:
Makefile

and then do the right thing in the Makefile, e.g.:
----- cut -----
PORTSRC=/usr/ports/misc/44bsd-more
.VPATH: $(PORTSRC)/work/link
depend:
	cd $(PORTSRC) && make
	# this is needed so you can avoid hardcoding
	# the minor version numbers for the quickly changing ports
	ln -s $(PORTSRC)/work/*more* $(PORTSRC)/work/link

.include $(PORTSRC)/work/link/Makefile
------ cut ------

(I'm typing from my head, so this may be partly broken). I was toying
with these ideas soe time ago, but then I moved across the puddle (the
Baltic sea :), and my free time suddenly vanished...


> 
>         cheers
>         luigi


-- 

Andrzej

// ----------------------------------------------------------------
// Andrzej Bialecki <abial@webgiro.com>, Chief System Architect
// WebGiro AB, Sweden (http://www.webgiro.com)
// ----------------------------------------------------------------
// <abial@freebsd.org> FreeBSD developer (http://www.freebsd.org)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C6ACA45.98108CB0>