You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13-fix_...

20 lines
1.0 KiB

--- pykdeextensions/src/kdedistutils.py.libtool 2012-05-11 23:45:11.738618661 +0200
+++ pykdeextensions/src/kdedistutils.py 2012-05-11 23:46:11.469447204 +0200
@@ -712,6 +712,7 @@
# Build the 'stub' code.
cppcode = self.cpptemplate % {"moduledir": self.data_dir,
+ "extramodule": os.getenv("EXTRA_MODULE_DIR"),
"modulename": modulename,
"factoryfunction": factoryfunction,
"python_version": python_version}
@@ -855,7 +856,7 @@
#include <sip.h>
#define MODULE_DIR "%(moduledir)s"
-#define EXTRA_MODULE_DIR "/opt/trinity/share/python-support/kde-guidance-trinity"
+#define EXTRA_MODULE_DIR "%(extramodule)s"
#define EXTRA_MODULE_DIR_TWO "/opt/trinity/share/python-support/guidance-backends-trinity"
#define EXTRA_MODULE_DIR_THREE "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity"
#define MODULE_NAME "%(modulename)s"