[Lunar-commits] CVS: moonbase/editors/elvis BUILD,1.3,1.4

Niki Guldbrand niki at lunar-linux.org
Mon Jan 19 15:36:48 GMT 2004


Update of /var/cvs/lunar/moonbase/editors/elvis
In directory dbguin.lunar-linux.org:/tmp/cvs-serv18982

Modified Files:
	BUILD 
Log Message:
Couldnt we have made this optional the first time ??
As i dont have X on my firewall...


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/editors/elvis/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD	8 Nov 2003 05:01:00 -0000	1.3
+++ BUILD	19 Jan 2004 15:36:46 -0000	1.4
@@ -3,18 +3,25 @@
   sedit "s/if test -n \"\$mandir\"/mandir=\/usr\/share\/man\/man1 ; \0/" instman.sh
   sedit "s/for dir in \$mandir/mandir=\/usr\/share\/man\/man1 ; \0/" instman.sh
   sedit  "s/-O2/$CFLAGS $LDFLAGS/"  configure     &&
-  ./configure  --with-x linux            \
-               --bindir=/usr/bin         \
-               --datadir=/var/lib/elvis  &&
-  make &&
-  mv elvis xelvis &&
-  make clean &&
+  
+  if module_installed xfree86 -o module_installed xfree-beta; then
+    ./configure  --with-x linux            \
+                 --bindir=/usr/bin         \
+                 --datadir=/var/lib/elvis  &&
+    make &&
+    mv elvis xelvis &&
+    make clean
+  fi
+
   ./configure  --with-x=no linux         \
                --bindir=/usr/bin         \
                --datadir=/var/lib/elvis  &&
   make &&
   prepare_install &&
   make install &&
-  cp xelvis /usr/bin/xelvis
+  
+  if module_installed xfree86 -o module_installed xfree86-beta; then
+    cp xelvis /usr/bin/xelvis
+  fi
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list