summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild')
-rw-r--r--www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild b/www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild
index 6625855..b3c02de 100644
--- a/www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild
+++ b/www-misc/mirrorbrain/mirrorbrain-2.15.1.ebuild
@@ -35,14 +35,17 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
- enewgroup mirrorbrain
- enewuser mirrorbrain -1 -1 /dev/null mirrorbrain
+ #enewgroup mirrorbrain
+ #enewuser mirrorbrain -1 -1 /dev/null mirrorbrain
+ :
}
src_prepare() {
- sed -i -e 's:/var/lib/GeoIP/GeoLiteCity.dat:/usr/share/GeoIP/GeoIP.dat:' ${S}/tools/geoiplookup_city.c || die
- sed -i -e 's:/var/lib/GeoIP/GeoIP.dat:/usr/share/GeoIP/GeoIP.dat:' ${S}/tools/geoiplookup_continent.c || die
+ sed -i -e 's:/var/lib/GeoIP/GeoLiteCity.dat:/usr/share/GeoIP/GeoIP.dat:' ${S}/tools/geoiplookup_city.c || die
+ sed -i -e 's:/var/lib/GeoIP/GeoIP.dat:/usr/share/GeoIP/GeoIP.dat:' ${S}/tools/geoiplookup_continent.c || die
+ epatch "${FILESDIR}"/0001-mirrorprobe-fix-str-int-issue.patch
}
+
src_compile() {
tc-export CC
cd tools