Date: Thu, 24 Dec 1998 11:46:46 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: freebsd-current@FreeBSD.ORG Subject: buildworld fails in ficl with NOPERL set Message-ID: <19981224114646.A620@scientia.demon.co.uk>
next in thread | raw e-mail | index | archive | help
subject says it all really... When NOPERL is defined, ficl can't be built since "perl" isn't in the path. Is there any reason why a simple patch like the following couldn't be applied? --- sys/boot/ficl/Makefile~ Thu Dec 24 10:58:15 1998 +++ sys/boot/ficl/Makefile Thu Dec 24 11:04:43 1998 @@ -16,8 +16,16 @@ .PATH: ${.CURDIR}/softwords CFLAGS+= -I${.CURDIR} +# If building the world with NOPERL, use the system's already installed +# perl, otherwise find perl in the build process's $PATH. +.if defined(NOPERL) +PERL=/usr/bin/perl +.else +PERL=perl +.endif + softcore.c: ${SOFTWORDS} softcore.pl - (cd ${.CURDIR}/softwords; perl softcore.pl ${SOFTWORDS}) > ${.TARGET} + (cd ${.CURDIR}/softwords; ${PERL} softcore.pl ${SOFTWORDS}) > ${.TARGET} .include <bsd.lib.mk> This won't make any difference if NOPERL isn't defined. If someone is building the world with NOPERL, and they don't have /usr/bin/perl, they won't be any worse off either. (I know this was mentioned before, around 5th November, but I didn't see any reasons why this couldn't be fixed.) -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981224114646.A620>