diff options
author | skv <skv@FreeBSD.org> | 2004-03-01 15:54:32 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-03-01 15:54:32 +0800 |
commit | 2e78d98f7e9f9fec745de3e2f9d88e79c7ab6dc6 (patch) | |
tree | e3ec72b80a7b3680dd14eb402da48bcbacbb7758 /databases/ruby-interbase | |
parent | 706637aad729e8064a75886deb7bbcd4f0f9e16a (diff) | |
download | freebsd-ports-gnome-2e78d98f7e9f9fec745de3e2f9d88e79c7ab6dc6.tar.gz freebsd-ports-gnome-2e78d98f7e9f9fec745de3e2f9d88e79c7ab6dc6.tar.zst freebsd-ports-gnome-2e78d98f7e9f9fec745de3e2f9d88e79c7ab6dc6.zip |
Unbreak build on ruby-18
Pointed by: kris
Diffstat (limited to 'databases/ruby-interbase')
-rw-r--r-- | databases/ruby-interbase/files/patch-extconf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/ruby-interbase/files/patch-extconf.rb b/databases/ruby-interbase/files/patch-extconf.rb index e6771c0e9026..4479ec1edc88 100644 --- a/databases/ruby-interbase/files/patch-extconf.rb +++ b/databases/ruby-interbase/files/patch-extconf.rb @@ -8,9 +8,9 @@ - have_library("gds", "isc_attach_database") +incdir = with_config("interbase-include-dir") +if incdir then -+ $CFLAGS += "-I#{incdir}" ++ $CFLAGS += " -I#{incdir}" +else -+ $CFLAGS = "-I#{INTERBASEDIR}/include" ++ $CFLAGS = " -I#{INTERBASEDIR}/include" +end + +libdir = with_config("interbase-lib-dir") |