dev-libs/xmlrpc-c: Alter LC* and friend in local scope
authorJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 16:28:36 +0000 (18:28 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 2 Sep 2015 16:30:36 +0000 (18:30 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-libs/xmlrpc-c/metadata.xml
dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild

index 8be0201c8ad664fc7a6fe226deedc76c2208567d..658f772390fb649e892f703c0f853d445374540f 100644 (file)
@@ -6,9 +6,9 @@
                <name>Sergey Popov</name>
        </maintainer>
        <use>
-               <flag name='abyss'>Build the Abyss mini web-server.</flag>
-               <flag name='libxml2'>Use dev-libs/libxml2 to parse XML instead of the internal expat library.</flag>
-               <flag name='threads'>Controls whether to build the Abyss web-server with pthreads or fork 'threading'.</flag>
-               <flag name='tools'>Build the xmlrpc* tools.</flag>
+               <flag name="abyss">Build the Abyss mini web-server.</flag>
+               <flag name="libxml2">Use dev-libs/libxml2 to parse XML instead of the internal expat library.</flag>
+               <flag name="threads">Controls whether to build the Abyss web-server with pthreads or fork 'threading'.</flag>
+               <flag name="tools">Build the xmlrpc* tools.</flag>
        </use>
 </pkgmetadata>
index c604bdddcf508468adfd11eb1c3e69534f5d1654..3d95a102a5e7564c1f5429827e8a53a7e51fdd16 100644 (file)
@@ -42,14 +42,14 @@ pkg_setup() {
        use curl || ewarn "Curl support disabled: No client library will be built"
 }
 
-#Bug 214137: We need to filter this.
-unset SRCDIR
+src_prepare() {
+       #Bug 214137: We need to filter this.
+       unset SRCDIR
 
-# Bug 255440
-export LC_ALL=C
-export LANG=C
+       # Bug 255440
+       export LC_ALL=C
+       export LANG=C
 
-src_prepare() {
        epatch "${FILESDIR}"/${PN}-1.32.05-Wimplicit.patch
        sed -i \
                -e "/CFLAGS_COMMON/s|-g -O3$||" \