Bug 241817 - math/gnumeric: fix for non-default PREFIX
Summary: math/gnumeric: fix for non-default PREFIX
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-09 06:40 UTC by John Hein
Modified: 2019-11-09 06:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
[patch] fix gnumeric with non-default PREFIX (1.03 KB, patch)
2019-11-09 06:40 UTC, John Hein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2019-11-09 06:40:28 UTC
Created attachment 208990 [details]
[patch] fix gnumeric with non-default PREFIX

If you build with a non-default PREFIX, check-plist fails:

% make PREFIX=/opt stage check-plist
 .
 .
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: /usr/local/lib/girepository-1.0/Gnm-%%SHORT_VER%%.typelib
Error: Orphaned: /usr/local/lib/goffice/%%GOFFICE%%/plugins/gnumeric/gnumeric.so
Error: Orphaned: /usr/local/lib/goffice/%%GOFFICE%%/plugins/gnumeric/plugin.xml
Error: Orphaned: /usr/local/%%PYTHON_SITELIBDIR%%/gi/overrides/Gnm.py
Error: Orphaned: /usr/local/share/gir-1.0/Gnm-%%SHORT_VER%%.gir
Error: Orphaned: @dir /usr/local/lib/girepository-1.0
Error: Orphaned: @dir /usr/local/lib/goffice/%%GOFFICE%%/plugins/gnumeric
Error: Orphaned: @dir /usr/local/lib/goffice/%%GOFFICE%%/plugins
Error: Orphaned: @dir /usr/local/lib/goffice/%%GOFFICE%%
Error: Orphaned: @dir /usr/local/lib/goffice
Error: Orphaned: @dir /usr/local/%%PYTHON_SITELIBDIR%%/gi/overrides
Error: Orphaned: @dir /usr/local/%%PYTHON_SITELIBDIR%%/gi
Error: Orphaned: @dir /usr/local/%%PYTHON_SITELIBDIR%%
Error: Orphaned: @dir /usr/local/%%PYTHON_LIBDIR%%
Error: Orphaned: @dir /usr/local/share/gir-1.0
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/girepository-1.0/Gnm-%%SHORT_VER%%.typelib
Error: Missing: lib/goffice/%%GOFFICE%%/plugins/gnumeric/gnumeric.so
Error: Missing: lib/goffice/%%GOFFICE%%/plugins/gnumeric/plugin.xml
Error: Missing: %%PYTHON_SITELIBDIR%%/gi/overrides/Gnm.py
Error: Missing: share/gir-1.0/Gnm-%%SHORT_VER%%.gir
===> Error: Plist issues found.
===> Warning: Test was done with PREFIX != LOCALBASE
===> Warning: The port may not be properly installing into PREFIX
*** Error code 1