From 5fdad09fd790b08cc111d9a4b832b83ba384e6f2 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 9 Jan 2001 20:59:50 +0000 Subject: Add ruby-qt2, Qt2 extension for Ruby. Repocopied from: x11-toolkits/ruby-qt --- x11-toolkits/ruby-qt2/files/patch-extconf.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 x11-toolkits/ruby-qt2/files/patch-extconf.rb (limited to 'x11-toolkits/ruby-qt2/files/patch-extconf.rb') diff --git a/x11-toolkits/ruby-qt2/files/patch-extconf.rb b/x11-toolkits/ruby-qt2/files/patch-extconf.rb new file mode 100644 index 000000000000..1ad2d9cba1cb --- /dev/null +++ b/x11-toolkits/ruby-qt2/files/patch-extconf.rb @@ -0,0 +1,26 @@ +--- extconf.rb.orig Sun Dec 24 18:55:56 2000 ++++ extconf.rb Wed Jan 10 05:18:54 2001 +@@ -14,20 +14,15 @@ + # --with-qt2-dir=/usr/lib/qt-2 + dir_config('qt2') + +-# e.g. --with-qti18n if you use i18n patched Qt lib. +-qti18n = with_config('qti18n') ++dir_config('x11') + +-if qti18n +- $CFLAGS += ' -DI18NQT' +-end +- +-qt = if qti18n.kind_of?(String) then qti18n else 'qt' end ++qt2 = with_config('qt2', 'qt') + + $CFLAGS += ' -I. -O -w ' + + p $CFLAGS + +-if have_header('qapplication.h') and have_library(qt) ++if have_header('qapplication.h') and have_library(qt2) + create_makefile('qt2') + else + print "You do not seem to have qt library. Plrease check qt or extconf.rb.\n" -- cgit v1.2.3