mgorny      14/05/02 10:17:58

  Modified:             ChangeLog
  Added:                acl-2.2.52-r1.ebuild
  Log:
  Introduce multilib support, bug #496964.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.124                sys-apps/acl/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.124&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.124&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?r1=1.123&r2=1.124

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- ChangeLog   17 Jan 2014 04:23:11 -0000      1.123
+++ ChangeLog   2 May 2014 10:17:58 -0000       1.124
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/acl
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.123 2014/01/17 
04:23:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.124 2014/05/02 
10:17:58 mgorny Exp $
+
+*acl-2.2.52-r1 (02 May 2014)
+
+  02 May 2014; Michał Górny <mgo...@gentoo.org> +acl-2.2.52-r1.ebuild:
+  Introduce multilib support, bug #496964.
 
   17 Jan 2014; Mike Frysinger <vap...@gentoo.org> acl-2.2.51.ebuild,
   acl-2.2.52.ebuild:



1.1                  sys-apps/acl/acl-2.2.52-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/acl-2.2.52-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/acl-2.2.52-r1.ebuild?rev=1.1&content-type=text/plain

Index: acl-2.2.52-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.52-r1.ebuild,v 1.1 
2014/05/02 10:17:58 mgorny Exp $

EAPI="4"

inherit eutils toolchain-funcs multilib-minimal

DESCRIPTION="access control list utilities, libraries and headers"
HOMEPAGE="http://savannah.nongnu.org/projects/acl";
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.src.tar.gz";

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
IUSE="nls static-libs"

RDEPEND=">=sys-apps/attr-2.4[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
        nls? ( sys-devel/gettext )
        abi_x86_32? (
                !<=app-emulation/emul-linux-x86-baselibs-20140406-r2
                !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
        )"

src_prepare() {
        sed -i \
                -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
                -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
                include/builddefs.in \
                || die
        strip-linguas po

        # same as https://savannah.nongnu.org/bugs/index.php?39736
        multilib_copy_sources
}

multilib_src_configure() {
        unset PLATFORM #184564
        export OPTIMIZER=${CFLAGS}
        export DEBUG=-DNDEBUG

        econf \
                $(use_enable nls gettext) \
                --enable-shared $(use_enable static-libs static) \
                --libexecdir="${EPREFIX}"/usr/$(get_libdir) \
                --bindir="${EPREFIX}"/bin
}

multilib_src_install() {
        emake DIST_ROOT="${D}" install install-dev install-lib

        # move shared libs to /
        multilib_is_native_abi && gen_usr_ldscript -a acl
}

multilib_src_install_all() {
        use static-libs || prune_libtool_files --all
}




Reply via email to