# ChangeLog for profile directory
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.34 2010/04/22 18:30:24 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.35 2010/04/23 11:01:59 aballier Exp $
+
+ 23 Apr 2010; Alexis Ballier <aballier@gentoo.org> fbsd/profile.bashrc,
+ profile.bashrc:
+ Do not try to access $S if it does not exist.
22 Apr 2010; Alexis Ballier <aballier@gentoo.org> fbsd/package.use.mask:
unmask ruby[threads], seems to work
#!/bin/bash
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.7 2010/04/03 11:49:51 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.8 2010/04/23 11:02:00 aballier Exp $
alias make=gmake
alias patch=gpatch
if [[ -z $(type -P gpatch) ]]; then
return 0
fi
+
+ # Do nothing if $S does not exist
+ [ -d "${S}" ] || return 0
+
local EPDIR="${ECLASSDIR}/ELT-patches/install-sh"
local EPATCHES="${EPDIR}/1.5.6 ${EPDIR}/1.5.4 ${EPDIR}/1.5"
local ret=0
-if [[ ${EBUILD_PHASE} == compile ]] ; then
+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."