From 8446cd249b1c8c53f489e5b4f548196d3bc22be0 Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Sun, 22 Feb 2015 08:30:23 +0000
Subject: Remove randomness from the build system

Patch-Name: reproducible_build.diff
---
 Makefile.PL | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.PL b/Makefile.PL
index 6294af5..545798d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -9,6 +9,9 @@ unless (grep /mysql/, DBI->available_drivers) {
   die "DBIx::FullTextSearch requires DBD::mysql - see README for details";
 }
 
+# ensure deterministic output
+$Data::Dumper::Sortkeys = 1;
+
 # this is to catch values from previous perl Makefile.PL run
 use lib 'testconfig';
 
