/[gentoo-x86]/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
Gentoo

Diff of /sys-libs/libselinux/libselinux-2.1.9-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/Attic/libselinux-2.1.9-r2.ebuild,v 1.1 2012/09/08 18:44:22 swift Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/Attic/libselinux-2.1.9-r2.ebuild,v 1.2 2012/10/03 20:42:02 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6PYTHON_DEPEND="python? *" 6PYTHON_DEPEND="python? *"
7SUPPORT_PYTHON_ABIS="1" 7SUPPORT_PYTHON_ABIS="1"
8RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*" 8RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
44 default 44 default
45} 45}
46 46
47src_prepare() { 47src_prepare() {
48 # fix up paths for multilib 48 # fix up paths for multilib
49 sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \ 49 sed -i \
50 || die "Fix for multilib LIBDIR failed." 50 -e "/^LIBDIR/s/lib/$(get_libdir)/" \
51 sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \ 51 -e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
52 || die "Fix for multilib SHLIBDIR failed." 52 src/Makefile utils/Makefile || die
53 epatch "${FILESDIR}/${P}-mountsys.patch" 53 epatch "${FILESDIR}/${P}-mountsys.patch"
54} 54}
55 55
56src_compile() { 56src_compile() {
57 emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC ${LDFLAGS}" all || die 57 emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC ${LDFLAGS}" all || die

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20