summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/st/st-0.5.ebuild')
-rw-r--r--x11-terms/st/st-0.5.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-terms/st/st-0.5.ebuild b/x11-terms/st/st-0.5.ebuild
index eb5923425da0..6cea01920ea0 100644
--- a/x11-terms/st/st-0.5.ebuild
+++ b/x11-terms/st/st-0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/st/st-0.5.ebuild,v 1.2 2014/10/09 09:13:35 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/st/st-0.5.ebuild,v 1.3 2015/03/12 14:16:15 xmw Exp $
EAPI=5
@@ -26,6 +26,8 @@ DEPEND="${RDEPEND}
x11-proto/xproto"
src_prepare() {
+ epatch_user
+
sed -e '/^CFLAGS/s:[[:space:]]-O[^[:space:]]*[[:space:]]: :' \
-e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \
-e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \