diff options
author | Paul Labedan <plabedan@gmail.com> | 2015-02-03 20:00:58 +0100 |
---|---|---|
committer | Paul Labedan <plabedan@gmail.com> | 2015-02-03 20:00:58 +0100 |
commit | 8a13d75745b1cc59655f3fb5927a91d1d66d1ff6 (patch) | |
tree | 97119e92deaadbab57505d15b868898ebed2e5a0 /sys-devel | |
parent | add cmake 3.1.1 (diff) | |
download | plab-8a13d75745b1cc59655f3fb5927a91d1d66d1ff6.tar.gz plab-8a13d75745b1cc59655f3fb5927a91d1d66d1ff6.tar.bz2 plab-8a13d75745b1cc59655f3fb5927a91d1d66d1ff6.zip |
add patch-2.7.2 because git-sources needs patch < 2.7.3
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/patch/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/patch/metadata.xml | 5 | ||||
-rw-r--r-- | sys-devel/patch/patch-2.7.2.ebuild | 30 |
3 files changed, 38 insertions, 0 deletions
diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest new file mode 100644 index 0000000..a7318f5 --- /dev/null +++ b/sys-devel/patch/Manifest @@ -0,0 +1,3 @@ +DIST patch-2.7.2.tar.xz 684108 SHA256 9a55c7e7415fa789acc45dbe78fe4675b1fa12c1ccb19f1513f69fca3f798a9a SHA512 dcfcc06e0503236b05a9202906116a5ec039b30d8d4ad0eddd63601a2ba37b81cd4ebf71749ff69c0e05d49ae4fe8a01332d5c6c6499ab5eb1eea9176b374ede WHIRLPOOL 66e019eef0b33709357a5ffcdf43f43ad41673c64368644676ab82407611e905f201446042c824c30e690424f5db218ad4903785431bbd479c1be249c5e72732 +EBUILD patch-2.7.2.ebuild 1110 SHA256 606626999a5c49b03ea8768cf192e4a095a0e6736b97b7cfee62f8a0f6c7b21f SHA512 98a3d50460423a92ad39ebd26d41f4f1e9643871fdc3cfd35977fa4d31970a7089d54e79b75537fa31ddd648d1d37e4c419a84d400a292f550733ca87b475f71 WHIRLPOOL 7bdc791cdb981ce3ef039c24290a3da1d72c5144ce45003d251c599c104e861c5d258c48eb104d5a9db3e768777ecfb5754f7c9405da6919bee3fab0776f546c +MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52 diff --git a/sys-devel/patch/metadata.xml b/sys-devel/patch/metadata.xml new file mode 100644 index 0000000..96a2d58 --- /dev/null +++ b/sys-devel/patch/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +</pkgmetadata> diff --git a/sys-devel/patch/patch-2.7.2.ebuild b/sys-devel/patch/patch-2.7.2.ebuild new file mode 100644 index 0000000..8a696da --- /dev/null +++ b/sys-devel/patch/patch-2.7.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.7.4.ebuild,v 1.1 2015/02/01 14:14:49 polynomial-c Exp $ + +EAPI=4 + +inherit flag-o-matic eutils + +DESCRIPTION="Utility to apply diffs to files" +HOMEPAGE="http://www.gnu.org/software/patch/patch.html" +SRC_URI="mirror://gnu/patch/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static test xattr" + +RDEPEND="xattr? ( sys-apps/attr )" +DEPEND="${RDEPEND} + test? ( sys-apps/ed )" + +src_configure() { + use static && append-ldflags -static + + # Do not let $ED mess up the search for `ed` 470210. + ac_cv_path_ED=$(type -P ed) \ + econf \ + $(use_enable xattr) \ + --program-prefix="$(use userland_BSD && echo g)" +} |