make index warning on recent ports tree

Kimmo Paasiala kpaasial at gmail.com
Fri Nov 15 19:41:12 UTC 2013


...
--- describe.russian ---

GhostScript not found in PATH

make[5]: "/usr/ports/russian/koi8r-ps/Makefile" line 23: warning:
"/bin/sh /usr/ports/russian/koi8r-ps/files/find-fontmap.sh" returned
non-zero status

It turns out that the Makefile of this port is trying to run
ghostscript without checking if it is installed or not.

.if !defined(FONTMAP)
FONTMAP!=       ${SH} ${FILESDIR}/find-fontmap.sh
.endif


Isn't this the kind of stuff that should never be done in a port
Makefile but use proper build time dependencies?


-Kimmo


More information about the freebsd-ports mailing list