summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/gnustep-base.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 3f05026..98dba1d 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -42,8 +42,10 @@ gnustep-base_src_unpack() {
cd "${S}"
if [[ -f ./GNUmakefile ]] ; then
- # kill stupid includes that are simply overdone or useless on normal
- # Gentoo, but (may) cause major headaches on Prefixed Gentoo
+ # Kill stupid includes that are simply overdone or useless on normal
+ # Gentoo, but (may) cause major headaches on Prefixed Gentoo. If this
+ # only removes a part of a path it's good that it bails out, as we want
+ # to know when they use some direct include.
ebegin "Cleaning paths from GNUmakefile"
sed -i \
-e 's|-I/usr/X11R6/include||g' \