diff options
| author | Xiyue Deng | 2013-08-17 23:05:00 -0700 |
|---|---|---|
| committer | Xiyue Deng | 2013-08-18 15:25:59 -0700 |
| commit | e0f7abe44c78692f51b1101279fc330bcec2e614 (patch) | |
| tree | 274e926f2cdf62e9dd444a2ef7a5e9ec6c4f6e2b /Library | |
| parent | 8f775021f8d7c7bb298451af3daee353ea3c19fb (diff) | |
| download | homebrew-e0f7abe44c78692f51b1101279fc330bcec2e614.tar.bz2 | |
Pcre++: rename man page to avoid conflict with pcre.
* The man page of pcre++ is named Pcre.3, while there is one named
pcre.3 in pcre package. This is problem for case-insensitive file
system which is widely used across Mac OS X systems. Rename it to
pcre++ and add caveat about this change.
Closes #21968.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pcre++.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/pcre++.rb b/Library/Formula/pcre++.rb index 5ecb1c15c..6cf43779f 100644 --- a/Library/Formula/pcre++.rb +++ b/Library/Formula/pcre++.rb @@ -15,5 +15,17 @@ class Pcrexx < Formula "--mandir=#{man}", "--with-pcre-dir-lib=#{pcre}" system "make install" + + # Pcre++ ships Pcre.3, which causes a conflict with pcre.3 from pcre + # in case-insensitive file system. Rename it to pcre++.3 to avoid + # this problem. + mv man3/'Pcre.3', man3/'pcre++.3' + end + + def caveats; <<-EOS.undent + The man page has been renamed to pcre++.3 to avoid conflicts with + pcre in case-insensitive file system. Please use "man pcre++" + instead. + EOS end end |
