[Lunar-commits] <moonbase> netpbm: Version bump. Adding a CONFIGURE and adjusting the BUILD to allow

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Mar 3 02:47:20 CET 2010


commit 2aee2731e5d46404242a9912852a86ba563806c9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Mar 2 20:47:20 2010 -0500

    netpbm: Version bump. Adding a CONFIGURE and adjusting the BUILD to allow
    
    for compiling without X11; this was noted by Richard Pyne having a machine
    where X11 was not an option.
    
    It seems to work here. If "n" is said, then there is no;
    
    X11LIB = /usr/X11R6/lib/libX11.so
    
    in the Makefile.config. Saying "y" and that variable is present.
---
 graphics/netpbm/BUILD     |    9 ++++++++-
 graphics/netpbm/CONFIGURE |    1 +
 graphics/netpbm/DETAILS   |    6 +++---
 3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/graphics/netpbm/BUILD b/graphics/netpbm/BUILD
index 4c43870..bc75056 100644
--- a/graphics/netpbm/BUILD
+++ b/graphics/netpbm/BUILD
@@ -2,6 +2,12 @@
 
   sedit "s:/tmp/netpbm:$(pwd -P)/BUILD:g" Makefile.config.in buildtools/installnetpbm.pl doc/README.DJGPP  &&
 
+  if [ $USE_X11 == "y" ] ; then
+    X11="/usr/X11R6/lib/libX11.so"
+   else
+    X11="none"
+  fi &&
+
   echo  -e  "
 gnu
 regular
@@ -14,10 +20,11 @@ libtiff.so
 default
 libz.so
 default
-/usr/X11R6/lib/libX11.so
+$X11
 default
 none
 default
+
 " | ./configure    &&
   sedit "s/^CFLAGS =/CFLAGS = -fPIC /" Makefile.config  &&
   make             &&
diff --git a/graphics/netpbm/CONFIGURE b/graphics/netpbm/CONFIGURE
new file mode 100644
index 0000000..92ccd88
--- /dev/null
+++ b/graphics/netpbm/CONFIGURE
@@ -0,0 +1 @@
+mquery USE_X11 "Use libX11?" y
diff --git a/graphics/netpbm/DETAILS b/graphics/netpbm/DETAILS
index 2ed6ab9..7407937 100644
--- a/graphics/netpbm/DETAILS
+++ b/graphics/netpbm/DETAILS
@@ -1,11 +1,11 @@
           MODULE=netpbm
-         VERSION=10.35.72
+         VERSION=10.35.73
           SOURCE=$MODULE-$VERSION.tgz
       SOURCE_URL=$SFORGE_URL/$MODULE/
-      SOURCE_VFY=sha1:f319ff02a42214637dfa7b249925bbb96f9ee14d
+      SOURCE_VFY=sha1:e498fcedbc88c618e69163cdb9fa782178a1645e
         WEB_SITE=http://netpbm.sourceforge.net/
          ENTERED=20010922
-         UPDATED=20100116
+         UPDATED=20100302
            PSAFE=no
            SHORT="contains 220 programs that convert graphics formats"
 


More information about the Lunar-commits mailing list