[Lunar-commits] <moonbase> netpbm: Another change to the BUILD regarding the svgalib section. I cannot duplicate

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Mar 4 12:51:46 CET 2010


commit 4013e632b52866b396fc43e1a9b9a6a416f2f7dd
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Mar 4 06:51:46 2010 -0500

    netpbm: Another change to the BUILD regarding the svgalib section. I cannot duplicate
    
    the problem Richar Pryne has with this but this change does not damage.
---
 graphics/netpbm/BUILD     |    8 +++++++-
 graphics/netpbm/CONFIGURE |    1 +
 graphics/netpbm/DEPENDS   |    2 ++
 3 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/graphics/netpbm/BUILD b/graphics/netpbm/BUILD
index bc75056..ebd9a12 100644
--- a/graphics/netpbm/BUILD
+++ b/graphics/netpbm/BUILD
@@ -8,6 +8,12 @@
     X11="none"
   fi &&
 
+  if [ $USE_SVGALIB == "n" ] ; then
+    SVGALIB="none"
+   else
+    SVGALIB="libvga.so"
+  fi &&
+
   echo  -e  "
 gnu
 regular
@@ -22,7 +28,7 @@ libz.so
 default
 $X11
 default
-none
+$SVGALIB
 default
 
 " | ./configure    &&
diff --git a/graphics/netpbm/CONFIGURE b/graphics/netpbm/CONFIGURE
index 92ccd88..d6353a0 100644
--- a/graphics/netpbm/CONFIGURE
+++ b/graphics/netpbm/CONFIGURE
@@ -1 +1,2 @@
 mquery USE_X11 "Use libX11?" y
+mquery USE_SVGALIB "Use svgalib?" n
diff --git a/graphics/netpbm/DEPENDS b/graphics/netpbm/DEPENDS
index da86373..ac15bf1 100644
--- a/graphics/netpbm/DEPENDS
+++ b/graphics/netpbm/DEPENDS
@@ -1,3 +1,5 @@
 depends  tiff
 depends  jpeg
 depends  libpng
+
+optional_depends svgalib "" "" "for svga support"


More information about the Lunar-commits mailing list