Cleaning up packages before build directory is removed
Greg Larkin
glarkin at FreeBSD.org
Mon Feb 27 22:06:15 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I'm working on some hooks so I can build ports with clang in 7.x and
8.x tinderboxes. So far, I have postBuildExtract hook set up to add
clang and its dependencies and inject /etc/make.conf in the build with
the proper directives. The clang build works great, but I have to
figure out a way to remove the pre-installed packages before the
plistcheck starts.
I've been looking through the code, but I don't see any easy way to
identify in the postPortBuild hook when the root port has finished
building. If I could detect that, then I could remove clang, llvm,
etc. before the make install target starts and avoid the plistcheck error.
Thank you,
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.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9L9YAACgkQ0sRouByUApDX9QCgpNe+RsBpts4Tu5or0VOY/G6i
G24AoKfPj6JyHUBylr58I6Y1dktKGYCg
=0WGu
-----END PGP SIGNATURE-----
More information about the freebsd-tinderbox
mailing list