aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2007-06-02 13:47:57 +0800
committerhrs <hrs@FreeBSD.org>2007-06-02 13:47:57 +0800
commite4464bbf1d3c5cf69591dd6ca3b120de9b65ccae (patch)
tree15c199c8874b619968da97b809db0c07cd15caf2 /cad
parent31c7d8591b301936423648029f9161369538f6a8 (diff)
downloadfreebsd-ports-graphics-e4464bbf1d3c5cf69591dd6ca3b120de9b65ccae.tar.gz
freebsd-ports-graphics-e4464bbf1d3c5cf69591dd6ca3b120de9b65ccae.tar.zst
freebsd-ports-graphics-e4464bbf1d3c5cf69591dd6ca3b120de9b65ccae.zip
Add a patch for build failure when $DISPLAY is not set.
Spotted by: pointyhat
Diffstat (limited to 'cad')
-rw-r--r--cad/klayout/files/patch-build.sh21
1 files changed, 19 insertions, 2 deletions
diff --git a/cad/klayout/files/patch-build.sh b/cad/klayout/files/patch-build.sh
index 2365cad9e66..00c838da0d6 100644
--- a/cad/klayout/files/patch-build.sh
+++ b/cad/klayout/files/patch-build.sh
@@ -1,5 +1,5 @@
---- build.sh.orig Sat Apr 28 23:13:29 2007
-+++ build.sh Sat Apr 28 23:13:40 2007
+--- build.sh.orig Tue Mar 6 06:58:29 2007
++++ build.sh Sat Jun 2 13:57:50 2007
@@ -61,12 +61,12 @@
exit 1
fi
@@ -15,3 +15,20 @@
echo "*** ERROR: unable to locate Qt UIC in $QTDIR/bin"
exit 1
fi
+@@ -107,11 +107,11 @@
+
+ echo "Build done."
+ 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 "$QTDIR/lib"
++#echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:"
++#echo "$QTDIR/lib"
+
+-LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
+-./$BIN/$EXEC_NAME -v
+-./$BIN/$EXEC_NAME -h
++#LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
++#./$BIN/$EXEC_NAME -v
++#./$BIN/$EXEC_NAME -h
+
+