Date: Sun, 18 Nov 2012 05:14:50 +0100 From: Bernt Hansson <bah@bananmonarki.se> To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: how to correct corrupted ports tree? Message-ID: <50A860BA.6010901@bananmonarki.se> In-Reply-To: <50A718F5.8040806@dreamchaser.org> References: <50A718F5.8040806@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2012-11-17 05:56, Gary Aitken skrev: > so, after updating bios, repartitioning, etc, > things seem to be stable, modulo the following: > > decided to rebuild ports for peace of mind, > but my basic ports tree is hosed: > > # portmaster -t --clean-distfiles > ... > "/usr/ports/Mk/bsd.php.mk", line 335: Malformed conditional (${_USE_PHP_VER${PHP_VER}:Myes} != "") > ... > make: fatal errors encountered -- cannot continue > > ===>>> No DISTINFO_FILE in /usr/ports/lang/php4-extensions > > "Makefile", line 20: Could not find /usr/ports/mail/enigmail-thunderbird3/../enigmail/Makefile > make: fatal errors encountered -- cannot continue > > Sure enough: > > # ls /usr/ports/lang/php4-extensions > CVS Makefile pkg-descr > > I didn't see anything in the handbook about how to get the ports tree itself > back to a sane condition. Do I have to blow the whole thing away and do a > fresh extract? I don't see a way to force refetch of the actual ports files > like "distinfo" when portsnap thinks the port is up to date. I would do: portsnap fetch update extract or download the ports tarball. ftp://ftp.sunet.se/pub/FreeBSD/ports/ports/ports.tar.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A860BA.6010901>