1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/emulators/catapult/files/patch-build_detectsys.py
John Marino 461bb8b81c emulators/catapult: Fix installation in /root, add DragonFly support
After DragonFly support was added, it was discovered that this port was
writing in /root/.local, which is not permissible.  Settng
CATAPULT_NO_DESKTOP_HOOKS stops that, but requires that catapult.xpm
be manually installed, which was added to post-install target.
2013-12-28 05:15:57 +00:00

12 lines
468 B
Python

--- build/detectsys.py.orig 2009-12-05 18:55:51.000000000 +0000
+++ build/detectsys.py
@@ -57,7 +57,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.