openbsd-ports/emulators/gns3/patches/patch-src_GNS3_Application_py
sthen ea66f2c537 - preset the default dynamips hypervisor path to the location where
it's installed by our dynamips port. bump package.

- remove NO_BUILD, it does actually carry out some steps in the build
stage. if they're left until fake-install, root-owned files in the work
directory prevent "make clean" from working.

ok Jonathan Armani (maintainer).
2009-04-05 13:31:38 +00:00

13 lines
773 B
Plaintext

$OpenBSD: patch-src_GNS3_Application_py,v 1.1 2009/04/05 13:31:38 sthen Exp $
--- src/GNS3/Application.py.orig Sun Apr 5 11:28:42 2009
+++ src/GNS3/Application.py Sun Apr 5 11:28:46 2009
@@ -259,7 +259,7 @@ class Application(QApplication, Singleton):
self.systconf['dynamips'] = systemDynamipsConf()
confo = self.systconf['dynamips']
- confo.path = ConfDB().get('Dynamips/hypervisor_path', unicode(''))
+ confo.path = ConfDB().get('Dynamips/hypervisor_path', unicode('${PREFIX}/bin/dynamips'))
confo.port = int(ConfDB().get('Dynamips/hypervisor_port', 7200))
confo.baseUDP = int(ConfDB().get('Dynamips/hypervisor_baseUDP', 10000))
confo.baseConsole = int(ConfDB().get('Dynamips/hypervisor_baseConsole', 2000))