summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-07 12:03:56 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-07 12:03:56 +0000
commit2bf0918786ab13cbb1f8fb4aa0e300e08fab7026 (patch)
tree87a385ec847fd7fd829c42644c135cb3747e2099 /sys-libs/libutempter
parentVersion bump with huge build fixes patch as the release is broken upstream. T... (diff)
downloadgentoo-2-2bf0918786ab13cbb1f8fb4aa0e300e08fab7026.tar.gz
gentoo-2-2bf0918786ab13cbb1f8fb4aa0e300e08fab7026.tar.bz2
gentoo-2-2bf0918786ab13cbb1f8fb4aa0e300e08fab7026.zip
Re-add ~x86-fbsd keyword after adding linking with -lutil on FreeBSD.
(Portage version: 2.1_rc4-r3)
Diffstat (limited to 'sys-libs/libutempter')
-rw-r--r--sys-libs/libutempter/ChangeLog6
-rw-r--r--sys-libs/libutempter/libutempter-1.1.4.1.ebuild17
2 files changed, 9 insertions, 14 deletions
diff --git a/sys-libs/libutempter/ChangeLog b/sys-libs/libutempter/ChangeLog
index 4aa4e0d1d043..63a7601e81f1 100644
--- a/sys-libs/libutempter/ChangeLog
+++ b/sys-libs/libutempter/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/libutempter
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.9 2006/05/24 21:00:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/ChangeLog,v 1.10 2006/06/07 12:03:56 flameeyes Exp $
+
+ 07 Jun 2006; Diego Pettenò <flameeyes@gentoo.org>
+ libutempter-1.1.4.1.ebuild:
+ Re-add ~x86-fbsd keyword after adding linking with -lutil on FreeBSD.
24 May 2006; Diego Pettenò <flameeyes@gentoo.org>
libutempter-1.1.2.1.ebuild:
diff --git a/sys-libs/libutempter/libutempter-1.1.4.1.ebuild b/sys-libs/libutempter/libutempter-1.1.4.1.ebuild
index 94dcfc6062e9..5307e7d806d4 100644
--- a/sys-libs/libutempter/libutempter-1.1.4.1.ebuild
+++ b/sys-libs/libutempter/libutempter-1.1.4.1.ebuild
@@ -1,6 +1,6 @@
# 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.4.1.ebuild,v 1.1 2006/06/06 20:59:57 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libutempter/libutempter-1.1.4.1.ebuild,v 1.2 2006/06/07 12:03:56 flameeyes Exp $
inherit rpm eutils flag-o-matic versionator toolchain-funcs
@@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/$
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 ~x86-fbsd"
IUSE=""
RDEPEND=""
@@ -26,18 +26,9 @@ pkg_setup() {
enewgroup utmp 406
}
-src_unpack() {
- unpack ${A}
- rpm_src_unpack
- cd "${S}"
-
-# if [[ ${CHOST} == *-freebsd* ]] ; then
-# epatch ${PATCHDIR}/freebsd
-# fi
-}
-
src_compile() {
- make \
+ use elibc_FreeBSD && append-flags -lutil
+ emake \
CC="$(tc-getCC)" \
RPM_OPT_FLAGS="${CFLAGS}" \
libdir=/usr/$(get_libdir) \