pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/33339: if can't change directory, pkgsrc should not continue
The following reply was made to PR pkg/33339; it has been noted by GNATS.
From: Roland Illig <rillig%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/33339: if can't change directory, pkgsrc should not continue
Date: Sun, 23 Apr 2006 01:33:17 +0200
reed%reedmedia.net@localhost wrote:
> pkgsrc has many cd to some directory and just assumes that works
> and continues to next step.
>
> This has caused my configure steps to move my pkgsrc Makefile.
>
> This has caused my make clean-depends to end up cleaning entire pkgsrc tree.
>
> And more.
>
>>How-To-Repeat:
>
> One example was on pkgsrc-users today:
>
> cd /usr/pkgsrc/graphics/xpm
> make extract
> make CLEANDEPENDS=YES clean install
It's quite simple. Run "pkglint -Wnone,extra /usr/pkgsrc/mk/bsd.pkg.mk"
and fix all warnings that say "A semicolon should only be used to
separate commands after switching to "set -e" mode." After that is done,
things will be much better.
Roland
Home |
Main Index |
Thread Index |
Old Index