[Lunar-commits] <moonbase> links2: Please don't break because libpng is not installed.

Moritz Heiber moe at lunar-linux.org
Wed Apr 30 08:56:44 CEST 2008


commit c4e1ac9b3d74125c451b9a4c098e07c05ac25f7d
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Wed Apr 30 08:56:44 2008 +0200

    links2: Please don't break because libpng is not installed.
    
    CONFIGURE is tracking a hidden dependency here. Its better this way.
    (Broke my ISO rebuild).
---
 web/links2/BUILD     |    3 ---
 web/links2/CONFIGURE |    1 -
 web/links2/DEPENDS   |    8 ++++----
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/web/links2/BUILD b/web/links2/BUILD
index c64f9a0..7816d75 100644
--- a/web/links2/BUILD
+++ b/web/links2/BUILD
@@ -1,8 +1,5 @@
 (
 
-  if [ "$USE_GRAPHICS" == "y" ] ; then
-    OPTS="$OPTS --enable-graphics"
-  fi
   if [ "$USE_JSCRIPT" == "y" ] ; then
     OPTS="$OPTS --enable-javascript"
   fi
diff --git a/web/links2/CONFIGURE b/web/links2/CONFIGURE
index 52d91b3..7da3fb9 100644
--- a/web/links2/CONFIGURE
+++ b/web/links2/CONFIGURE
@@ -1,2 +1 @@
-mquery USE_GRAPHICS "Enable graphics support?" y
 mquery USE_JSCRIPT "Enable javascript interpreter?" y
diff --git a/web/links2/DEPENDS b/web/links2/DEPENDS
index 1a81503..e0ced5d 100644
--- a/web/links2/DEPENDS
+++ b/web/links2/DEPENDS
@@ -1,9 +1,9 @@
 depends  ncurses
 
 optional_depends  libpng                  \
-                  ""                      \
-                  ""                      \
-                  "for PNG support"  
+                  "--enable-graphics"     \
+                  "--disable-graphics"    \
+                  "for console graphics support"  
 
 optional_depends  gpm                     \
                   "--with-gpm"            \
@@ -18,7 +18,7 @@ optional_depends  tiff                    \
 optional_depends  jpeg                    \
                   "--with-libjpeg"        \
                   "--without-libjpeg"     \
-                  "for console graphics support"
+                  "for additional console graphics support"
 
 optional_depends  "openssl"               \
                   "--with-ssl"            \


More information about the Lunar-commits mailing list