aboutsummaryrefslogtreecommitdiff
path: root/cad/klayout/files/patch-build.sh
blob: c58a376aa639ad62d3d35b82a3bff744fab68a57 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- build.sh.orig	2009-12-18 07:52:08.000000000 +0900
+++ build.sh	2009-12-21 01:30:05.000000000 +0900
@@ -158,11 +158,11 @@
   ;;
 esac
 
-if [ ! -r $QTBIN/moc ]; then
+if [ ! -r $QTBIN/moc-qt4 ]; then
   echo "*** ERROR: unable to locate Qt MOC in $QTBIN"
   exit 1
 fi
-if [ ! -r $QTBIN/uic ]; then
+if [ ! -r $QTBIN/uic-qt4 ]; then
   echo "*** ERROR: unable to locate Qt UIC in $QTBIN"
   exit 1
 fi
@@ -268,21 +268,21 @@
 
 # -- Installing binaries  --
 
-echo "Installing binaries .."
-cd $BUILD
-$MAKE_PRG install
-cd $CURR_DIR
+#echo "Installing binaries .."
+#cd $BUILD
+#$MAKE_PRG install
+#cd $CURR_DIR
 echo "Build done."
 
 if [ $WIN_CYGWIN = 0 ]; then
   echo ""
   echo "Final binary is ready in $BIN/$EXEC_NAME."
-  echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:"
-  echo "$QTLIB"
+  #echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:"
+  #echo "$QTLIB"
   
-  LD_LIBRARY_PATH=$QTLIB:$LD_LIBRARY_PATH
-  $BIN/$EXEC_NAME -v
-  $BIN/$EXEC_NAME -h
+  #LD_LIBRARY_PATH=$QTLIB:$LD_LIBRARY_PATH
+  #$BIN/$EXEC_NAME -v
+  #$BIN/$EXEC_NAME -h
 fi
 
 exit 0