[Lunar-commits] r19485 - moonbase/trunk/utils/less

Auke Kok sofar at lunar-linux.org
Mon Mar 27 17:41:27 UTC 2006


Author: sofar
Date: 2006-03-27 17:41:27 +0000 (Mon, 27 Mar 2006)
New Revision: 19485

Modified:
   moonbase/trunk/utils/less/BUILD
   moonbase/trunk/utils/less/CONFIGURE
Log:
mquery this one too - also turn on LARGEFILE support by default.


Modified: moonbase/trunk/utils/less/BUILD
===================================================================
--- moonbase/trunk/utils/less/BUILD	2006-03-27 17:39:15 UTC (rev 19484)
+++ moonbase/trunk/utils/less/BUILD	2006-03-27 17:41:27 UTC (rev 19485)
@@ -1,6 +1,12 @@
 (
 
-  default_build &&
-  install -m 755 -g 0 -o 0 $SCRIPT_DIRECTORY/lesspipe.sh /usr/bin/lesspipe.sh
+	if [ "$USE_LARGEFILE" == "y" ]; then
+		OPTS=$OPTS" --enable-largefile"
+	else
+		OPTS=$OPTS" --disable-largefile"
+	fi
 
+	default_build &&
+	install -m755 -g0 -o0 $SCRIPT_DIRECTORY/lesspipe.sh /usr/bin/
+
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/utils/less/CONFIGURE
===================================================================
--- moonbase/trunk/utils/less/CONFIGURE	2006-03-27 17:39:15 UTC (rev 19484)
+++ moonbase/trunk/utils/less/CONFIGURE	2006-03-27 17:41:27 UTC (rev 19485)
@@ -1,10 +1 @@
-if  !  grep  -q  CONFIGURED  $MODULE_CONFIG;  then
-
-  if    query  "Do you want to enable large file support? " n
-      then OPTS=$OPTS" --enable-largefile"
-      else OPTS=$OPTS" --disable-largefile"
-  fi
-
-   echo  'CONFIGURED="y"'  >>  $MODULE_CONFIG
-   echo  'OPTS='\"$OPTS\"    >>  $MODULE_CONFIG
-fi
+mquery USE_LARGEFILE "Do you want to enable large file support?" y



More information about the Lunar-commits mailing list