diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-13 14:07:38 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-13 14:07:38 +0000 |
commit | 98dce7cb99330fbc1db4811255a6a919b959268f (patch) | |
tree | a0a8ee0a6cd140215f0e1823c2d2c62738abd76a /databases/ruby-interbase/files | |
parent | ac4c26e3ec3e1e29eafc0bdf392305cff5e4d2c3 (diff) | |
download | FreeBSD-ports-98dce7cb99330fbc1db4811255a6a919b959268f.zip FreeBSD-ports-98dce7cb99330fbc1db4811255a6a919b959268f.tar.gz |
add ruby-interbase
Ruby interface to Interbase library
PR: 31869
Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'databases/ruby-interbase/files')
-rw-r--r-- | databases/ruby-interbase/files/patch-extconf.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/ruby-interbase/files/patch-extconf.rb b/databases/ruby-interbase/files/patch-extconf.rb new file mode 100644 index 0000000..e6771c0 --- /dev/null +++ b/databases/ruby-interbase/files/patch-extconf.rb @@ -0,0 +1,24 @@ +--- 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") |