Subject: Re: pkg/32127: Update of CMake from 2.0.5 to 2.2.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 11/21/2005 16:56:01
The following reply was made to PR pkg/32127; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: Lars Nordlund <lars.nordlund@hem.utfors.se>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/32127: Update of CMake from 2.0.5 to 2.2.2
Date: Mon, 21 Nov 2005 08:55:39 -0800 (PST)
On Sun, 20 Nov 2005, Lars Nordlund wrote:
>> "Also hardcode "NetBSD" in PLIST instead of ${OPSYS} so deinstall
>> works on non-NetBSD platforms."
>
> Ouch. That was the output from 'make print-PLIST' I used. For some
> reason it put ${OPSYS} instead of NetBSD. When is it good to have a
> variable like OPSYS in the PLIST? A generated file which is assumed to
> have the name of the operating system? Seems to me it can break more
> than it automatically fixes? I see that some packages in pkgsrc-wip are
> using it but noting in regular pkgsrc.
If nothing in regualr pkgsrc uses it maybe we can get rid of it. Please
bring this up on the tech-pkg list. (Maybe just repost your same
comments.)
> How about a 'make print-PLIST' which does the regular things which are
> SAFE, quiet. Things it does which are NOT SAFE, like inserting OPSYS, is
> also noted on stderr? It would have helped me, I guess.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/