aboutsummaryrefslogtreecommitdiff
path: root/academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-08-11 14:15:16 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-08-14 22:30:49 -0500
commitcf02daefd1f54c19a4678a7f50422800bdaef14e (patch)
tree6f1cc28f97a2c7f8a77876f9e26dd056d1c5a5b3 /academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch
parentcc0d329aafc2d8d26321df805ac717d923a3139e (diff)
academic/avogadro: Updated with patches for newer gcc and boost.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch')
-rw-r--r--academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch b/academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch
new file mode 100644
index 0000000000000..a1e9ec92bd305
--- /dev/null
+++ b/academic/avogadro/patches/avogadro-1.0.3-mkspecs-dir.patch
@@ -0,0 +1,12 @@
+diff -ur avogadro-1.0.3/CMakeLists.txt avogadro-1.0.3-mkspecs-dir/CMakeLists.txt
+--- avogadro-1.0.3/CMakeLists.txt 2011-04-25 07:29:58.000000000 +0200
++++ avogadro-1.0.3-mkspecs-dir/CMakeLists.txt 2011-04-27 02:42:26.000000000 +0200
+@@ -491,7 +491,7 @@
+ if(QT_MKSPECS_DIR AND INSTALL_QMAKE_PRF)
+ install(FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/avogadro.prf"
+- DESTINATION "${CMAKE_INSTALL_PREFIX}/${QT_MKSPECS_RELATIVE}/features"
++ DESTINATION "${QT_MKSPECS_DIR}/features"
+ )
+ else(QT_MKSPECS_DIR AND INSTALL_QMAKE_PRF)
+ message(WARNING "Qt mkspecs directory not found. File 'avogadro.prf' will be installed to ${SHARE_INSTALL_PREFIX}/avogadro/qmake.")