diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-04 18:55:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-04 18:55:01 +0000 |
commit | 423d21dcfee183cc4b04d29c1621615e8c30f834 (patch) | |
tree | 23bd6110b9a77b8d679b5ab60fb7663b8627f698 /sys-auth/libnss-cache | |
parent | 81e4fbcb846ed1cabdad699c0029b166dd7273b7 (diff) |
gentoo resync : 04.01.2018
Diffstat (limited to 'sys-auth/libnss-cache')
-rw-r--r-- | sys-auth/libnss-cache/Manifest | 2 | ||||
-rw-r--r-- | sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild | 31 |
2 files changed, 16 insertions, 17 deletions
diff --git a/sys-auth/libnss-cache/Manifest b/sys-auth/libnss-cache/Manifest index 31a9aa7d65cc..edab7b031355 100644 --- a/sys-auth/libnss-cache/Manifest +++ b/sys-auth/libnss-cache/Manifest @@ -1,5 +1,5 @@ AUX libnss-cache-0.10-fix-shadow-test.patch 410 BLAKE2B 4186e2d43429799969246079ca16165f0aada4a686f2da0d59919c3232ee7cac3195ed2eea023604f42ed821c2463f88dcd9e6ea6769b8d6ac2dbb97808dd384 SHA512 c7ba933a1383d2d7d42967217f8bbaf6fe99c3b9694e725a141d0cd07e94368243806224b3f8137d78ef73b054fcef2bec4695d13b3e88a83afcb34c05940137 AUX libnss-cache-0.10.1-make.patch 1640 BLAKE2B 21c16aa744ca9f5ed6da1ec08b5c66a5fab42c9ea1bdf1521981a29d7b1b88ee48ef1cc059451777d1212283e7c4c5e717ba0de1be7e01d296c03d580550c061 SHA512 baa2000a08e03807b6afd9145c1bbe98e448de909c9aa6d62c88052f33a7a50b6c19691aca64b5c04737fb7281880578c55d10f94bc0856c6ce4af0f24bccb48 DIST libnss-cache-0.10.2.tar.gz 11967 BLAKE2B c0954d4382dba25d50fa5749acc11d4bf46175f686b2137539aa6fdb0ba4fabf5fe017e13abc518aaed8f315fac28ad4a85e9019b445595b137428bfee3f4623 SHA512 453624e85ff2692f0724f578ad72df76c96ecb2657eb3a701349025811af4e0c3ecf8e42c35a9a4eddabf4e731c361f4235d7cef34a61aec2e80e1b8728ea98f -EBUILD libnss-cache-0.10.2.ebuild 878 BLAKE2B 3ccf22b10c09da869439961fc47f86ab7d178fd6f2ec4b3d89d274157f5326ce26266f3a327c545ed483243346dce8e1af139df52787891e887f3f33fe10d7d7 SHA512 8653304481ca9cb3822fff542a06e89e2985f72441eba57180c40bb98abe504f467c84976a3356502d25b17c0c1d9b20a0d57489edcdec0857062957b1bbb50a +EBUILD libnss-cache-0.10.2.ebuild 692 BLAKE2B 109414baeb51703ff105a229346a4789c75ca1a89221e55c12f1b609a9cb7a92befc8ef70de3bc4a8444ab3ddebbffdcfa98affbd99021f97046beabe63b6803 SHA512 dd0d5084b51119907ff397f732d16a5fcd7f5265e5537a6560a0cdb819688f47b0b1391fbf96fbf8cf16aa48a00bad6aeaf5be875a7e4bb05d4a2772456b7945 MISC metadata.xml 376 BLAKE2B 4df38df10886d16c70c3b9d48d2469d639002118490e0e1cf68d0d59daaef473835db2a85cb3a291813ad014910ba35f032b65cdff98bb604eb0683286a74f58 SHA512 f5d1c811ef8d4dacf1e440d7a06b90cd36d6f60f8b790021ddd1744f64b08a5632a466179abf5ba2db61701f14384d95b95062a8932ea21b9d0b621c189220da diff --git a/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild b/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild index 0c1a0b837148..0ad34429a489 100644 --- a/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild +++ b/sys-auth/libnss-cache/libnss-cache-0.10.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=3 +EAPI=6 -inherit eutils multilib toolchain-funcs +inherit multilib-minimal toolchain-funcs DESCRIPTION="libnss-cache is a library that serves nss lookups" HOMEPAGE="https://github.com/google/nsscache" @@ -12,23 +12,22 @@ SRC_URI="https://nsscache.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="multilib" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.1-make.patch + "${FILESDIR}"/${PN}-0.10-fix-shadow-test.patch +) src_prepare() { - epatch "${FILESDIR}"/${PN}-0.10.1-make.patch - epatch "${FILESDIR}"/${PN}-0.10-fix-shadow-test.patch + default + multilib_copy_sources } -src_compile() { - emake CC="$(tc-getCC)" nss_cache || die - if use multilib && has_multilib_profile; then - emake CC="$(tc-getCC)" nss_cache32 || die - fi +multilib_src_compile() { + emake CC="$(tc-getCC)" nss_cache } -src_install() { - emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die - if use multilib && has_multilib_profile; then - emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install32 || die - fi +multilib_src_install() { + emake DESTDIR="${ED}" LIBDIR="${ED%/}/usr/$(get_libdir)" install } |