summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-06-01 08:42:01 +0000
committerFabian Groffen <grobian@gentoo.org>2009-06-01 08:42:01 +0000
commit394691924b4a43e7d7a6678e4c5681f3b209c7fd (patch)
treef686e28c8d740f4251f44033506c25ba90630607 /eclass
parentuse just the -j part of MAKEOPTS; add more use-based deps (bug #271999) (diff)
downloadgentoo-2-394691924b4a43e7d7a6678e4c5681f3b209c7fd.tar.gz
gentoo-2-394691924b4a43e7d7a6678e4c5681f3b209c7fd.tar.bz2
gentoo-2-394691924b4a43e7d7a6678e4c5681f3b209c7fd.zip
update texts on ffi, these functions are actually not used anywhere (I know of)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnustep-funcs.eclass12
1 files changed, 3 insertions, 9 deletions
diff --git a/eclass/gnustep-funcs.eclass b/eclass/gnustep-funcs.eclass
index 66372ec2cb51..a03b4ea3860e 100644
--- a/eclass/gnustep-funcs.eclass
+++ b/eclass/gnustep-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-funcs.eclass,v 1.13 2007/12/08 20:28:43 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-funcs.eclass,v 1.14 2009/06/01 08:42:01 grobian Exp $
# THIS ECLASS IS DEPRECATED. PLEASE DO NOT USE IT.
@@ -294,8 +294,7 @@ EOF
}
objc_not_available_info() {
- einfo "gcc must be compiled with Objective-C support! See the objc USE flag."
- einfo "NOTE: if you have to recompile gcc anyway, now may be the time to also add the 'gcj' use flag, so that libffi will also be compiled. Any gcc-3 version with 'gcj' should work, however, if you are testing >=gcc-3.4.3-r1 'objc' USE flag on should also install libffi."
+ einfo "gcc must be compiled with Objective-C support, see the objc USE flag"
}
ffi_available() {
@@ -313,18 +312,13 @@ EOF
local available
available="yes"
- # XXX
- # Support dev-libs/libffi until it is deprecate
- # (not that these -I and -L really matter
eval $(tc-getCC) ${FFI_TEST} -o ${FFI_TEST}-out -lffi || available="no"
echo ${available}
}
ffi_not_available_info() {
- einfo "Your FFI libraries and headers seem to be installed incorrectly."
- einfo "This is not as bad as it sounds -- not many projects use libffi at the moment, and gcc may have installed the headers in an inavailable place. Especially check for 'ffi.h' in your /usr/lib/gcc/\"\$CHOST\"/\"gcc-version\"/include directory, and that any other ffi related files it #include's (e.g. 'ffitarget.h') are in that directory as well; this can be solved by moving the files, or with a symlink. This is a quick fix, and newer ebuilds of gcc should install the files in the correct places, but for now, it could save you a recompilation of gcc."
- einfo "If this still fails for you, consider not using the 'gcc-libffi' USE flag and letting dev-libs/libffi build as a dependency. It is important that either 'gcj' is a USE flag for gcc, or 'gcj' or 'objc' for >=gcc-3.4.3-r1."
+ einfo "please install virtual/libffi"
}
###########################################################################