openbsd-ports/net/rrdtool/patches/patch-bindings_ruby_extconf_rb
sthen 596c7f24b2 Update to rrdtool 1.4.8. Merge p5-RRD into the main package.
Note that this now uses cairo for graphics generation and pango/fontconfig
for text rendering; if you are using this in a chroot jail (for cgi/php
scripts, etc) you will need to take additional steps to install the relevant
files. A script is provided to copy the relevant libraries and support files;
see /usr/local/share/doc/pkg-readmes/rrdtool-1.4.8 for more details.
2013-11-05 17:49:01 +00:00

11 lines
375 B
Plaintext

$OpenBSD: patch-bindings_ruby_extconf_rb,v 1.3 2013/11/05 17:49:01 sthen Exp $
--- bindings/ruby/extconf.rb.orig Thu May 23 08:55:07 2013
+++ bindings/ruby/extconf.rb Thu May 23 20:20:56 2013
@@ -14,5 +14,5 @@ elsif /aix/ =~ RUBY_PLATFORM
end
dir_config("rrd","../../src","../../src/.libs")
-have_library("rrd", "rrd_create")
+$LDFLAGS+= ' -lrrd'
create_makefile("RRD")