Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 13:22:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190071] [stage] japanese/k12: Remove use of pkg-req
Message-ID:  <bug-190071-13-lmNDVMBoc8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190071-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190071-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190071

--- Comment #12 from WATANABE Kazuhiro <CQG00620@nifty.ne.jp> ---
(In reply to John Marino from comment #11)
> Try restoring this:
(snip)
> I see this in x11-fonts/montecarlo_fonts and emulators/pcemu, two ports that
> use @fontsdir.

There is no difference. Same error.

FreeBSD Porter's Handbook say:
| 7.6.3. @fontsdir directory
|
|  Add a @dirrmtry entry for the directory passed as an argument, and run
|  mkfontscale and mkfontdir on that directory after installation and
|  deinstallation. Additionally, on deinstallation, it removes the
|  fonts.scale and fonts.dir cache files if they are empty.

Ports that uses @fontsdir, @fc and @fcfontsdir (currently 24 ports are found) 
creates its own directory (e.g. ${PREFIX}/lib/X11/fonts/${PORTNAME}/),
and install fonts to it. 
If the ports are deleted, that directory should be deleted (via @dirrmtry
described above).

The k12 port installs fonts to ${PREFIX}/lib/X11/fonts/local/.
It's a standard (?) X11 site-local font directory.
Even if this port is deleted, this directory should not be deleted.

So "make check-plist" said "Error: Owned by MTREE: @dirrmtry %%FONTSDIR%%".

I think the use of "@fontsdir %%FONTSDIR%%" in this port is a bit difficult.  
It may be a better choice to run mkfontdir manually (like my previous patch).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190071-13-lmNDVMBoc8>