summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/gnustep-base.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 398bf8b..3f05026 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -44,11 +44,14 @@ gnustep-base_src_unpack() {
if [[ -f ./GNUmakefile ]] ; then
# kill stupid includes that are simply overdone or useless on normal
# Gentoo, but (may) cause major headaches on Prefixed Gentoo
+ ebegin "Cleaning paths from GNUmakefile"
sed -i \
-e 's|-I/usr/X11R6/include||g' \
+ -e 's|-I/usr/include||g' \
-e 's|-L/usr/X11R6/lib||g' \
-e 's|-L/usr/lib||g' \
GNUmakefile
+ eend $?
fi
}
@@ -164,4 +167,4 @@ egnustep_doc() {
fi
}
-EXPORT_FUNCTIONS pkg_setup src_compile src_install pkg_postinst
+EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst