Date: Mon, 27 Feb 2012 16:28:32 -0500 From: Greg Larkin <glarkin@FreeBSD.org> To: freebsd-tinderbox@FreeBSD.org Subject: Cleaning up packages before build directory is removed Message-ID: <4F4BF580.7000409@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4BF580.7000409>