aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/perl5.6/pkg-install2
-rw-r--r--lang/perl5/pkg-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5.6/pkg-install b/lang/perl5.6/pkg-install
index 46b4ae82fab1..507c511a1fb8 100644
--- a/lang/perl5.6/pkg-install
+++ b/lang/perl5.6/pkg-install
@@ -15,7 +15,7 @@ else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi
-if [ $osreldate -ge 500043 ] ; then
+if [ $osreldate -ge 500043 -a $osreldate -lt 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi
diff --git a/lang/perl5/pkg-install b/lang/perl5/pkg-install
index 46b4ae82fab1..507c511a1fb8 100644
--- a/lang/perl5/pkg-install
+++ b/lang/perl5/pkg-install
@@ -15,7 +15,7 @@ else
osreldate=`/usr/sbin/sysctl -n kern.osreldate`
fi
-if [ $osreldate -ge 500043 ] ; then
+if [ $osreldate -ge 500043 -a $osreldate -lt 502100 ] ; then
${PKG_PREFIX}/bin/use.perl port
fi