summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-10-11 15:41:20 +0000
committerChristian Heim <phreak@gentoo.org>2006-10-11 15:41:20 +0000
commit43d7db629b92a62865baa1f8774a4e9c5fd1885d (patch)
treeea30defcf3be92b1064377e835e7ea7bd8fea165 /sys-cluster/vzctl/vzctl-3.0.12.ebuild
parentPreliminary ebuild for 3.0.12, still need to check whether the thing works / ... (diff)
downloadoverlay-43d7db629b92a62865baa1f8774a4e9c5fd1885d.tar.gz
overlay-43d7db629b92a62865baa1f8774a4e9c5fd1885d.tar.bz2
overlay-43d7db629b92a62865baa1f8774a4e9c5fd1885d.zip
Updating the ebuild/digest.
svn path=/; revision=65
Diffstat (limited to 'sys-cluster/vzctl/vzctl-3.0.12.ebuild')
-rw-r--r--sys-cluster/vzctl/vzctl-3.0.12.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys-cluster/vzctl/vzctl-3.0.12.ebuild b/sys-cluster/vzctl/vzctl-3.0.12.ebuild
index 53424f4..cbf1846 100644
--- a/sys-cluster/vzctl/vzctl-3.0.12.ebuild
+++ b/sys-cluster/vzctl/vzctl-3.0.12.ebuild
@@ -28,8 +28,15 @@ src_unpack() {
unpack ${A}
epatch "${WORKDIR}/patches"/*.patch
-# use amd64 && epatch "${FILESDIR}/${P/_pre/}-libdir64.patch"
-# use x86 && epatch "${FILESDIR}/${P/_pre/}-libdir.patch"
+ if use amd64 ; then
+ epatch "Applying ${P}-libdir64.patch"
+ sed -i "s,LIBDIR = $(PREFIX)/lib/vzctl/lib,LIBDIR = $(PREFIX)/lib64,"
+ fi
+
+ if use x86 ; then
+ epatch "Applying ${P}-libdir.patch"
+ sed -i "s,LIBDIR = $(PREFIX)/lib/vzctl/lib,LIBDIR = $(PREFIX)/lib,"
+ fi
}
src_compile() {