Date: Thu, 08 Nov 2001 11:25:16 +0900 (JST) From: NINOMIYA Hideyuki <nin@shikoku.ne.jp> To: mharo@FreeBSD.org Cc: FreeBSD ports ML <freebsd-ports@FreeBSD.org> Subject: About devel/portlint not seeing $PORTSDIR Message-ID: <20011108.112516.78702631.nin@smtp.shikoku.ne.jp>
next in thread | raw e-mail | index | archive | help
Hello. When I execute portlint with my machine, portlint say ---8<------8<------8<------8<------8<------8<------8<------8<------8<--- /usr/ports/Mk/bsd.sites.mk: No such file or directory at /usr/local/bin/portlint line 208. ---8<------8<------8<------8<------8<------8<------8<------8<------8<--- Right. There is not /usr/ports in my machine. But ~/ports includes ports tree, and ports build comes true by doing it with PORTSDIR=${HOME}/ports, DISTDIR=${HOME}/distfiles. In this case portlint should see ${HOME}/ports/Mk/bsd.sites.mk. This is so that $portsdir is fixed by OS dependence. in devel/portlint/src/portlint.pl ---8<------8<------8<------8<------8<------8<------8<------8<------8<--- --- src/portlint.pl.org Thu Nov 8 02:03:10 2001 +++ src/portlint.pl Thu Nov 8 03:28:24 2001 @@ -132,6 +132,7 @@ last; } } +if ($ENV{PORTSDIR}) {$portsdir=$ENV{PORTSDIR};} if ($verbose) { print "OK: config: portsdir: \"$portsdir\" ". "rcsidstr: \"$rcsidstr\" ". ---8<------8<------8<------8<------8<------8<------8<------8<------8<--- This problem was able to be settled by applying this patch right. Please update portlint CVS repositry. p.s. I think so that there is the thing which, besides, have a similar problem in a port/pkg administration tool. If there is it, I hope that it is settled in the same way. ---- *************************************************************** * This message is a thing by output of automatic translation. * * Therefore it will be for there to be a lot of funny parts. * * Please approve it. * *************************************************************** NINOMIYA(family name) Hideyuki(fast name) @ ehime japan mailto:nin@shikoku.ne.jp mailto:nin@Jp.FreeBSD.org PGP-Fingerprint:6C59 EC08 5B23 6490 44D0 7CD3 DA40 219F 7114 8553 PGP-Public-Key: http://user.shikoku.ne.jp/~nin/pgp/public-key.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011108.112516.78702631.nin>