diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-08-08 07:21:29 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-08-08 07:21:29 +0000 |
commit | 96cdc5e45b6b0f78099166adf6fbb21b699360f1 (patch) | |
tree | 12c8a13a0594c2c6c88a493e5313f8687660f93e /graphics/katarakt/files/patch-katarakt.pro | |
parent | 43e7df1a1b63fcf3f74b0e9977cf704787f2e58a (diff) | |
download | ports-96cdc5e45b6b0f78099166adf6fbb21b699360f1.tar.gz ports-96cdc5e45b6b0f78099166adf6fbb21b699360f1.zip |
Notes
Diffstat (limited to 'graphics/katarakt/files/patch-katarakt.pro')
-rw-r--r-- | graphics/katarakt/files/patch-katarakt.pro | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/katarakt/files/patch-katarakt.pro b/graphics/katarakt/files/patch-katarakt.pro index db6edd849e8c..a6364ffa312d 100644 --- a/graphics/katarakt/files/patch-katarakt.pro +++ b/graphics/katarakt/files/patch-katarakt.pro @@ -1,6 +1,16 @@ ---- katarakt.pro.orig 2019-12-29 14:08:42 UTC +--- katarakt.pro.orig 2017-08-23 19:28:21 UTC +++ katarakt.pro -@@ -57,3 +57,6 @@ web.depends = $$website.target +@@ -18,7 +18,8 @@ unix { + isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config # same as in link_pkgconfig.prf + POPPLER_VERSION = $$system($$PKG_CONFIG --modversion $$POPPLER) + POPPLER_VERSION_MAJOR = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 1) +- POPPLER_VERSION_MINOR = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 2) ++ # With the new version scheme the minor version can have leading zeroes (calendar month) ++ POPPLER_VERSION_MINOR = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 2 | sed "s|^0*||g") + POPPLER_VERSION_MICRO = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 3) + + DEFINES += POPPLER_VERSION_MAJOR=$$POPPLER_VERSION_MAJOR +@@ -57,3 +58,6 @@ web.depends = $$website.target web.CONFIG = phony QMAKE_EXTRA_TARGETS += documentation website doc web |