diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template
index 8e1045bd16..c5d50bcf80 100644
--- a/srcpkgs/gdb/template
+++ b/srcpkgs/gdb/template
@@ -1,10 +1,11 @@
 # Template file for 'gdb'
 pkgname=gdb
 version=7.8
-revision=1
+revision=2
 patch_args="-Np1"
 build_style=gnu-configure
 configure_args="--disable-werror --disable-nls --with-system-readline --with-system-gdbinit=/etc/gdb/gdbinit"
+hostmakedepends="perl"
 makedepends="ncurses-devel zlib-devel readline-devel>=6.3"
 conf_files="/etc/gdb/gdbinit"
 pycompile_dirs="usr/share/gdb/python/gdb"