$NetBSD: patch-aa,v 1.2 2003/09/11 15:34:04 taca Exp $ --- extconf.rb.orig 2003-08-10 00:45:40.000000000 +0900 +++ extconf.rb 2003-08-31 01:02:51.000000000 +0900 @@ -9,7 +9,7 @@ $CPPFLAGS += ' ' + cflags $libs = libs + " " + $libs else - inc, lib = dir_config('mysql', '/usr/local') + inc, lib = dir_config('mysql', CONFIG['prefix']) libs = ['m', 'z', 'socket', 'nsl'] while not find_library('mysqlclient', 'mysql_query', lib, "#{lib}/mysql") do exit 1 if libs.empty?