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

Collapse All | Expand All

(-)a/fcgiwrap-1.1.0.ebuild (-3 / +10 lines)
Lines 5-18 Link Here
5
EAPI="4"
5
EAPI="4"
6
6
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
7
[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || VCS_ECLASS=""
8
inherit autotools toolchain-funcs ${VCS_ECLASS}
8
inherit autotools toolchain-funcs systemd ${VCS_ECLASS}
9
9
10
DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
10
DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
11
HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
11
HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
12
12
13
LICENSE="BSD"
13
LICENSE="BSD"
14
SLOT="0"
14
SLOT="0"
15
IUSE=""
15
IUSE="systemd"
16
16
17
if [[ ${PV} == *9999* ]]; then
17
if [[ ${PV} == *9999* ]]; then
18
       EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
18
       EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
Lines 23-29 Link Here
23
       KEYWORDS="~amd64 ~x86"
23
       KEYWORDS="~amd64 ~x86"
24
fi
24
fi
25
25
26
RDEPEND="dev-libs/fcgi"
26
RDEPEND="dev-libs/fcgi
27
               systemd? ( sys-apps/systemd )"
27
DEPEND="${RDEPEND}
28
DEPEND="${RDEPEND}
28
       virtual/pkgconfig"
29
       virtual/pkgconfig"
29
30
Lines 31-41 Link Here
31
32
32
src_prepare() {
33
src_prepare() {
33
       sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
34
       sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
34
               -i Makefile.in || die "sed failed"
35
               -i Makefile.in || die "sed failed"
35
       tc-export CC
36
       tc-export CC
36
       eautoreconf
37
       eautoreconf
37
}
38
}
38
39
40
src_configure() {
41
       econf \
42
               $(use_with systemd) \
43
               "$(systemd_with_unitdir)"
44
}
45
39
pkg_postinst() {
46
pkg_postinst() {
40
       einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
47
       einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
41
}
48
}

Return to bug 508914