ports/68791: [MAINTAINER-UPDATE] Update www/screem to 0.10.2
John Merryweather Cooper
johnmary at adelphia.net
Thu Jul 8 04:58:53 UTC 2004
On Wed, 2004-07-07 at 19:31, Adam Weinberger wrote:
> >> (07.07.2004 @ 2116 PST): John Merryweather Cooper said, in 2.7K: <<
> > > > +# HACK: This allows test builds into a temporary directory, but in the REAL world,
> > > > +# gconf would have created this directory.
> > > > +pre-install:
> > > > + @${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults
> > >
> > > This is true of many, many ports. I don't think it should be added to
> > > port Makefiles.
> >
> > It is my philosophy that every port should be able to be built/installed
> > with something like the following command line:
> >
> > # make PREFIX=/tmp/screem install
> >
> > Ports that cannot be built in this manner are, IMO, broken.
> >
> > Without this hack, www/screem (and all other such ports) cannot be built
> > in this manner. The implications are:
> >
> > 1) such ports cannot be easily tested;
> > 2) verifying the contents of the pkg-plist's of such ports is much more
> > difficult;
> > 3) tools such as plist cannot be used to help generate a draft
> > pkg-plist; and
> > 4) such ports are only notionally ${PREFIX} safe.
> >
> > Since this hack does no harm, makes the port truly ${PREFIX} safe, and
> > allows better testing, it should stay in.
> >> end of "Re: ports/68791: [MAINTAINER-UPDATE] Update www/screem to 0.10.2" from John Merryweather Cooper <<
>
> I completely agree that having non-standard PREFIX installation die is
> improper behaviour. Perhaps a better solution would be to add something
> like that to bsd.gnome.mk? Maybe overload pre-install like we do for
> pre-patch? If such a thing should exist, it could be abstracted to work
> for all ports affected as such (at least 50% of GNOME-related ports, in
> my experience).
>
> # Adam
>
>
> --
> Adam Weinberger
> adamw at magnesium.net || adamw at FreeBSD.org
> adamw at vectors.cx || adamw at gnome.org
> http://www.vectors.cx
An all-GNOME solution would, of course be best. I would completely
endorse overloading pre-install.
jmc
More information about the freebsd-ports-bugs
mailing list