On Friday 04 July 2008 04:18:28 David Karell wrote: > Hello fellow GoboLinux users/developers! > Perhaps I want to compile this great package X, which depends on library > Y. The problem is that X will only compile/link properly if library Y was > built with a specific use-flag. > > It'd be good with a "was_this_other_package_Y_built_with_use_flag_xxx" > directive in recipes, and then take some action, for instance, print a > more userfriendly message, explaining to the user what to do. pre_build() { grep ssl $curl_path/Resources/UseFlags || Die "Curl must be built +ssl" }
That could be wrapped in a function or added to UseFlags. It should be used sparingly, because I really don't want to have recipes end up being fifty-line tangled messes like ebuilds. -Michael
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel