diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-01-25 16:20:36 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-01-25 16:20:36 +0000 |
commit | d268f8361cca211ae6fd72e7124686242993a1e9 (patch) | |
tree | 8abc0f017f21345b8396f77e6a145a6a0ac98db2 /profiles/default/bsd | |
parent | Clean out and fix for bug 250138. (diff) | |
download | historical-d268f8361cca211ae6fd72e7124686242993a1e9.tar.gz historical-d268f8361cca211ae6fd72e7124686242993a1e9.tar.bz2 historical-d268f8361cca211ae6fd72e7124686242993a1e9.zip |
Add a profile.bashrc test for test == construction that does not work on BSD in order to get automatic warnings for things like bug #256305
Diffstat (limited to 'profiles/default/bsd')
-rw-r--r-- | profiles/default/bsd/ChangeLog | 6 | ||||
-rw-r--r-- | profiles/default/bsd/profile.bashrc | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/profiles/default/bsd/ChangeLog b/profiles/default/bsd/ChangeLog index e5b31c857f81..a42b473e0ce0 100644 --- a/profiles/default/bsd/ChangeLog +++ b/profiles/default/bsd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for profile directory # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.12 2009/01/24 21:58:18 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.13 2009/01/25 16:20:36 aballier Exp $ + + 25 Jan 2009; Alexis Ballier <aballier@gentoo.org> profile.bashrc: + Add a profile.bashrc test for test == construction that does not work on + BSD in order to get automatic warnings for things like bug #256305 24 Jan 2009; Javier Villavicencio <the_paya@gentoo.org> fbsd/profile.bashrc: diff --git a/profiles/default/bsd/profile.bashrc b/profiles/default/bsd/profile.bashrc index 03950c99ee6b..78b6152ab4c9 100644 --- a/profiles/default/bsd/profile.bashrc +++ b/profiles/default/bsd/profile.bashrc @@ -5,4 +5,10 @@ if [[ ${EBUILD_PHASE} == compile ]] ; then eerror "http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20BSD" 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 BSD product." + eerror "http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20BSD" + fi fi |