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

On 4/10/13 2:19 PM, Brett Glass wrote:
> Unfortunately, I've never experimented with pkgng, so will have to 
> come up to speed on this. Might be a temporary workaround.
> 
> In the meantime, I'm trying to install Apache 2.2 on a small 
> server. So far, just to build the port, the machine has built
> Perl, Python, m4, Berkeley DB, and an incredible assortment of
> other stuff that I do not want or need on that machine! And because
> the "make distclean" command in the FreeBSD ports system does not 
> remove code for dependencies, I'll have tons of source --
> including GPLed code, which I do not want to touch -- on the
> machine unless I do a painstaking manual search and removal.
> Aaargh!
> 
> --Brett Glass

Hi Brett,

Here's an easy way to delete all of the distfiles for a port and its
dependencies:

cd /usr/ports/www/apache22 # Or whatever
make distclean
make all-depends-list | xargs -n1 -I % sh -c "cd % && make distclean"

Hope that helps,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFlsXoACgkQ0sRouByUApAG1ACaAgxhsxFkWCiD0TTiCcfjBqEk
SVsAoIVnv1XlXlBxwPSIyaRq4gP/kz+d
=uB9B
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to