1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit fixheadtails toolchain-funcs
8 DESCRIPTION="Qmail Queue Repair Application with support for big-todo"
9 HOMEPAGE="http://www.netmeridian.com/e-huss/"
10 SRC_URI="http://www.netmeridian.com/e-huss/${P}.tar.gz
11 mirror://qmail/queue-fix-todo.patch"
13 LICENSE="all-rights-reserved public-domain" # includes code from qmail
15 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc s390 sparc x86"
16 RESTRICT="mirror bindist"
18 PDEPEND="virtual/qmail"
21 "${DISTDIR}"/queue-fix-todo.patch
22 "${FILESDIR}"/${P}-stdlib.patch
23 "${FILESDIR}"/${P}-errno.patch
28 ht_fix_file "${S}"/Makefile*
32 echo "$(tc-getCC) ${CFLAGS}" > conf-cc
33 echo "$(tc-getCC) ${LDFLAGS}" > conf-ld
34 sed -e "s#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i make-makelib.sh || die