Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 2004 16:17:00 +0300
From:      Sergey Akifyev <asa@gascom.ru>
To:        obrien@freebsd.org
Cc:        tobez@freebsd.org
Subject:   Re: Fix "pkg_add -r perl" for 5.2-CURRENT (and later)
Message-ID:  <1078147020.660.68.camel@asa.gascom.net.ru>
In-Reply-To: <1078146509.660.65.camel@asa.gascom.net.ru>
References:  <1078146509.660.65.camel@asa.gascom.net.ru>

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

--=-o9lqR5TeS7MBRdlsmG6+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-03-01 at 16:08, Sergey Akifyev wrote:
> Here's suggested patch:

Ups, string comparison here :(
Following one would be correct

--- Makefile.orig       Mon Mar  1 16:04:28 2004
+++ Makefile    Mon Mar  1 16:07:44 2004
@@ -23,7 +23,7 @@
 PERL_ARCH=3D     mach
 PERL_VERSION=3D  ${PERL_VER}
 =20
-.if ! ${OSVERSION}<502100
+.if "${OSVERSION}">=3D"502100"
 LATEST_LINK=3D   perl5.6
 .endif
--=20
regards,
Sergey Akifyev <asa@gascom.ru>
JSC Gascom <http://www.gascom.ru>;
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt

--=-o9lqR5TeS7MBRdlsmG6+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iD8DBQBAQzfMbu06QwmNwNsRAnWxAKCOWe54zrNCaYcd2XJ/OLyf31+fRgCZAdx9
6Yd2p//Vxva8Mc7sM1nYX6s=
=iM2R
-----END PGP SIGNATURE-----

--=-o9lqR5TeS7MBRdlsmG6+--



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