$NetBSD: patch-aa,v 1.1.1.1 2002/01/27 15:19:06 taca Exp $

--- extconf.rb.orig	Mon Jan  7 10:17:28 2002
+++ extconf.rb
@@ -1,5 +1,5 @@
 require 'mkmf'
-inc, lib = dir_config('mysql', '/usr/local')
+inc, lib = dir_config('mysql', CONFIG['prefix'])
 find_library('mysqlclient', 'mysql_query', lib, "#{lib}/mysql") or exit 1
 # If you have error such as 'undefined symbol', delete '#' mark follow
 # lines:
