[phonon] oops, set rootDir at *build* time, not runtime

Rex Dieter rdieter at fedoraproject.org
Wed Oct 30 19:51:15 UTC 2013


commit 30f9fc8c1c29eeecf35d22e7edb216468af9ae49
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Wed Oct 30 14:51:13 2013 -0500

    oops, set rootDir at *build* time, not runtime

 phonon-4.6.0-rootDir.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/phonon-4.6.0-rootDir.patch b/phonon-4.6.0-rootDir.patch
index 7bbeb14..1dc627c 100644
--- a/phonon-4.6.0-rootDir.patch
+++ b/phonon-4.6.0-rootDir.patch
@@ -6,7 +6,7 @@ diff -up phonon-4.6.0/PhononConfig.cmake.in.rootDir phonon-4.6.0/PhononConfig.cm
  
  get_filename_component(currentDir ${CMAKE_CURRENT_LIST_FILE} PATH) # get the directory where I myself am
 -get_filename_component(rootDir ${currentDir}/@relInstallDir@ ABSOLUTE) # get the chosen install prefix
-+get_filename_component(rootDir ${CMAKE_INSTALL_PREFIX} ABSOLUTE) # get the chosen install prefix
++get_filename_component(rootDir @CMAKE_INSTALL_PREFIX@ ABSOLUTE) # get the chosen install prefix
  
  set(PHONON_PULSESUPPORT @PHONON_PULSESUPPORT@)
  set(PHONON_FOUND_EXPERIMENTAL @PHONON_BUILD_EXPERIMENTAL@)


More information about the scm-commits mailing list