Fix "pkg_add -r perl" for 5.2-CURRENT (and later)

Sergey Akifyev asa at gascom.ru
Mon Mar 1 05:17:03 PST 2004


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=     mach
 PERL_VERSION=  ${PERL_VER}
  
-.if ! ${OSVERSION}<502100
+.if "${OSVERSION}">="502100"
 LATEST_LINK=   perl5.6
 .endif
-- 
regards,
Sergey Akifyev <asa at gascom.ru>
JSC Gascom <http://www.gascom.ru>
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040301/1ef899a4/attachment.bin


More information about the freebsd-ports mailing list