open-sp: Fix default catalog path

The previous value #{HOMEBREW_PREFIX}/share/sgml/catalog didn't make
much sense, since that is not a configuration file location.  Change it
to #{etc}/sgml/catalog, which is similar to the default XML catalog path
used by most formulae.

Closes #9623.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Peter Eisentraut 2017-02-03 23:16:05 -05:00 committed by Tomasz Pajor
parent 9c29084b8f
commit 424d4af679

View file

@ -18,7 +18,7 @@ class OpenSp < Formula
"--mandir=#{man}",
"--disable-doc-build",
"--enable-http",
"--enable-default-catalog=#{HOMEBREW_PREFIX}/share/sgml/catalog",
"--enable-default-catalog=#{etc}/sgml/catalog",
"--enable-default-search-path=#{HOMEBREW_PREFIX}/share/sgml"
system "make", "pkgdatadir=#{share}/sgml/opensp", "install"
end