From owner-freebsd-ports Mon Jan 28 14:20:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0F67937B404 for ; Mon, 28 Jan 2002 14:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0SMK1w53298; Mon, 28 Jan 2002 14:20:01 -0800 (PST) (envelope-from gnats) Received: from voi.aagh.net (pc1-hart4-0-cust168.mid.cable.ntl.com [62.254.84.168]) by hub.freebsd.org (Postfix) with ESMTP id 5F53A37B400 for ; Mon, 28 Jan 2002 14:13:18 -0800 (PST) Received: from freaky by voi.aagh.net with local (Exim 3.34 #1) id 16VK1d-000FdA-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 28 Jan 2002 22:13:17 +0000 Message-Id: Date: Mon, 28 Jan 2002 22:13:17 +0000 From: Thomas Hurst Reply-To: Thomas Hurst To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34389: databases/ruby-mysql is not LOCALBASE clean Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34389 >Category: ports >Synopsis: databases/ruby-mysql is not LOCALBASE clean >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 28 14:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Hurst >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Very little >Environment: System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386 LOCALBASE=/usr/pkg >Description: extconf.rb has a hardcoded check for /usr/local, so make configure fails with modified LOCALBASE. >How-To-Repeat: >Fix: Apply the following patch to extconf.rb: --- extconf.rb.old»·····Mon Jan 28 22:08:26 2002 +++ extconf.rb»·Mon Jan 28 22:08:38 2002 @@ -1,5 +1,5 @@ require 'mkmf' -inc, lib = dir_config('mysql', '/usr/local') +inc, lib = dir_config('mysql', ENV['LOCALBASE']) find_library('mysqlclient', 'mysql_query', lib, "#{lib}/mysql") or exit 1 # If you have error such as 'undefined symbol', delete '#' mark follow # lines: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message