Skip to content

Commit

Permalink
(#7027) Remove cairo dependence on which command and failing if gtkdo…
Browse files Browse the repository at this point in the history
…cize isn't installed.

remove dependence on which command

point GTKDOCIZE environment variable to arbitrary command

add _settings_build property
  • Loading branch information
Renari committed Sep 28, 2021
1 parent 1053831 commit 9f8a635
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion recipes/cairo/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,16 @@ def _build_configure(self):
tools.replace_in_file(os.path.join(self.source_folder, self._source_subfolder, "src", "cairo-ft-font.c"),
"#if HAVE_UNISTD_H", "#ifdef HAVE_UNISTD_H")

self.run("{} -fiv".format(tools.get_env("AUTORECONF")), win_bash=tools.os_info.is_windows, run_environment=True)
tools.touch(os.path.join("boilerplate", "Makefile.am.features"))
tools.touch(os.path.join("src", "Makefile.am.features"))
tools.touch("ChangeLog")

with tools.environment_append({"GTKDOCIZE": "echo"}):
self.run(
"{} -fiv".format(tools.get_env("AUTORECONF")),
run_environment=True,
win_bash=tools.os_info.is_windows,
)
autotools = self._configure_autotools()
autotools.make()

Expand Down

0 comments on commit 9f8a635

Please sign in to comment.