aboutsummaryrefslogtreecommitdiff
path: root/graphics/ruby-gdk_imlib
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-20 12:34:39 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-20 12:34:39 +0000
commit1c39591d9ad57d9c4c7d2a08c179ffdb9896849b (patch)
tree3225a24111af606e44ea065b7c4dc7b89cf43a9d /graphics/ruby-gdk_imlib
parent3184f276f828b7c05b25947e1261c5da369cc01f (diff)
downloadports-1c39591d9ad57d9c4c7d2a08c179ffdb9896849b.tar.gz
ports-1c39591d9ad57d9c4c7d2a08c179ffdb9896849b.zip
Notes
Diffstat (limited to 'graphics/ruby-gdk_imlib')
-rw-r--r--graphics/ruby-gdk_imlib/Makefile3
-rw-r--r--graphics/ruby-gdk_imlib/files/patch-extconf.rb11
2 files changed, 6 insertions, 8 deletions
diff --git a/graphics/ruby-gdk_imlib/Makefile b/graphics/ruby-gdk_imlib/Makefile
index 5b47ad1dbff9..76f29faff8b5 100644
--- a/graphics/ruby-gdk_imlib/Makefile
+++ b/graphics/ruby-gdk_imlib/Makefile
@@ -28,8 +28,7 @@ USE_IMLIB= yes
WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME}
INSTALL_TARGET= site-install
-CONFIGURE_ARGS= --with-glib-config="${GLIB_CONFIG}" \
- --with-imlib-config="${IMLIB_CONFIG}"
+CONFIGURE_ARGS= --with-imlib-config="${IMLIB_CONFIG}"
DOCS_EN= ChangeLog
diff --git a/graphics/ruby-gdk_imlib/files/patch-extconf.rb b/graphics/ruby-gdk_imlib/files/patch-extconf.rb
index 2af7fa76438f..a4c2e4bbbc8f 100644
--- a/graphics/ruby-gdk_imlib/files/patch-extconf.rb
+++ b/graphics/ruby-gdk_imlib/files/patch-extconf.rb
@@ -1,11 +1,10 @@
---- extconf.rb.orig Sat Jun 3 23:56:38 2000
-+++ extconf.rb Wed Feb 28 20:53:13 2001
-@@ -1,27 +1,26 @@
+--- extconf.rb.orig Thu Oct 4 11:13:45 2001
++++ extconf.rb Wed Mar 20 20:59:11 2002
+@@ -1,27 +1,25 @@
require 'mkmf'
-rubygtk_dir = "../gtk"
-rubygtk_dir = ARGV[0] if ARGV[0]
-+glib_config = with_config("glib-config", "glib-config")
+imlib_config = with_config("imlib-config", "imlib-config")
+
+while /^--/ =~ ARGV[0]
@@ -26,8 +25,8 @@
-$CFLAGS = "-g -I#{rubygtk_dir}/src " + `imlib-config --cflags-gdk`.chomp
-$LDFLAGS = `imlib-config --libs-gdk`.chomp
-+$CFLAGS += "-g -I#{rubygtk_dir}/src " + `#{glib_config} --cflags`.chomp + ' ' + `#{imlib_config} --cflags-gdk`.chomp
-+$LDFLAGS += `#{glib_config} --libs`.chomp + ' ' + `#{imlib_config} --libs-gdk`.chomp
++$CFLAGS += "-g -I#{rubygtk_dir}/src " + `#{imlib_config} --cflags-gdk`.chomp
++$LDFLAGS += `#{imlib_config} --libs-gdk`.chomp
have_library("X11", "XOpenDisplay") &&
have_library("Xi", "XOpenDevice") &&