[Bug 193082] New: [patch] Mk, keywords: Don't run expensive font commands when building packages
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 27 22:27:12 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193082
Bug ID: 193082
Summary: [patch] Mk, keywords: Don't run expensive font
commands when building packages
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: Infrastructure
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: adamw at FreeBSD.org
Created attachment 146414
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146414&action=edit
patch
When building X-based packages, there are long pauses with lots of
disk-thrashing when font packages are installed, while fc-cache, mkfontscale,
and mkfontdir are run. Oftentimes installing those font packages takes longer
than building the actual port, especially with ccache running.
I suspect that those steps can be safely skipped in a package-building
environment.
This patch alters the fc, fcfontsdir, and fontsdir keywords to simply skip
those steps when PACKAGE_BUILDING is defined. It would be interesting to see
whether it breaks stuff in an exp-run.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list