Source

vabs / var / vabs / mahjongg3d / src / patches / configure.patch

Full commit
--- a/configure	2004-06-18 23:16:51.000000000 +0800
+++ b/configure	2012-12-05 06:24:57.000000000 +0800
@@ -11,30 +11,32 @@
 
 clear
 
-if  test -z $QTDIR ; then
-echo "Please enter the path to your QT installation"
-echo "(for example /usr/lib/qt)"
-echo
-echo "Also, make sure you installed the QT development package (f.e. qt-dev)"
-echo
-echo "Refer to your distribution's docs to find out where it is"
-read -p "Path to QT:" QTDIR
-fi
-
-echo "Where do you want mahjongg3d to be installed?"
-echo "----------------------------------------------"
-echo
-echo "Please enter the destination path (for example /usr/local), or"
-read -p "just press enter to select /usr: " TEMP
-
-if test -z $TEMP ; then
-CUSTOM_PREFIX=/usr
-else
-CUSTOM_PREFIX=$TEMP
-fi
+#if  test -z $QTDIR ; then
+#echo "Please enter the path to your QT installation"
+#echo "(for example /usr/lib/qt)"
+#echo
+#echo "Also, make sure you installed the QT development package (f.e. qt-dev)"
+#echo
+#echo "Refer to your distribution's docs to find out where it is"
+#read -p "Path to QT:" QTDIR
+#fi
+
+#QTDIR=/opt/kde3/lib/qt3
+
+#echo "Where do you want mahjongg3d to be installed?"
+#echo "----------------------------------------------"
+#echo
+#echo "Please enter the destination path (for example /usr/local), or"
+#read -p "just press enter to select /usr: " TEMP
+
+#if test -z $TEMP ; then
+#CUSTOM_PREFIX=/usr
+#else
+#CUSTOM_PREFIX=$TEMP
+#fi
 
-if [ -w $CUSTOM_PREFIX ] ; then
-echo "Installing to " $CUSTOM_PREFIX
+#if [ -w $CUSTOM_PREFIX ] ; then
+#echo "Installing to " $CUSTOM_PREFIX
 #else
 #echo
 #echo "You do not have write permission to" $CUSTOM_PREFIX " or used the home directory tilde ~"
@@ -42,22 +44,22 @@
 #echo "To install the game to" $CUSTOM_PREFIX ", enter root mode with \"su\" and try again."
 #echo
 #exit 1
-fi
+#fi
 
-echo
-echo
-echo
-echo "Where do you want your game data to be installed?"
-echo "--------------------------------------------------"
-echo
-echo "Please enter the destination path, or"
-read -p "just press enter to select installation directory [$CUSTOM_PREFIX]: " TEMP
-
-if test -z $TEMP ; then
-CUSTOM_GAMEDATA_PREFIX=$CUSTOM_PREFIX
-else
-CUSTOM_GAMEDATA_PREFIX=$TEMP
-fi
+#echo
+#echo
+#echo
+#echo "Where do you want your game data to be installed?"
+#echo "--------------------------------------------------"
+#echo
+#echo "Please enter the destination path, or"
+#read -p "just press enter to select installation directory [$CUSTOM_PREFIX]: " TEMP
+
+#if test -z $TEMP ; then
+#CUSTOM_GAMEDATA_PREFIX=$CUSTOM_PREFIX
+#else
+#CUSTOM_GAMEDATA_PREFIX=$TEMP
+#fi
 
 echo "all:" > Makefile
 echo "	make -f Makefile.doit PREFIX=$CUSTOM_PREFIX GAMEDATA_PREFIX=$CUSTOM_GAMEDATA_PREFIX" >> Makefile