freebsd-ports/multimedia/helixplayer/files/patch-build_lib_sysinfo.py
Shaun Amott 9a04af7b0a - Fix build on 7.x
Reported by: pointyhat via kris

PR:		ports/98067
Submitted by:	shaun (me)
Approved by:	ahze (mentor)
2006-06-22 17:32:31 +00:00

26 lines
820 B
Python

--- build/lib/sysinfo.py.orig Wed May 11 20:39:02 2005
+++ build/lib/sysinfo.py Tue Jul 19 18:45:03 2005
@@ -170,6 +170,13 @@
family_list = ['unix', 'freebsd', 'freebsd6', 'freebsd-6.0', 'freebsd-6.0-i586'] ))
AddPlatform(Platform(
+ id = 'freebsd-7.0-i586',
+ platform = 'freebsd7',
+ arch = 'i386',
+ distribution_id = 'freebsd-7.0-i586',
+ family_list = ['unix', 'freebsd', 'freebsd7', 'freebsd-7.0', 'freebsd-7.0-i586'] ))
+
+AddPlatform(Platform(
id = 'openbsd-3.3-i586',
platform = 'openbsd33',
arch = 'i386',
@@ -1237,6 +1244,9 @@
elif sys.platform == 'freebsd6':
set_platform('freebsd-6.0-i586')
+
+ elif sys.platform == 'freebsd7':
+ set_platform('freebsd-7.0-i586')
elif sys.platform == 'hp-uxB':
set_platform('hpux-11.0-parisc')