make package-recursive

Ilker Ozupak ilkerozupak at yahoo.com
Mon Aug 23 01:34:43 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 23 August 2004 05:59, User & wrote:
> On Sunday, 22 August 2004 at  8:26:25 -0700, Kris Kennaway wrote:
> > Date: Sun, 22 Aug 2004 08:26:25 -0700
> > From: Kris Kennaway <kris at obsecurity.org>
> > To: User & <pirat at access.inet.co.th>
> > Cc: freebsd-stable at FreeBSD.ORG, freebsd-questions at FreeBSD.ORG
> > Subject: Re: make package-recursive
> >
> > On Sun, Aug 22, 2004 at 10:57:42AM +0700, User & wrote:
> > > hi sirs,
> > >
> > > sorry for asking, but i need to know to aviod unnecessary making
> > > packages that have been made during 'make package-recursive'
> > >
> > > many thanks for any helps and hints.
> >
> > Please explain in more detail what you mean.
> >
> > Kris
>
> On Monday, 23 August 2004 at 10:14:25 +0930, Daniel O'Connor wrote:
> > From: "Daniel O'Connor" <doconnor at gsoft.com.au>
> > To: freebsd-stable at freebsd.org
> > Subject: Re: make package-recursive
> > Date: Mon, 23 Aug 2004 10:14:25 +0930
> > Cc: "User &" <pirat at access.inet.co.th>, freebsd-questions at freebsd.org
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Sun, 22 Aug 2004 13:27, User & wrote:
> > > sorry for asking, but i need to know to aviod unnecessary making
> > > packages that have been made during 'make package-recursive'
> >
> > What unnecessary packages?
> > make package-recurse makes all the packages a given port is dependent on.
> >
> > What should it do instead?
>
> apologize for my bad english and post to the wrong list.
>
> my experiences are that i make expat2, perl5.8 from port and have made
> them packages into /usr/ports/package.
>
> now that i going on to make xorg from /usr/ports/x11 and also
> make package-recursive afterwards.  the next step is that i am
> making gnome2 once again from ports.
>
> my point is that those xorgs' team such as xorg-clients xorg-libraries
> should not be made package once again, since they have already been made,
>  when i make package-recursive at gnome2.
>
> one example is teTeX
>
> cd /usr/ports/prints/teTeX
> make install
> make package-recursive
>
> now am going to make docproj
>
> cd /usr/ports/texproc/docproj
> make JADETEX=yes -DWITH_OPENSSL_BASE install
> make JADETEX=yes -DWITH_OPENSSL_BASE package-recursive
>
> this time, i see teTeX, xorg-libraries also are having made package
> once again
>
> there should some way to tell make that if ports have been made package,
> the next time that ports should not have been made again in the
> make package-recursive from some other ports.
>
> the machine that i see this funny thing is
>
> inspiron# uname -a
> FreeBSD inspiron.thai-aec.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon
> Feb 23 20:45:55 GMT 2004    
> root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i 386
> inspiron#
>
> one more time, i apologize for my broken english and thanks to
> all replies.

IMO you need portupgrade (sysutils/portupgrade)

sample command:
portupgrade <OPTIONS> --origin ORIGIN --new -x PATTERN

for the cerrect set of OPTIONS see portupgrade(1)

ORIGIN should be /usr/ports/x/y
PATTERN see png sample for upgrading packages depending on png
that were installed prior to png in portupgrade(1) 
it could be
o	some package we recently installed -- '>=tetex'
o	some prior date -- '>2004-08-20' 

- -- 
IO
- --
gpg public key @ http://cmpe.emu.edu.tr/ilker/ilker.asc
pub  1024D/A4F41BD0 2003-07-16 Ilker Ozupak <ilker.ozupak at emu.edu.tr>
Primary key fingerprint: E509 17B6 C8E2 ADB7 32A7  4746 BF14 814A A4F4 1BD0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBKawYvxSBSqT0G9ARAhhqAKCqq+2Uyx9tTIBdXxA8p3ihygicKACg3h76
wS1X8MJIemmrRbRYzIooa2Y=
=zzck
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list