pkgsrc/emulators/openmsx/patches/patch-build_detectsys.py
marino fd633469dc emulators/openmsx: Upgrade from version 0.6.2 to 0.9.0
By request of the upstream developers, openMSX has been upgraded to the
12 Aug 2012 release (0.9.0).  The current version in pkgsrc is 0.6.2 was
released over 5 years ago on 15 April 2007.  The openMSX project has
added extensive features through eight newer releases since then, so the
project was "embarrassed" about the currency of the pkgsrc version.  The
changes of each release are way to long to list, so here are the links:

http://sourceforge.net/projects/openmsx/files/openmsx/0.9.0/README_release-notes.txt/view
http://sourceforge.net/projects/openmsx/files/openmsx/0.8.2/README_release-notes.txt/view
http://sourceforge.net/projects/openmsx/files/openmsx/0.8.1/README_release-notes.txt/view
http://sourceforge.net/projects/openmsx/files/openmsx/0.8.0/release-notes.txt/view
Consecutive release notes 0.7.2/0.7.1, 0.7.0, 0.6.3:
http://sourceforge.net/project/shownotes.php?group_id=38274&release_id=693184

Tested Zombie Incident on DragonFly.  It works nicely!
2012-08-26 09:07:21 +00:00

15 lines
591 B
Python

$NetBSD: patch-build_detectsys.py,v 1.1 2012/08/26 09:07:23 marino Exp $
Set os to "dragonfly" when built on "DragonFly"
--- build/detectsys.py.orig 2012-08-12 12:29:37.000000000 +0000
+++ build/detectsys.py
@@ -58,7 +58,7 @@ def detectOS():
Raises ValueError if no known OS is detected.
'''
os = system().lower()
- if os in ('linux', 'darwin', 'freebsd', 'netbsd', 'openbsd', 'gnu'):
+ if os in ('linux', 'darwin', 'dragonfly', 'freebsd', 'netbsd', 'openbsd', 'gnu'):
return os
elif os.startswith('gnu/'):
# GNU userland on non-Hurd kernel, for example Debian GNU/kFreeBSD.