summaryrefslogtreecommitdiff
path: root/cad/librecad/patches/patch-scripts_postprocess-unix.sh
blob: bfce8806386716c90e1cadb018f97500c78628aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-scripts_postprocess-unix.sh,v 1.2 2012/08/18 06:58:15 ryoon Exp $

* Set qt4 tools path
* Remove GNU find option

--- scripts/postprocess-unix.sh.orig	2012-04-15 20:54:52.000000000 +0000
+++ scripts/postprocess-unix.sh
@@ -7,7 +7,7 @@ DOCDIR="${THISDIR}/support/doc"
 
 # Generate Help Files
 cd "{$DOCDIR}"
-qcollectiongenerator LibreCADdoc.qhcp
+@QTDIR@/bin/qcollectiongenerator LibreCADdoc.qhcp
 
 cd "${THISDIR}"
 
@@ -24,7 +24,7 @@ find support/library -type d | sed s/sup
 find support/library -type f -iname *.dxf | sed s/support// | xargs -IFILES  cp support/FILES "${RESOURCEDIR}"/FILES
 
 # Generate translations
-lrelease librecad.pro
+@QTDIR@/bin/lrelease librecad.pro
 mkdir -p "${RESOURCEDIR}"/qm
  
 # Go into translations directory