summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/default-bsd/profile.bashrc')
-rw-r--r--profiles/default-bsd/profile.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/profiles/default-bsd/profile.bashrc b/profiles/default-bsd/profile.bashrc
new file mode 100644
index 0000000..19145fa
--- /dev/null
+++ b/profiles/default-bsd/profile.bashrc
@@ -0,0 +1,8 @@
+if [[ ${EBUILD_PHASE} == compile ]] ; then
+ if grep -q "Assume that mode_t is passed compatibly" ${S} -r --include openat.c; then
+ eerror "The source code contains a faulty openal.c unit from gnulib."
+ eerror "Please report this on Gentoo Bugzilla in Gentoo BSD product."
+ eerror "http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20BSD"
+ die "Broken openal.c gnulib unit."
+ fi
+fi