diff --git a/srcpkgs/chroot-gettext/template b/srcpkgs/chroot-gettext/template
index 7d52a0d1a63..7a6e576580a 100644
--- a/srcpkgs/chroot-gettext/template
+++ b/srcpkgs/chroot-gettext/template
@@ -1,15 +1,17 @@
 # Template build file for 'chroot-gettext'.
 pkgname=chroot-gettext
 version=0.18.3
-revision=2
+revision=3
 wrksrc="gettext-${version}"
+bootstrap=yes
+conflicts="gettext>=0"
+provides="gettext-${version}_${revision}"
 build_style=gnu-configure
 configure_args="--disable-java --disable-native-java --disable-csharp
  --disable-libasprintf --enable-threads=posix --disable-rpath
  --disable-acl --with-included-glib --with-included-libcroco --without-git
- --with-included-libxml --without-included-regex --without-emacs
- --disable-shared --disable-nls --disable-openmp --disable-curses
- --without-included-regex"
+ --with-included-libxml --without-emacs --disable-shared --disable-nls
+ --disable-openmp --disable-curses gl_cv_func_gettimeofday_clobber=no"
 homepage="http://www.gnu.org/software/gettext/"
 license="GPL-3"
 short_desc="Internationalized Message Handling tools -- for xbps-src use"
@@ -17,10 +19,6 @@ maintainer="Juan RP <xtraeme@gmail.com>"
 distfiles="http://ftp.gnu.org/pub/gnu/gettext/gettext-$version.tar.gz"
 checksum=36f3c1043df803565d4977c1efbd41e1ec0f0301acf5f057984406c34cb9f948
 
-bootstrap=yes
-conflicts="gettext>=0"
-provides="gettext-${version}"
-
 post_install() {
 	rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/lib ${DESTDIR}/usr/include
 }