summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2011-06-28 15:27:23 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2011-06-28 15:27:23 +0000
commit39adcd5f71c1f3c673dc0e01a06142190eff4406 (patch)
tree40843b7af93f0290919a60ee8cfacb9189ac4d1a /eclass/gnustep-base.eclass
parentNon-maintainer commit: Removing ebuild depending on older PHP versions. Bug 3... (diff)
downloadgentoo-2-39adcd5f71c1f3c673dc0e01a06142190eff4406.tar.gz
gentoo-2-39adcd5f71c1f3c673dc0e01a06142190eff4406.tar.bz2
gentoo-2-39adcd5f71c1f3c673dc0e01a06142190eff4406.zip
Allow possiblle trailing slashes in src_prepare path cleanup, thanks Rion
Diffstat (limited to 'eclass/gnustep-base.eclass')
-rw-r--r--eclass/gnustep-base.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 994677ae7c10..7825efe0a04e 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.18 2011/06/08 08:55:55 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.19 2011/06/28 15:27:23 voyageur Exp $
# @ECLASS: gnustep-base.eclass
# @MAINTAINER:
@@ -55,10 +55,10 @@ gnustep-base_src_prepare() {
# to know when they use some direct include.
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' \
+ -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