Guest User

j9 pcre -> pcre2

a guest
Mar 24th, 2021
39
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 756e448..1609daf 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -9,7 +9,7 @@ pkgdesc='J is a modern, high-level, general-purpose, high-performance programmin
  6. arch=('x86_64')
  7. url='http://www.jsoftware.com'
  8. license=('GPL3')
  9. -depends=('qt5-webengine' 'qt5-websockets' 'qt5-multimedia' 'qt5-svg')
  10. +depends=('qt5-webengine' 'qt5-websockets' 'qt5-multimedia' 'qt5-svg' 'pcre2')
  11. optdepends=('wget: for web/gethttp addon'
  12. 'expat: for api/expat addon'
  13. 'fftw: for math/fftw addon'
  14. diff --git a/j9-git.install b/j9-git.install
  15. index e7b54ac..454c05c 100644
  16. --- a/j9-git.install
  17. +++ b/j9-git.install
  18. @@ -3,10 +3,10 @@
  19.  
  20. post_install() {
  21. mkdir -p usr/lib/j9/tools/regex
  22. - ln -s /usr/lib/libpcreposix.so usr/lib/j9/tools/regex/libjpcre.so
  23. + ln -s /usr/lib/libpcre2-posix.so usr/lib/j9/tools/regex/libjpcre2.so
  24. }
  25.  
  26. pre_remove() {
  27. - rm usr/lib/j9/tools/regex/libjpcre.so
  28. + rm usr/lib/j9/tools/regex/libjpcre2.so
  29. rmdir usr/lib/j9/tools/regex usr/lib/j9/tools
  30. }
  31.  
RAW Paste Data