summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-11-14 23:41:17 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-11-14 23:41:17 +0000
commitef89e37863d16c5f4e7bfe0868e37b4db6c16507 (patch)
treedfc6db01cbbabe364892bf1d476bbed2c3198deb
parentapp-arch/lha: create lha-114i-fix-getopt_long-declaration.patch (diff)
downloadgentoo-ef89e37863d16c5f4e7bfe0868e37b4db6c16507.tar.gz
gentoo-ef89e37863d16c5f4e7bfe0868e37b4db6c16507.tar.bz2
gentoo-ef89e37863d16c5f4e7bfe0868e37b4db6c16507.zip
app-arch/lha: Mend header. Stick patch in PATCHES array. Mask KEYWORDS.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--app-arch/lha/lha-114i-r8.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/app-arch/lha/lha-114i-r8.ebuild b/app-arch/lha/lha-114i-r8.ebuild
index 02964b3bf1ec..46a631b653e1 100644
--- a/app-arch/lha/lha-114i-r8.ebuild
+++ b/app-arch/lha/lha-114i-r8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#Id$
@@ -10,17 +10,20 @@ MY_P=${PN}-1.14i-ac20050924p1
DESCRIPTION="Utility for creating and opening lzh archives"
HOMEPAGE="http://lha.sourceforge.jp"
SRC_URI="mirror://sourceforge.jp/${PN}/22231/${MY_P}.tar.gz"
-
LICENSE="lha"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint"
IUSE=""
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-file-list-from-stdin.patch
+ "${FILESDIR}"/${P}-fix-getopt_long-declaration.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-file-list-from-stdin.patch
- epatch "${FILESDIR}"/${P}-fix-getopt_long-declaration.patch
+ epatch "${PATCHES[@]}"
sed -e '/^AM_C_PROTOTYPES/d' \
-e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \