SOURCES: python-PyKDE-make_install.patch (NEW) - ln -sf moved to spec
rotom
rotom at pld-linux.org
Mon Sep 25 14:26:15 CEST 2006
Author: rotom Date: Mon Sep 25 12:26:15 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- ln -sf moved to spec
---- Files affected:
SOURCES:
python-PyKDE-make_install.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-PyKDE-make_install.patch
diff -u /dev/null SOURCES/python-PyKDE-make_install.patch:1.1
--- /dev/null Mon Sep 25 14:26:15 2006
+++ SOURCES/python-PyKDE-make_install.patch Mon Sep 25 14:26:10 2006
@@ -0,0 +1,23 @@
+--- PyKDE-3.16.0/configure.py.orig 2006-09-22 10:05:49.000000000 +0200
++++ PyKDE-3.16.0/configure.py 2006-09-25 13:32:52.000000000 +0200
+@@ -762,20 +762,6 @@
+ installs= [("pykdeconfig.py", opt_pykdemoddir), ("contrib/kdepyuic", sipcfg.default_bin_dir)]
+ ).generate()
+
+- if kde_version >= 0x030500:
+- f = open ("Makefile", "r")
+- buff = f.read ()
+- f.close ()
+- target = os.path.join (opt_kdelibdir, "kde3", "libkonsolepart.so")
+- symlink = os.path.join (opt_kdelibdir, "libkonsolepart.so")
+- buff = buff.replace ("install:\n", "install:\n\tln -sf %s %s\n" % (target, symlink))
+- buff = buff.replace ("\nclean", "\tldconfig\n\nclean")
+- f = open ("Makefile.new", "w")
+- f.write (buff)
+- f.close ()
+- os.unlink ("Makefile")
+- os.rename ("Makefile.new", "Makefile")
+-
+ def fileOpts (fn):
+ try:
+ optfile = open (fn, 'r')
================================================================
More information about the pld-cvs-commit
mailing list