diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-08-31 11:07:30 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-08-31 11:07:30 +0000 |
commit | e308c39d5ffe4b2d45ac58ab8d17071311f79cae (patch) | |
tree | dd6bdad03cacbf01a81ba021cdd7f36e41d8259a /databases/postgresql-plruby | |
parent | 71228933821e9c1453f3614a9d45db0a4e898988 (diff) |
Notes
Diffstat (limited to 'databases/postgresql-plruby')
-rw-r--r-- | databases/postgresql-plruby/files/patch-extconf.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/postgresql-plruby/files/patch-extconf.rb b/databases/postgresql-plruby/files/patch-extconf.rb new file mode 100644 index 000000000000..d621ced0e07a --- /dev/null +++ b/databases/postgresql-plruby/files/patch-extconf.rb @@ -0,0 +1,11 @@ +--- extconf.rb.orig 2017-08-31 10:56:23 UTC ++++ extconf.rb +@@ -122,6 +122,8 @@ end + case version_str = `#{pg_config} --version` + when /^PostgreSQL ([7-9])\.([0-9]{1,3})(\.[0-9]{1,3})?$/ + version = 10 * $1.to_i + $2.to_i ++when /^PostgreSQL 10/ ++ version = 100 + else + version = 0 + end |