From 746abf87439275a9c601240a86e29b1470c4e797 Mon Sep 17 00:00:00 2001
From: hasso <hasso>
Date: Fri, 20 Mar 2009 17:32:06 +0000
Subject: Make it build on non amd64 systems with modular xorg.

---
 x11/p5-Tk/patches/patch-ah | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 x11/p5-Tk/patches/patch-ah

(limited to 'x11/p5-Tk/patches')

diff --git a/x11/p5-Tk/patches/patch-ah b/x11/p5-Tk/patches/patch-ah
new file mode 100644
index 00000000000..7bb6cd5a731
--- /dev/null
+++ b/x11/p5-Tk/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2009/03/20 17:32:06 hasso Exp $
+
+--- myConfig.orig	2009-03-20 18:58:54 +0200
++++ myConfig	2009-03-20 18:59:41 +0200
+@@ -321,7 +321,7 @@ if ($win_arch eq 'x') {
+   #
+   # Prefer 64bit libraries on certain architectures
+   #
+-  unless (defined $xlib and $Config{'archname'} =~ m/x86_64/)
++  if (!defined $xlib and $Config{'archname'} =~ m/x86_64/)
+     {
+       $xlib = &lX11(0, chooseX11(</usr/X11*/lib64>));
+     }
-- 
cgit v1.2.3