summaryrefslogtreecommitdiff
path: root/graphics/ruby-gd/files/patch-extconf.rb
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-07-11 18:16:14 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-07-11 18:16:14 +0000
commit99a390f50bab457f60aec3050c18c4b5c5fb7023 (patch)
treefb6e1d6bcf31a0efb7675597b7fa4f423710c0bb /graphics/ruby-gd/files/patch-extconf.rb
parentUpdate to 5.3.10. (diff)
o Change library name from libgd to libgd1.
o Do not install everything except headers and libraries (to avoid conflicting with graphics/gd2) o Fix dependency on new libgd1(for many ports). PR: ports/54100 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=84696
Diffstat (limited to 'graphics/ruby-gd/files/patch-extconf.rb')
-rw-r--r--graphics/ruby-gd/files/patch-extconf.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ruby-gd/files/patch-extconf.rb b/graphics/ruby-gd/files/patch-extconf.rb
new file mode 100644
index 000000000000..f87e00b5c9a0
--- /dev/null
+++ b/graphics/ruby-gd/files/patch-extconf.rb
@@ -0,0 +1,11 @@
+--- extconf.rb.orig Wed May 30 23:14:17 2001
++++ extconf.rb Sun Jul 6 00:14:20 2003
+@@ -48,7 +48,7 @@
+ end
+
+ if have_library('z') and have_library('png') and
+- have_library('gd', 'gdImagePng') and have_library('m')
++ have_library('%%GD%%', 'gdImagePng') and have_library('m')
+
+ if with_config('ttf') and not have_func('gdImageStringTTF')
+ delete_link('ttf')