+--- Tk-804.031/Canvas/Makefile.PL~ 2010-05-29 11:55:02.000000000 +0200
++++ Tk-804.031/Canvas/Makefile.PL 2013-06-13 15:24:32.771215659 +0200
+@@ -2,7 +2,7 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- ($^O eq 'MSWin32' ? () : ('LIBS' => ["-lm"])),
++ ($^O eq 'MSWin32' ? () : ('LIBS' => ["-lm -lX11"])),
+ 'dynamic_ptk' => 1
+ );
+
+--- Tk-804.031/Compound/Makefile.PL~ 2010-05-29 11:55:24.000000000 +0200
++++ Tk-804.031/Compound/Makefile.PL 2013-06-13 15:36:38.135574426 +0200
+@@ -1,3 +1,5 @@
+ use Tk::MMutil;
+-Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1);
++Tk::MMutil::TkExtMakefile(
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]);
+
+--- Tk-804.031/Entry/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Entry/Makefile.PL 2013-06-13 15:37:01.075817251 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/HList/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/HList/Makefile.PL 2013-06-13 15:37:17.855994870 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/InputO/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/InputO/Makefile.PL 2013-06-13 15:37:34.782840708 +0200
+@@ -2,7 +2,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/Listbox/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Listbox/Makefile.PL 2013-06-13 15:37:48.489652460 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/Menubutton/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Menubutton/Makefile.PL 2013-06-13 15:38:01.246454155 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/Mwm/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Mwm/Makefile.PL 2013-06-13 15:38:16.663284007 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/NBFrame/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/NBFrame/Makefile.PL 2013-06-13 15:38:30.380095863 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/Scale/Makefile.PL~ 2010-05-29 11:55:02.000000000 +0200
++++ Tk-804.031/Scale/Makefile.PL 2013-06-13 15:38:50.166971968 +0200
+@@ -1,7 +1,7 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- ($^O eq 'MSWin32' ? () : ('LIBS' => ["-lm"])),
++ ($^O eq 'MSWin32' ? () : ('LIBS' => ["-lm -lX11"])),
+ 'dynamic_ptk' => 1
+ );
+
+--- Tk-804.031/Scrollbar/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Scrollbar/Makefile.PL 2013-06-13 15:39:13.013880462 +0200
+@@ -1,5 +1,7 @@
+
+ use Tk::MMutil;
+-Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1);
++Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
++);
+
+
+--- Tk-804.031/TList/Makefile.PL~ 2010-05-29 11:55:02.000000000 +0200
++++ Tk-804.031/TList/Makefile.PL 2013-06-13 15:39:25.744015206 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/Text/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Text/Makefile.PL 2013-06-13 15:39:39.227491255 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/TixGrid/Makefile.PL~ 2010-05-29 11:55:02.000000000 +0200
++++ Tk-804.031/TixGrid/Makefile.PL 2013-06-13 15:39:52.847635419 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 1
++ 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
+ );
+
+
+--- Tk-804.031/WinPhoto/Makefile.PL~ 2010-05-29 11:55:18.000000000 +0200
++++ Tk-804.031/WinPhoto/Makefile.PL 2013-06-13 15:40:15.051203765 +0200
+@@ -1,5 +1,7 @@
+ use Tk::MMutil;
+-Tk::MMutil::TkExtMakefile( 'dynamic_ptk' => 1 );
++Tk::MMutil::TkExtMakefile( 'dynamic_ptk' => 1,
++ 'LIBS' => ["-lX11"]
++);
+
+
+
+--- Tk-804.031/Xlib/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
++++ Tk-804.031/Xlib/Makefile.PL 2013-06-13 15:40:27.581336389 +0200
+@@ -1,7 +1,8 @@
+
+ use Tk::MMutil;
+ Tk::MMutil::TkExtMakefile(
+- 'dynamic_ptk' => 0
++ 'dynamic_ptk' => 0,
++ 'LIBS' => ["-lX11"]
+ );
+
+