Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: sys-apps/acl/acl-2.2.49-r1.ebuild

Issue 6870011: sys-apps/acl: import 2.2.49-r1 to address gentoo #265425 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/portage-stable.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sys-apps/acl/Manifest ('k') | sys-apps/acl/files/acl-2.2.49-quote-strchr.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.49-r1.ebuild,v 1.1 2011/ 04/15 17:08:47 flameeyes Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="access control list utilities, libraries and headers"
10 HOMEPAGE="http://savannah.nongnu.org/projects/acl"
11 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.src.tar.gz
12 nfs? ( http://www.citi.umich.edu/projects/nfsv4/linux/acl-patches/2.2.42 -2/acl-2.2.42-CITI_NFS4_ALL-2.dif )"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar c ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
17 IUSE="nfs nls static-libs"
18
19 RDEPEND=">=sys-apps/attr-2.4
20 nfs? ( net-libs/libnfsidmap )"
21 DEPEND="${RDEPEND}
22 nls? ( sys-devel/gettext )"
23
24 src_prepare() {
25 if use nfs ; then
26 cp "${DISTDIR}"/acl-2.2.42-CITI_NFS4_ALL-2.dif . || die
27 sed -i \
28 -e '/^diff --git a.debian.changelog b.debian.changelog/, /^diff --git/d' \
29 acl-2.2.42-CITI_NFS4_ALL-2.dif || die
30 epatch acl-2.2.42-CITI_NFS4_ALL-2.dif
31 fi
32 epatch "${FILESDIR}"/${P}-quote-strchr.patch
33 sed -i \
34 -e '/^as_dummy=/s:=":="$PATH$PATH_SEPARATOR:' \
35 configure # hack PATH with AC_PATH_PROG
36 sed -i \
37 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
38 -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
39 include/builddefs.in \
40 || die "failed to update builddefs"
41 strip-linguas po
42 }
43
44 src_configure() {
45 unset PLATFORM #184564
46 export OPTIMIZER=${CFLAGS}
47 export DEBUG=-DNDEBUG
48
49 econf \
50 $(use_enable nls gettext) \
51 --enable-shared $(use_enable static-libs static) \
52 --libexecdir="${EPREFIX}"/usr/$(get_libdir) \
53 --bindir="${EPREFIX}"/bin
54 }
55
56 src_install() {
57 emake DIST_ROOT="${D}" install install-dev install-lib || die
58 use static-libs || find "${D}" -name '*.la' -delete
59
60 # move shared libs to /
61 gen_usr_ldscript -a acl
62 }
OLDNEW
« no previous file with comments | « sys-apps/acl/Manifest ('k') | sys-apps/acl/files/acl-2.2.49-quote-strchr.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698