Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 12:52:56 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        freebsd-ports@freebsd.org
Subject:   use.perl port warning / perl port dependancy [was Re: Is XFree86 4.3.0 going to be in 4.8? -nt-]
Message-ID:  <20030310115256.GH17436@pcwin002.win.tue.nl>
In-Reply-To: <xzpadg3bidg.fsf@flood.ping.uio.no>
References:  <20030304112113.C78363-100000@vespa.dmz.orem.verio.net> <1046852262.613.152.camel@leguin> <20030310095241.GC17436@pcwin002.win.tue.nl> <xzpd6kzbipl.fsf@flood.ping.uio.no> <20030310105156.GG17436@pcwin002.win.tue.nl> <xzpadg3bidg.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qf1oXS95uex85X0R
Content-Type: multipart/mixed; boundary="w3uUfsyyY1Pqa/ej"
Content-Disposition: inline


--w3uUfsyyY1Pqa/ej
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[cc's trimmed]

On Mon, Mar 10, 2003 at 11:55:55AM +0100, Dag-Erling Smorgrav wrote:
> Stijn Hoop <stijn@win.tue.nl> writes:
> > On Mon, Mar 10, 2003 at 11:48:38AM +0100, Dag-Erling Smorgrav wrote:
> > > "use.perl port"
> > Noted, thanks. I thought this was only needed for -STABLE, but apparent=
ly I
> > was wrong.  After manually installing a symlink the port installed fine=
 of
> > course, but I gather this the canonical way of installing the link?
>=20
> Yes.  It also fixes up make.conf so other ports don't try to install
> Perl 5.6.1 as a dependency.

BTW, I get a warning when running use.perl port:

[stijn@pcwin352] </usr/ports/lang/perl5.8> sudo use.perl port
ident error: /usr/bin/perl5: No such file or directory

The attached diff fixes this.

BTW, I noticed that packages built with PERL_VERSION=3D5.8.0 still register
lang/perl5 as a dependency, which is incorrect. This is already reported in
the PR database as PR ports/48465. I hope this is a candidate for the next
test-run (presumably after the release) on bento? It works for me at the
least.

Thanks for the hints.

--Stijn

--=20
Tact, n.:
	The unsaid part of what you're thinking.

--w3uUfsyyY1Pqa/ej
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="use.perl.patch"
Content-Transfer-Encoding: quoted-printable

--- use.perl.orig	Mon Mar 10 12:49:28 2003
+++ use.perl	Mon Mar 10 12:46:48 2003
@@ -17,7 +17,7 @@
 my $port_perl =3D '%%PREFIX%%/bin/perl';
 $port_perl =3D~ tr|/|/|s;
=20
-my $ident =3D `/usr/bin/ident -q /usr/bin/perl5`;
+my $ident =3D `/usr/bin/ident -q /usr/bin/perl5 2>/dev/null`;
=20
 @ARGV =3D=3D 1 or usage();
 if ($ARGV[0] eq 'port') {

--w3uUfsyyY1Pqa/ej--

--Qf1oXS95uex85X0R
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+bHyYY3r/tLQmfWcRAo2IAKCpannor/qsKzJba6Fvk8qC84Oc/ACfd7Qo
/mIwpvTR38s5Yae5cWV/oys=
=VYOC
-----END PGP SIGNATURE-----

--Qf1oXS95uex85X0R--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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