aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2012-03-16 09:15:56 +0800
committermezz <mezz@FreeBSD.org>2012-03-16 09:15:56 +0800
commit249db16d596734619182e19863e5a411b18fb526 (patch)
treeb2dab11b357f3f045b7ad56d483988648a8eb9aa
parent3f193339403bb7b69ca8173df89ae8c807cffec6 (diff)
downloadfreebsd-ports-gnome-249db16d596734619182e19863e5a411b18fb526.tar.gz
freebsd-ports-gnome-249db16d596734619182e19863e5a411b18fb526.tar.zst
freebsd-ports-gnome-249db16d596734619182e19863e5a411b18fb526.zip
Add FreeBSD 10.x support.
PR: ports/166147 Submitted by: rm Feature safe: yes
-rw-r--r--sysutils/system-tools-backends/files/patch-Utils_Platform.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/system-tools-backends/files/patch-Utils_Platform.pm b/sysutils/system-tools-backends/files/patch-Utils_Platform.pm
index c22ec910fad3..07dcc59dc424 100644
--- a/sysutils/system-tools-backends/files/patch-Utils_Platform.pm
+++ b/sysutils/system-tools-backends/files/patch-Utils_Platform.pm
@@ -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",