freebsd-ports/emulators/gns3/files/patch-Page_PreferencesDynamips.py
Juergen Lock 7c2e3f3563 - Update to release 0.7.4 .
- Add support for qemu.

PR:		ports/158752
Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)
2011-07-13 20:06:49 +00:00

13 lines
624 B
Python

--- src/GNS3/Ui/ConfigurationPages/Page_PreferencesDynamips.py.orig 2011-07-03 00:11:46.000000000 +0200
+++ src/GNS3/Ui/ConfigurationPages/Page_PreferencesDynamips.py 2011-07-03 00:32:42.000000000 +0200
@@ -55,7 +55,9 @@
# Default path to dynamips executable
if self.conf.path == '' and sys.platform.startswith('win'):
self.conf.path = unicode('dynamips-wxp.exe')
-
+ else:
+ self.conf.path = unicode('%%LOCALBASE%%/bin/dynamips')
+
# Default path to working directory
if self.conf.workdir == '':
if os.environ.has_key("TEMP"):