diff --git a/helpers/make-dpkg b/helpers/make-dpkg
index dac730a7413674ce3f7c104cd0dc166b551ab552..e04ae0fc4091fb297f970d48a2343bf341968d85 100644
--- a/helpers/make-dpkg
+++ b/helpers/make-dpkg
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=3
+VERSION=4
 COMPONENT=main
 
 . ./config
@@ -38,6 +38,9 @@ sed '/Ubuntu.pm/a\\tDpkg/Vendor/Trisquel.pm \\' -i scripts/Makefile.in scripts/M
 sed '/Dpkg_BuildFlags_Ubuntu.t/a\\tt/Dpkg_BuildFlags_Trisquel.t \\' -i scripts/Makefile.in scripts/Makefile.am
 sed '/Dpkg_Changelog_Ubuntu.t/a\\tt/Dpkg_Changelog_Trisquel.t \\' -i scripts/Makefile.in scripts/Makefile.am
 
+# Trisquel.pm in now here, not at trisquel-base-data
+sed '/Package: libdpkg-perl/,/^$/s/Depends:/Replaces: trisquel-base-data\nDepends:/' -i debian/control
+
 changelog "Compiled for Trisquel"
 
 compile