Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 22:53:13 +0200
From:      Anders =?UTF-8?B?VHJvYsOkY2s=?= <freebsd@troback.com>
To:        "Garrett Cooper" <yanefbsd@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Tgz in tgz...!
Message-ID:  <20080710225313.48fe6423@baal.troback.com>
In-Reply-To: <7d6fde3d0807101334v1362886di7fe1057093ca29bf@mail.gmail.com>
References:  <20080710110457.4b160eb1@itpc02.gelita.swe> <200807100154.17094.beech@freebsd.org> <20080710145415.59244492@itpc02.gelita.swe> <20080710193955.1acc2184@baal.troback.com> <7d6fde3d0807101334v1362886di7fe1057093ca29bf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Jul 2008 13:34:39 -0700
"Garrett Cooper" <yanefbsd@gmail.com> wrote:

> On Thu, Jul 10, 2008 at 10:39 AM, Anders Trob=C3=A4ck
> <freebsd@troback.com> wrote:
> > On Thu, 10 Jul 2008 14:54:15 +0200
> > Anders Troback <freebsd@troback.com> wrote:
> >
> >> On Thu, 10 Jul 2008 01:54:10 -0800
> >> Beech Rintoul <beech@freebsd.org> wrote:
> >>
> >> > On Thursday 10 July 2008, Anders Troback said:
> >> > > Hi,
> >> > >
> >> > > I need some tips about a port that I'm working on!
> >> > >
> >> > > The problem that I have are that the source of the code are in
> >> > > a tgz that are in a sub folder in an other tgz! So first I
> >> > > need the port to download and extract the first tgz and then
> >> > > extract, configure and make the second tgz!
> >> > >
> >> > > How do I cope with that?
> >> > >
> >> > > Thanks!
> >> >
> >> > You can probably extract the second time in post-extract, but
> >> > you're going to have to get creative defining the right
> >> > ${WRKSRC}. After that it should patch and build normally.
> >> >
> >> > Beech
> >> >
> >>
> >> OK! Next problem:-]
> >>
> >> The program that I want to build are under a sub folder of
> >> ${WRKSRC}/src so first I need to make the "main" program and then I
> >> have to run make in that sub folder! Are there any macros that do
> >> things like this or is there some other way?
> >>
> >> Thanks again!
> >>
> >
> > Is this a "legal" way of solving this issue?
> >
> > post-build:
> >        cd ${WRKSRC}/src/extras && make
>=20
> Wouldn't `gmake -C ${WRKSRC}/src/extras' be better?
> -Garrett

Yes, much nice and cleaner! I don't need gmake but make was the same!

Thanks!

--=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"
----------------------------------------------------------------
Anders Trob=C3=A4ck
http://www.troback.com/
-



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