Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 12:41:52 -0800 (PST)
From:      Doug Barton <DougB@FreeBSD.org>
To:        Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no>
Cc:        Trevor Johnson <trevor@jpj.net>
Subject:   REINPLACE vs. perl -i; and why ports are too complex for their own good
Message-ID:  <20040212122617.T88889@qbhto.arg>
In-Reply-To: <xzplln8k3fp.fsf@dwp.des.no>
References:  <200402110716.i1B7GH9D017803@repoman.freebsd.org> <xzpisidbtvn.fsf@dwp.des.no> <1076508074.88428.14.camel@pav.hide.vol.cz> <20040211122704.X93022@blues.jpj.net> <xzpk72tiah1.fsf@dwp.des.no> <20040211165940.Q98525@blues.jpj.net> <xzp4qtweqlf.fsf@dwp.des.no> <20040212031228.E31447@blues.jpj.net> <xzplln8k3fp.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[ Followup to ports please. ]

On Thu, 12 Feb 2004, Dag-Erling Smørgrav wrote:

> BTW, I don't see why REINPLACE_CMD couldn't simply be ${PERL} -p
> ${REINPLACE_ARGS} on systems that don't have sed -i, since both 4.x
> and 5.x prior to 500036 have Perl in the base system.

Because a lot of people removed perl from their system, but would still
like to use ports.

I had a conversation the other day with someone about some of my
frustrations with the current state of the ports system. What I intended
to be a humorous "rant" turned more emotionally intense than I had
intended, and if I offended that person, I apologize.

The question I didn't do a very good job of answering at the time was,
"What is it about ports that you think is broken?" This situation is a
very good example of that. When the "remove perl as a build dependency
for ports" thing was happening, there was a great deal of discussion
about how to re-invent the 'perl -i' functionality. I stated ad nauseum
at the time that all we needed was to replace 'perl -i' with 'sed foo >
bar; mv bar foo'. The virtue of this solution is that it works with
every version of FreeBSD ever, without adding any extra dependencies.
Unfortunately, I was shouted down by the people who wanted to keep ports
"simple." Now, years later, we are STILL arguing about this topic, and
the people who thought REINPLACE was a good idea are still wrong, for
all the same reasons.

In a nutshell, this is an excellent example of what I think is wrong
with the ports project at the moment. Please note, my intention here is
NOT to denigrate the incredible (and often thankless) contributions by
the people who make the ports tree work on a day to day basis. My
intention is simply to say that, as a person who's "been there, done
that," I have concerns about where we're going, and because I really do
care about making sure that we still have a ports tree that works in the
future, I think it's important to raise this concern.

FWIW,

Doug

- -- 

    This .signature sanitized for your protection

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAK+UUyIakK9Wy8PsRAqseAJ946iDgAxpWL/S8SZE2BaOFoi1g9wCbBLQu
9ZsrSUYlN7ntl5f7q3DdBJ8=
=tQHK
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040212122617.T88889>