Created attachment 218354 [details] Fixed build with DBUS=off and added localbase:ldflags Tested on 12.1-p10 amd64: make check-plist/install/run.
https://svnweb.freebsd.org/ports/head/graphics/evince/pkg-plist?r1=484781&r2=550218 78 %%DBUS%%libexec/evinced libexec/evinced
Found CMake: /usr/local/bin/cmake (3.18.2) Using 'CMAKE_PREFIX_PATH' from environment with value: '/usr/local' Using 'LDFLAGS' from environment with value: ' -fstack-protector-strong ' Run-time dependency synctex found: NO (tried pkgconfig and cmake) Run-time dependency libspectre found: YES 0.2.9 Run-time dependency libarchive found: YES 3.4.3 Run-time dependency ddjvuapi found: YES 3.5.27 meson.build:344:0: ERROR: C shared or static library 'kpathsea' not found A full log can be found at /tmp/work/usr/ports/graphics/evince/work-full/evince-3.36.7/_build/meson-logs/meson-log.txt ===> Script "configure" failed unexpectedly. Please report the problem to gnome@FreeBSD.org [maintainer] and attach the "/tmp/work/usr/ports/graphics/evince/work-full/evince-3.36.7/_build/meson-logs/meson-log.txt" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/evince *** Error code 1
Created attachment 218360 [details] Without ldflags
Moin moin Good catch, will commit shortly. mfg Tobias
Committed. Thanks.
A commit references this bug: Author: tcberner Date: Sun Sep 27 16:35:52 UTC 2020 New revision: 550286 URL: https://svnweb.freebsd.org/changeset/ports/550286 Log: graphics/evince: fix packaging - fix DVI option linkage against kpathsea - fix plist when DBUS=off PR: 249935 Submitted by: VVD <vvd@unislabs.com> Changes: head/graphics/evince/Makefile head/graphics/evince/pkg-plist