x11-toolkits/pango: fix build with DOCS=ON X11=OFF
PR: 237822 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Approved by: gnome@ (kwm, via IRC)
This commit is contained in:
parent
d288b41a15
commit
25ad830fdb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519952
1 changed files with 23 additions and 0 deletions
23
x11-toolkits/pango/files/patch-docs-meson.build
Normal file
23
x11-toolkits/pango/files/patch-docs-meson.build
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- docs/meson.build.orig 2019-07-31 21:41:55 UTC
|
||||
+++ docs/meson.build
|
||||
@@ -45,7 +45,6 @@ if host_system != 'windows'
|
||||
'pangocairo-win32.h',
|
||||
'pangowin32.h',
|
||||
]
|
||||
-else
|
||||
private_headers += [
|
||||
'pangoxft.h',
|
||||
'pangoxft-render.h',
|
||||
@@ -68,8 +67,10 @@ if build_pangoft2
|
||||
docdeps += libpangoft2_dep
|
||||
endif
|
||||
|
||||
-if xft_dep.found()
|
||||
- docdeps += libpangoxft_dep
|
||||
+if get_option('xft')
|
||||
+ if xft_dep.found()
|
||||
+ docdeps += libpangoxft_dep
|
||||
+ endif
|
||||
endif
|
||||
|
||||
if cairo_dep.found()
|
Loading…
Reference in a new issue