Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35332 - monafont-2.90 failed in src_install() due to lack of mkdirhier utility
Summary: monafont-2.90 failed in src_install() due to lack of mkdirhier utility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 05:33 UTC by Erlend Pedersen :.
Modified: 2003-12-08 06:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erlend Pedersen :. 2003-12-08 05:33:49 UTC
Installing monafont requires mkdirhier, which is not present on my system. I
don't know which package provides it, but I guess it should have been a
dependency (or that it used to be i xfree, but has been removed). The Makefile
for monafont contains the following at line 25:

MKDIRHIER	= $(X11BINDIR)/mkdirhier	# 'mkdir -p' may also work.

'mkdir -p', however, works for me. By adding the following function to the
ebuild, installation went without problems:

src_unpack(){
    unpack ${A} ; cd ${S}
    cp Makefile Makefile.orig
    sed -e 's:$(X11BINDIR)/mkdirhier:/bin/mkdir -p:' \
            Makefile.orig > Makefile
}


Reproducible: Always
Steps to Reproduce:
1. (make sure not to have /usr/X11R6/bin/mkdirhier installed)
2. emerge =media-fonts/monafont-2.90
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-12-08 06:52:09 UTC
Hi, thanks for reporting. Fixed in CVS.