Add FreeBSD 10.x support.

PR:		ports/166147
Submitted by:	rm
Feature safe:	yes
This commit is contained in:
Jeremy Messenger 2012-03-16 01:15:56 +00:00
parent 76a32125f1
commit 6b05b53710
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293385

View file

@ -1,18 +1,20 @@
--- Utils/Platform.pm.orig 2010-04-02 00:17:39.000000000 +0200
+++ Utils/Platform.pm 2010-04-02 00:18:30.000000000 +0200
@@ -73,6 +73,7 @@ my $PLATFORM_INFO = {
--- Utils/Platform.pm.orig 2010-03-31 12:55:43.000000000 +0400
+++ Utils/Platform.pm 2012-03-15 18:24:46.000000000 +0400
@@ -73,6 +73,8 @@
"freebsd-6" => [ "FreeBSD", "6", "" ],
"freebsd-7" => [ "FreeBSD", "7", "" ],
"freebsd-8" => [ "FreeBSD", "8", "" ],
+ "freebsd-9" => [ "FreeBSD", "9", "" ],
+ "freebsd-10" => [ "FreeBSD", "10" "" ],
"gentoo" => [ "Gentoo Linux", "", "" ],
"vlos-1.2" => [ "Vida Linux OS", "1.2" ],
"archlinux" => [ "Arch Linux", "", "" ],
@@ -126,6 +127,7 @@ sub ensure_distro_map
@@ -126,6 +128,8 @@
"freebsd-6" => "freebsd-5",
"freebsd-7" => "freebsd-5",
"freebsd-8" => "freebsd-5",
+ "freebsd-9" => "freebsd-5",
+ "freebsd-10" => "freebsd-5",
"openna-1.0" => "redhat-6.2",
"pld-1.1" => "pld-1.0",
"pld-1.99" => "pld-1.0",