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

Collapse All | Expand All

(-)/usr/portage/dev-db/postgresql-base/postgresql-base-8.4.1.ebuild (-1 / +8 lines)
Lines 7-13 EAPI="1" Link Here
7
WANT_AUTOCONF="latest"
7
WANT_AUTOCONF="latest"
8
WANT_AUTOMAKE="none"
8
WANT_AUTOMAKE="none"
9
9
10
inherit eutils multilib toolchain-funcs versionator autotools
10
inherit eutils multilib toolchain-funcs versionator autotools flag-o-matic
11
11
12
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
12
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
13
13
Lines 66-71 src_unpack() { Link Here
66
}
66
}
67
67
68
src_compile() {
68
src_compile() {
69
	# Bug #285953: don't use strlcat and friends from kerberos or similar
70
	local func
71
	for func in strlcat strlcpy; do
72
		eval "export ac_cv_func_${func}=no"
73
		append-cppflags -D${func}=pg_${func}
74
	done
75
69
	econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \
76
	econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \
70
		--datadir=/usr/share/postgresql-${SLOT} \
77
		--datadir=/usr/share/postgresql-${SLOT} \
71
		--docdir=/usr/share/doc/postgresql-${SLOT} \
78
		--docdir=/usr/share/doc/postgresql-${SLOT} \

Return to bug 285953