summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/tqt3/files
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-07-02 17:25:15 +0200
commit595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch)
treea284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/tqt3/files
parentbb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff)
downloadtde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz
tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/tqt3/files')
-rw-r--r--freebsd/dependencies/tqt3/files/patch-configure.diff49
1 files changed, 49 insertions, 0 deletions
diff --git a/freebsd/dependencies/tqt3/files/patch-configure.diff b/freebsd/dependencies/tqt3/files/patch-configure.diff
new file mode 100644
index 000000000..0bf90b041
--- /dev/null
+++ b/freebsd/dependencies/tqt3/files/patch-configure.diff
@@ -0,0 +1,49 @@
+--- a/configure Mon Aug 18 09:23:53 2003
++++ b/configure Wed Sep 3 13:12:20 2003
+@@ -1130,10 +1130,4 @@
+ done
+
+- # symlink the mkspecs directory
+- mkdir -p $outpath/mkspecs
+- rm -f $outpath/mkspecs/*
+- ln -s $relpath/mkspecs/* $outpath/mkspecs
+- rm -f $outpath/mkspecs/default
+-
+ # symlink the linguist/doc directory (to make the assistant happy)
+ mkdir -p $outpath/tools/linguist
+@@ -1196,5 +1190,5 @@
+ # find a make command
+ MAKE=
+-for mk in gmake make; do
++for mk in make; do
+ if $WHICH $mk >/dev/null 2>&1; then
+ MAKE=`$WHICH $mk`
+@@ -1422,12 +1416,4 @@
+ fi
+
+-if [ "$PLATFORM_QWS" = "yes" -o "$PLATFORM_QNX" = "yes" ]; then
+- CFG_SM=no
+- MODULES=`echo $MODULES | sed -e 's/opengl//'`
+- PLATFORMS=`find $relpath/mkspecs/qws | sed "s,$relpath/mkspecs/qws/,,"`
+-else
+- PLATFORMS=`find $relpath/mkspecs/ -type f | grep -v qws | sed "s,$relpath/mkspecs/qws/,,"`
+-fi
+-
+ ##if [ "$OPT_CONCURRENT" = "0" ] && echo $MAKEFLAGS | grep '.* *-j[0-9]* *.*' >/dev/null 2>&1; then
+ # OPT_CONCURRENT=`echo $MAKEFLAGS | sed "s,.* *-j\([0-9]*\) *.*,\1,"`
+@@ -2334,6 +2320,5 @@
+ fi
+
+-# build qmake
+-if true; then ###[ '!' -f "$outpath/bin/tqmake" ];
++if false; then
+ echo "Creating qmake. Please wait..."
+ rm -f mkspecs/default
+@@ -2713,6 +2698,5 @@
+
+ if [ '!' -z "$I_FLAGS" ]; then
+- QMAKE_VARS="$QMAKE_VARS \"QMAKE_CFLAGS+=$I_FLAGS\""
+- QMAKE_VARS="$QMAKE_VARS \"QMAKE_CXXFLAGS+=$I_FLAGS\""
++ QMAKE_VARS="$QMAKE_VARS \"INCPATH+=`echo $I_FLAGS | sed s,-I,,g`\""
+ fi
+