summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-03-12 20:47:00 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-03-12 20:47:00 +0000
commitb552c28bafb0187d45e7c4dfb1c8db02f312a179 (patch)
tree3bfb3351184cd4dec08e147bd3dfe0d0202edd46 /sys-cluster/drbd/drbd-8.4.0.ebuild
parentClean up old versions. (diff)
downloadhistorical-b552c28bafb0187d45e7c4dfb1c8db02f312a179.tar.gz
historical-b552c28bafb0187d45e7c4dfb1c8db02f312a179.tar.bz2
historical-b552c28bafb0187d45e7c4dfb1c8db02f312a179.zip
Extend multilib fixes wrt bug 407961 by Robin Johnson <robbat2@gentoo.org>
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/drbd/drbd-8.4.0.ebuild')
-rw-r--r--sys-cluster/drbd/drbd-8.4.0.ebuild9
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