# ChangeLog for sys-apps/attr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.134 2011/09/03 16:51:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.135 2011/10/22 20:04:37 grobian Exp $
+
+*attr-2.4.46-r1 (22 Oct 2011)
+
+ 22 Oct 2011; Fabian Groffen <grobian@gentoo.org> +attr-2.4.46-r1.ebuild:
+ Fix for Prefix, bug #388143, marked ~x86-linux and ~amd64-linux
03 Sep 2011; Raúl Porcel <armin76@gentoo.org> attr-2.4.46.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #379055
EBUILD attr-2.4.43.ebuild 1768 RMD160 6bdac348ef9ad5c79f075c775dad2934e264f16c SHA1 6770474c1e0a7f757e0565c916e7039b49d93a83 SHA256 69e77e92bf6704f2f3c909883ea1d8f74441aa33aef03359d98472448bb5f217
EBUILD attr-2.4.44-r1.ebuild 1449 RMD160 71e30d1fb9545d4acff6e47e478be2f18af5ec65 SHA1 b71994bd730b86aa7046cec8f4e4af8ab7483024 SHA256 77a08d8cbedff3b4bf163fcef8260b609ab284d1ddee72abb7a74df50bbe1b7e
EBUILD attr-2.4.44.ebuild 1329 RMD160 56a791108cb855a24079b967b02aff2be14ac245 SHA1 bbe3bb0f81191d00b87cf67f4e4e08edd7257a17 SHA256 423bc4dc52adee242958beccf05f10ee3fcb9a103369a14f484a95567a704c97
+EBUILD attr-2.4.46-r1.ebuild 1520 RMD160 68efab1fb85dcc494dcecdf3004e8b08059c6c68 SHA1 4a541bbb39fb4cff2b2289bdc942dc27f80ae1d4 SHA256 0a4ca0a5754ffd7160f4d125527d8c36ea76c5c4dd523770801943cadfa0422b
EBUILD attr-2.4.46.ebuild 1457 RMD160 fd99274688aac463745254129bc949547ca23633 SHA1 64a3001902d105616ae1a3579ec23709c49b8caf SHA256 28cd990136b2cad1fe7eb0dc1ed2c55306a9e06e28f9f56f86a5806f6ea8fa1d
-MISC ChangeLog 16890 RMD160 0b070899b85941b4c94d624d68ef79320c20dc57 SHA1 6075f9009ddd572af6e19ee4005114162e956ae4 SHA256 574da9f11fa2a5e65cddb0e7df1a7b6bdcdadc0cb7ca62edd4f82592470c9abb
+MISC ChangeLog 17063 RMD160 63b495115f76fc5caf159443c56615be1809378e SHA1 b3409add16ea2da893af333a3e7cd9fa35e5ad4f SHA256 f30357ff3d4c685a43c59a710898ce5502801c7db231e21060c6bf6982efefeb
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (Darwin)
-iEYEARECAAYFAk5iWxoACgkQuQc30/atMkDUxACfYSCsjwGBqgF6mmlNzfNstiYS
-LSgAn2J1wammTZwV2KjE3+pKETvC9exF
-=lGAz
+iEYEARECAAYFAk6jIdoACgkQX3X2B8XHTolUtQCfbMaqkDeZdDkZ98gNm8sJeitj
+1f0AmgJBHhrUp6T1DgbPV4RzAup9Ey0J
+=paph
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.46-r1.ebuild,v 1.1 2011/10/22 20:04:37 grobian Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Extended attributes tools"
+HOMEPAGE="http://savannah.nongnu.org/projects/attr"
+SRC_URI="mirror://nongnu/${PN}/${P}.src.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls static-libs"
+
+DEPEND="nls? ( sys-devel/gettext )
+ sys-devel/autoconf"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.44-gettext.patch
+ epatch "${FILESDIR}"/${PN}-2.4.46-config-shell.patch #366671
+ sed -i \
+ -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
+ -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
+ include/builddefs.in \
+ || die "failed to update builddefs"
+ strip-linguas -u po
+}
+
+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
+}
+
+src_install() {
+ emake DIST_ROOT="${D}" install install-lib install-dev || die
+ use static-libs || find "${D}" -name '*.la' -delete
+ # the man-pages packages provides the man2 files
+ rm -r "${ED}"/usr/share/man/man2
+
+ # we install attr into /bin, so we need the shared lib with it
+ gen_usr_ldscript -a attr
+}