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

Collapse All | Expand All

(-)dcc-1.3.140-r1.ebuild (-3 / +6 lines)
Lines 12-18 Link Here
12
12
13
LICENSE="DCC"
13
LICENSE="DCC"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
15
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
16
IUSE="cgi ipv6 rrdtool milter"
16
IUSE="cgi ipv6 rrdtool milter"
17
17
18
RDEPEND="dev-lang/perl
18
RDEPEND="dev-lang/perl
Lines 30-36 Link Here
30
dcc_rundir=/var/run/dcc
30
dcc_rundir=/var/run/dcc
31
31
32
src_prepare() {
32
src_prepare() {
33
	epatch "${FILESDIR}"/dcc-1.3.140-configure-fix.patch
33
	epatch "${FILESDIR}"/dcc-1.3.140-configure-fix.patch \
34
		"${FILESDIR}"/dcc-1.3.140-freebsd.patch # We use gmake
34
}
35
}
35
36
36
src_configure() {
37
src_configure() {
Lines 51-56 Link Here
51
	myconf="${myconf} --with-max-db-mem=128"
52
	myconf="${myconf} --with-max-db-mem=128"
52
	myconf="${myconf} --with-max-log-size=0"
53
	myconf="${myconf} --with-max-log-size=0"
53
	myconf="${myconf} $(use_enable ipv6 IPv6)"
54
	myconf="${myconf} $(use_enable ipv6 IPv6)"
55
	# Force ${MAKE} or make is selected on BSD
56
	myconf="${myconf} --with-make-cmd=${MAKE:-make}"
54
57
55
	if use milter ; then
58
	if use milter ; then
56
		myconf="${myconf} --enable-dccm"
59
		myconf="${myconf} --enable-dccm"
Lines 85-91 Link Here
85
88
86
src_install() {
89
src_install() {
87
	# stolen from the RPM .spec and modified for gentoo
90
	# stolen from the RPM .spec and modified for gentoo
88
	MANOWN=root MANGRP=root export MANOWN MANGRP
91
	MANOWN=root MANGRP=$(id -g -n root) export MANOWN MANGRP
89
	BINOWN="${MANOWN}" BINGRP="${MANGRP}" export BINOWN BINGRP
92
	BINOWN="${MANOWN}" BINGRP="${MANGRP}" export BINOWN BINGRP
90
	DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
93
	DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
91
	DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
94
	DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR

Return to bug 418417