diff options
Diffstat (limited to 'databases/ruby-interbase/files/patch-extconf.rb')
-rw-r--r-- | databases/ruby-interbase/files/patch-extconf.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/databases/ruby-interbase/files/patch-extconf.rb b/databases/ruby-interbase/files/patch-extconf.rb deleted file mode 100644 index 4479ec1edc88..000000000000 --- a/databases/ruby-interbase/files/patch-extconf.rb +++ /dev/null @@ -1,24 +0,0 @@ ---- extconf.rb.orig Wed May 12 19:19:36 1999 -+++ extconf.rb Fri Nov 9 10:14:03 2001 -@@ -1,5 +1,19 @@ - require 'mkmf' -+INTERBASEDIR = "/usr/interbase" - --have_library("gdslib", "isc_attach_database") or -- have_library("gds", "isc_attach_database") -+incdir = with_config("interbase-include-dir") -+if incdir then -+ $CFLAGS += " -I#{incdir}" -+else -+ $CFLAGS = " -I#{INTERBASEDIR}/include" -+end -+ -+libdir = with_config("interbase-lib-dir") -+if libdir then -+ $LDFLAGS += "-L#{libdir}" -+else -+ $LDFLAGS = "-L#{INTERBASEDIR}/lib" -+end -+ -+$libs = "-lgds" - create_makefile("interbase") |