You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
935 B

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