Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 226789 | Differences between
and this patch

Collapse All | Expand All

(-)a/lrzsz-0.12.20-r2.ebuild (-4 / +24 lines)
Lines 4-10 Link Here
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit flag-o-matic eutils toolchain-funcs
7
inherit autotools flag-o-matic eutils toolchain-funcs
8
8
9
DESCRIPTION="Communication package providing the X, Y, and ZMODEM file transfer protocols"
9
DESCRIPTION="Communication package providing the X, Y, and ZMODEM file transfer protocols"
10
HOMEPAGE="http://www.ohse.de/uwe/software/lrzsz.html"
10
HOMEPAGE="http://www.ohse.de/uwe/software/lrzsz.html"
Lines 19-26 Link Here
19
RDEPEND="${DEPEND}"
19
RDEPEND="${DEPEND}"
20
20
21
src_prepare() {
21
src_prepare() {
22
	sed -i -e '/^CFLAGS=/d' lib/Makefile.am src/Makefile.am
22
	epatch "${FILESDIR}"/${PN}-makefile-smp.patch
23
	epatch "${FILESDIR}"/${PN}-makefile-smp.patch
23
	epatch "${FILESDIR}"/${PN}-implicit-decl.patch
24
	epatch "${FILESDIR}"/${PN}-implicit-decl.patch
25
	sed -i \
26
		-e '/^AC_AIX$/d' \
27
		-e 's/strings\.h /&locale.h /' \
28
		-e '/^AM_GNU_GETTEXT$/d' \
29
		-e 's/^AC_MINIX$/AC_USE_SYSTEM_EXTENSIONS\nAM_GNU_GETTEXT/' \
30
		-e 's/\(AC_DEFINE\(_UNQUOTED\)\?(.*\)\(LOCALEDIR\|PUBDIR\|ENABLE_SYSLOG\)\(,.*\))/\1\3\4, [\3])/' \
31
		-e 's/\(AC_DEFINE(\)\(ENABLE_MKDIR\|ENABLE_SYSLOG_DEFAULT\|ENABLE_SYSLOG_FORCE\|ENABLE_TIMESYNC\|HAVE_FTIME\|HAVE_STRUCT_UTIMBUF\|HAVE_TIMEZONE_VAR\|STRICT_PROTOTYPES\))/\1\2, 1, [\2])/' \
32
		configure.in
33
	sed -i \
34
		-e 's/\(AC_DEFINE(\)\(SYS_TIME_WITHOUT_SYS_SELECT\))/\1\2, 1, [\2])/' \
35
		-e 's/\(AC_DEFINE(\)\(\[HAVE_ERRNO_DECLARATION\]\))/\1\2, 1, [\2])/' \
36
		-e '/AC_DEFINE(\[speed_t\]/s/)/, [speed_t])/' \
37
		acinclude.m4
38
	# automake is unhappy if this is missing
39
	>> config.rpath
40
	# This is too old.  Remove it so automake puts in a newer copy.
41
	rm -f missing
42
	# Autoheader does not like seeing this file.
43
	rm -f acconfig.h
44
	eautoreconf
24
}
45
}
25
46
26
src_configure() {
47
src_configure() {
Lines 36-44 Link Here
36
}
57
}
37
58
38
src_install() {
59
src_install() {
39
	make \
60
	emake \
40
		prefix="${D}/usr" \
61
		DESTDIR="${D}" \
41
		mandir="${D}/usr/share/man" \
42
		install || die "make install failed"
62
		install || die "make install failed"
43
63
44
	local x
64
	local x

Return to bug 226789