summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/capisuite/capisuite-0.4.5-r4.ebuild')
-rw-r--r--net-dialup/capisuite/capisuite-0.4.5-r4.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-dialup/capisuite/capisuite-0.4.5-r4.ebuild b/net-dialup/capisuite/capisuite-0.4.5-r4.ebuild
index cab0bbec1b6c..4af2b901328f 100644
--- a/net-dialup/capisuite/capisuite-0.4.5-r4.ebuild
+++ b/net-dialup/capisuite/capisuite-0.4.5-r4.ebuild
@@ -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/net-dialup/capisuite/capisuite-0.4.5-r4.ebuild,v 1.2 2007/07/13 08:24:48 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/capisuite-0.4.5-r4.ebuild,v 1.3 2007/11/15 10:11:48 mrness Exp $
inherit eutils flag-o-matic multilib python
@@ -29,6 +29,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+
# taken from capisuite-0.4.5-5.src.rpm (SuSE-9.3)
epatch "${FILESDIR}/${P}-capi4linux_v3.diff"
@@ -81,9 +83,9 @@ src_install() {
pkg_postinst() {
python_version
- python_mod_compile ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/cs_helpers.py
+ python_mod_compile "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/cs_helpers.py
}
pkg_postrm() {
- python_mod_cleanup ${ROOT}usr/$(get_libdir)/python*/site-packages
+ python_mod_cleanup "${ROOT}"usr/$(get_libdir)/python*/site-packages
}