summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-05 02:48:17 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-05 02:48:17 +0000
commit2e4fcbed0b1550630485bfb8b72561e99a1b7ad1 (patch)
treed1002b18396745fa8aec69f70cfcd780fbdee123 /sys-libs/libutempter
parentVersion bumped and added Phalanx and Telic add-on campaigns. Closing bug #11... (diff)
downloadgentoo-2-2e4fcbed0b1550630485bfb8b72561e99a1b7ad1.tar.gz
gentoo-2-2e4fcbed0b1550630485bfb8b72561e99a1b7ad1.tar.bz2
gentoo-2-2e4fcbed0b1550630485bfb8b72561e99a1b7ad1.zip
mips stable
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-libs/libutempter')
-rw-r--r--sys-libs/libutempter/libutempter-1.1.2.1.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys-libs/libutempter/libutempter-1.1.2.1.ebuild b/sys-libs/libutempter/libutempter-1.1.2.1.ebuild
index 2f09fc7908ef..7b92f349efca 100644
--- a/sys-libs/libutempter/libutempter-1.1.2.1.ebuild
+++ b/sys-libs/libutempter/libutempter-1.1.2.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.2.1.ebuild,v 1.7 2005/12/23 19:52:51 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.2.1.ebuild,v 1.8 2006/01/05 02:48:17 vapier Exp $
inherit rpm eutils flag-o-matic versionator
@@ -12,10 +12,9 @@ HOMEPAGE="http://altlinux.org/index.php?module=sisyphus&package=libutempter"
SRC_URI="ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/SRPMS.classic/${MY_P}.src.rpm
mirror://gentoo/${PN}-patches-${PATCHVER}.tar.bz2"
-
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE=""
RDEPEND=""
@@ -31,13 +30,12 @@ pkg_setup() {
src_unpack() {
unpack ${A}
rpm_src_unpack
- cd ${S}
+ cd "${S}"
export EPATCH_SUFFIX="patch"
epatch ${PATCHDIR}
- if ! use elibc_glibc && ! use elibc_uclibc
- then
+ if [[ ${CHOST} == *-freebsd* ]] ; then
epatch ${PATCHDIR}/freebsd
fi
}
@@ -51,7 +49,7 @@ src_compile() {
src_install() {
make \
- DESTDIR=${D} \
+ DESTDIR="${D}" \
libdir=/usr/$(get_libdir) \
libexecdir=/usr/$(get_libdir) \
install || die