1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00
freebsd-ports/cad/klayout/files/patch-build.sh

44 lines
1.1 KiB
Bash

--- build.sh.orig 2010-12-28 05:22:08.000000000 +0900
+++ build.sh 2011-01-04 16:58:54.000000000 +0900
@@ -1,7 +1,7 @@
#!/bin/sh
EXEC_NAME=klayout
-OTHER_BIN=""
+OTHER_BIN="strm2gds strm2oas strm2txt strm2cif strm2dxf strmcmp strmclip strmxor"
CURR_DIR=`pwd`
PLATFORM="linux-32-gcc-release"
@@ -217,11 +217,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
@@ -331,12 +331,12 @@
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