Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 03:52:38 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        Robert Burmeister <Robert.Burmeister@UToledo.edu>
Cc:        ruby@FreeBSD.org, Hajimu UMEMOTO <ume@FreeBSD.org>
Subject:   Re: FreeBSD Port: graphics/rubygem-cairo
Message-ID:  <ygeiohads7d.wl%ume@FreeBSD.org>
In-Reply-To: <543665CE.2000400@UToledo.edu>
References:  <543665CE.2000400@UToledo.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--Multipart_Thu_Dec_18_03:52:38_2014-1
Content-Type: text/plain; charset=US-ASCII

Hi,

>>>>> On Thu, 9 Oct 2014 06:39:10 -0400
>>>>> Robert Burmeister <Robert.Burmeister@UToledo.edu> said:

> /usr/local/lib/ruby/gems/1.9/gems/pkg-config-1.1.5/lib/pkg-config.rb:239:in
> `parse_pc': .pc for zlib doesn't exist. (RuntimeError)

I met same problem here on my 10.1-STABLE box.
rubygem-cairo-1.12.9 requires zlib.pc.  There is zlib.pc in
/usr/libdata/pkgconfig.  However, rubygem-pkg-config-1.1.6 doesn't
search /usr/libdata/pkgconfig.
Rebuilding rubygem-pkg-config with the attached patch fixed it.

Sincerely,


--Multipart_Thu_Dec_18_03:52:38_2014-1
Content-Type: text/x-patch; charset=US-ASCII
Content-Disposition: attachment; filename="patch-lib__pkg-config.rb"
Content-Transfer-Encoding: 8bit

Index: lib/pkg-config.rb
diff -u lib/pkg-config.rb.orig lib/pkg-config.rb
--- lib/pkg-config.rb.orig	2014-12-16 18:52:11.177908000 +0900
+++ lib/pkg-config.rb	2014-12-16 18:54:33.498910198 +0900
@@ -310,6 +310,7 @@
                     arch_depended_path,
                     "/usr/lib64/pkgconfig",
                     "/usr/lib/pkgconfig",
+                    "/usr/libdata/pkgconfig",
                     "/usr/X11/lib/pkgconfig/",
                     "/opt/X11/lib/pkgconfig/",
                     "/usr/share/pkgconfig"].join(SEPARATOR)

--Multipart_Thu_Dec_18_03:52:38_2014-1
Content-Type: text/plain; charset=US-ASCII


--
Hajimu UMEMOTO
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/

--Multipart_Thu_Dec_18_03:52:38_2014-1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygeiohads7d.wl%ume>