diff options
Diffstat (limited to 'sys-cluster/drbd/drbd-8.4.0.ebuild')
-rw-r--r-- | sys-cluster/drbd/drbd-8.4.0.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-cluster/drbd/drbd-8.4.0.ebuild b/sys-cluster/drbd/drbd-8.4.0.ebuild index 25554893f3cc..bfca13b6de18 100644 --- a/sys-cluster/drbd/drbd-8.4.0.ebuild +++ b/sys-cluster/drbd/drbd-8.4.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.4.0.ebuild,v 1.1 2011/11/03 13:24:53 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/drbd-8.4.0.ebuild,v 1.2 2012/03/12 20:47:00 xarthisius Exp $ EAPI=4 @@ -22,7 +22,10 @@ src_prepare() { sed -i -e "s/\$(CC) -o/\$(CC) \$(LDFLAGS) -o/" user/Makefile.in || die # respect multilib sed -i -e "s:/lib/:/$(get_libdir)/:g" \ - scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die + Makefile.in scripts/{Makefile.in,global_common.conf,drbd.conf.example} || die + sed -e "s:@prefix@/lib:@prefix@/$(get_libdir):" \ + -e "s:(DESTDIR)/lib:(DESTDIR)/$(get_libdir):" \ + -i user/{,legacy/}Makefile.in || die # correct install paths sed -i -e "s:\$(sysconfdir)/bash_completion.d:/usr/share/bash-completion:" \ scripts/Makefile.in || die |