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

Diff of /sys-libs/libselinux/libselinux-2.1.12.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.12.ebuild,v 1.1 2012/10/09 20:00:12 swift Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/Attic/libselinux-2.1.12.ebuild,v 1.2 2012/10/13 16:42:25 swift 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-*"
45 sed -i \ 45 sed -i \
46 -e "/^LIBDIR/s/lib/$(get_libdir)/" \ 46 -e "/^LIBDIR/s/lib/$(get_libdir)/" \
47 -e "/^SHLIBDIR/s/lib/$(get_libdir)/" \ 47 -e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
48 src/Makefile utils/Makefile || die 48 src/Makefile utils/Makefile || die
49 epatch "${FILESDIR}/${P}-mountsys.patch" 49 epatch "${FILESDIR}/${P}-mountsys.patch"
50
51 epatch_user
50} 52}
51 53
52src_compile() { 54src_compile() {
53 emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC $(pkg-config --libs libpcre) ${LDFLAGS}" all || die 55 emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC $(pkg-config --libs libpcre) ${LDFLAGS}" all || die
54 56

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

  ViewVC Help
Powered by ViewVC 1.1.20