summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2013-02-28 19:57:09 +0000
committerVictor Ostorga <vostorga@gentoo.org>2013-02-28 19:57:09 +0000
commit20ec32ae15739cc202905f778a1a922556784510 (patch)
treef5ac1ee0fcc6e43af4e3cbbef628c0de8778e778 /net-fs
parentLinux patches 3.0.66 to 3.0.67, 3.2.39 and 3.4.33 to 3.4.34. (diff)
downloadgentoo-2-20ec32ae15739cc202905f778a1a922556784510.tar.gz
gentoo-2-20ec32ae15739cc202905f778a1a922556784510.tar.bz2
gentoo-2-20ec32ae15739cc202905f778a1a922556784510.zip
Fixing up build on alpha/s390/sh bug #459278
(Portage version: 2.1.11.50/cvs/Linux i686, signed Manifest commit with key 0xE25EE336)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/ChangeLog5
-rw-r--r--net-fs/samba/samba-3.5.21.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog
index 8736c586da06..c493cd64eb3a 100644
--- a/net-fs/samba/ChangeLog
+++ b/net-fs/samba/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-fs/samba
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.569 2013/02/25 08:17:30 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.570 2013/02/28 19:57:09 vostorga Exp $
+
+ 28 Feb 2013; Víctor Ostorga <vostorga@gentoo.org> samba-3.5.21.ebuild:
+ Fixing up build on alpha/s390/sh bug #459278
25 Feb 2013; Zac Medico <zmedico@gentoo.org> samba-3.6.12.ebuild:
Fix for prefix and add ~arm-linux and ~x86-linux keywords.
diff --git a/net-fs/samba/samba-3.5.21.ebuild b/net-fs/samba/samba-3.5.21.ebuild
index 466394617325..7ce3eef5a181 100644
--- a/net-fs/samba/samba-3.5.21.ebuild
+++ b/net-fs/samba/samba-3.5.21.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.5.21.ebuild,v 1.10 2013/02/22 18:40:35 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.5.21.ebuild,v 1.11 2013/02/28 19:57:09 vostorga Exp $
EAPI=4
-inherit pam versionator multilib eutils
+inherit pam versionator multilib eutils flag-o-matic
MY_PV=${PV/_/}
MY_P="${PN}-${MY_PV}"
@@ -132,6 +132,11 @@ src_configure() {
# Filter out -fPIE
[[ ${CHOST} == *-*bsd* ]] && myconf+=" --disable-pie"
+ #Allowing alpha/s390/sh to build
+ if use alpha || use s390 || use sh; then
+ replace-flags -O? -O1
+ fi
+
# Upstream refuses to make this configurable
use caps && export ac_cv_header_sys_capability_h=yes || export ac_cv_header_sys_capability_h=no