Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2002 22:13:17 +0000
From:      Thomas Hurst <freaky@aagh.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34389: databases/ruby-mysql is not LOCALBASE clean
Message-ID:  <E16VK1d-000FdA-00@voi.aagh.net>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16VK1d-000FdA-00>