[Bug 245162] kf5-breeze-icons requires xmllint to build on non-WIN32 os

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 29 11:41:15 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245162

            Bug ID: 245162
           Summary: kf5-breeze-icons requires xmllint to build on
                    non-WIN32 os
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: david at lapinbilly.eu

Created attachment 212828
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212828&action=edit
appends xmllint as a build dependency

kf5-breeze-icons fails in the *configuration* stage if `xmllint` does not come
as a dependency:

```
CMake Error at icons/CMakeLists.txt:20 (add_dependencies):
Cannot add target-level dependencies to non-existent target
"breeze-validate-svg".
```

The required target 'breeze-validate-svg' will only be defined if both `sh` and
`xmllint` were found:

```
find_program(SH_EXE sh)
find_program(XMLLINT_EXE xmllint)
if(SH_EXE AND XMLLINT_EXE)
[...]
        add_custom_target(breeze-validate-svg ALL
```

The attached patch appends `xmllint` into `BUILD_DEPENDS`.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list