profile.bashrc 937 B

123456789101112131415
  1. if [[ ${EBUILD_PHASE} == compile ]] && [ -d "${S}" ] ; then
  2. if grep -q "Assume that mode_t is passed compatibly" ${S} -r --include openat.c; then
  3. eerror "The source code contains a faulty openat.c unit from gnulib."
  4. eerror "Please report this on Gentoo Bugzilla in Gentoo/Alt product for component FreeBSD."
  5. eerror "https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt&component=FreeBSD&op_sys=FreeBSD"
  6. die "Broken openat.c gnulib unit."
  7. fi
  8. if grep -q "\\<test .*==" "${S}" -r --include configure; then
  9. eerror "Found a non POSIX test construction in a configure script"
  10. eerror "The configure checks of this package may not function properly"
  11. eerror "Please report this on Gentoo Bugzilla in Gentoo/Alt product for component FreeBSD."
  12. eerror "https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt&component=FreeBSD&op_sys=FreeBSD"
  13. fi
  14. fi