From c29e478638d4fc6180b8c1761016d1023566227a Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 13 Aug 2007 17:56:44 +0000 Subject: It helps when you export the src_unpack function. svn path=/prefix-overlay/; revision=263 --- eclass/gnustep-base.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad