Skip to content

Commit

Permalink
app-arch/lha: QA warnings are now gone for good.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
monsieurp committed Nov 14, 2015
1 parent ef89e37 commit 85ad34b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions app-arch/lha/lha-114i-r8.ebuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#Id$
# $Id$

EAPI=5
inherit autotools eutils flag-o-matic
Expand All @@ -23,31 +23,31 @@ PATCHES=(
)

src_prepare() {
epatch "${PATCHES[@]}"
epatch "${PATCHES[@]}"

sed -e '/^AM_C_PROTOTYPES/d' \
-e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
-i configure.ac || die #423125, 467544
sed -e '/^AM_C_PROTOTYPES/d' \
-e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
-i configure.ac || die #423125, 467544

eautoreconf
eautoreconf
}

src_configure() {
append-cppflags -DPROTOTYPES #423125
append-cppflags -DPROTOTYPES #423125

if [[ ${CHOST} == *-interix* ]]; then
export ac_cv_header_inttypes_h=no
export ac_cv_func_iconv=no
fi
if [[ ${CHOST} == *-interix* ]]; then
export ac_cv_header_inttypes_h=no
export ac_cv_func_iconv=no
fi

econf
econf
}

src_install() {
emake \
DESTDIR="${D}" \
mandir="${EPREFIX}"/usr/share/man/ja \
install
emake \
DESTDIR="${D}" \
mandir="${EPREFIX}"/usr/share/man/ja \
install

dodoc ChangeLog Hacking_of_LHa
dodoc ChangeLog Hacking_of_LHa
}

0 comments on commit 85ad34b

Please sign in to comment.