Re: port build order

2007-11-11 Thread Erik Cederstrand

Aryeh M. Friedman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

How do I get a list of ports that need to be made before a port is
made given the following:

Note: Sorry for the *CAPS* stuff but I am using my standard specs
formating

1. The list *MUST* be in build order with the first port either being
the first or last line (make missing or pkg_info search=XXX
display=bdeps,rdeps)
2. If the package is already installed it *MUST NOT* appear on the list

The goal here is for any given port I want to be able to build each
dependency one at a time (to do some testing) and I have found hand
tracing through the dependency list on the web site to be extremely
tedious


I don't think there's anything which does exactly what you want, but you 
could start with 'make pretty-print-build/run-depends-list' and script 
your way through from there. Since what you're trying to do is what the 
ports infrastructure already does, you could always take a look at the 
code. bsd.ports.mk is what you want, I think.


Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


port build order

2007-11-10 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

How do I get a list of ports that need to be made before a port is
made given the following:

Note: Sorry for the *CAPS* stuff but I am using my standard specs
formating

1. The list *MUST* be in build order with the first port either being
the first or last line (make missing or pkg_info search=XXX
display=bdeps,rdeps)
2. If the package is already installed it *MUST NOT* appear on the list

The goal here is for any given port I want to be able to build each
dependency one at a time (to do some testing) and I have found hand
tracing through the dependency list on the web site to be extremely
tedious

- --
Aryeh M. Friedman
Developer, not business, friendly
http://www.flosoft-systems.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHNfFUJ9+1V27SttsRAsvrAKCOeW/8amUokHwuNWzu3Q2uKjESMgCeL99Y
GWjwSQWLjyJ1a8h/CZG7Wx0=
=8OaW
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]