[Lunar-commits] <moonbase> icewm: fix the compile.

Florin Braescu florin at lunar-linux.org
Fri May 1 20:11:20 CEST 2009


commit 5af3c5280af1bebe394e85194109e1df76d57dfe
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Fri May 1 21:11:20 2009 +0300

    icewm: fix the compile.
---
 x11-wm/icewm/BUILD   |   13 ++++++++-----
 x11-wm/icewm/DEPENDS |    2 --
 x11-wm/icewm/DETAILS |    3 +++
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/x11-wm/icewm/BUILD b/x11-wm/icewm/BUILD
index 874bc00..42478d7 100644
--- a/x11-wm/icewm/BUILD
+++ b/x11-wm/icewm/BUILD
@@ -1,19 +1,22 @@
 (
-  sedit "s:LFLAGS:LDFLAGS:g" src/Makefile           || exit 1
+
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
+  sedit "s:LFLAGS:LDFLAGS:g" src/Makefile  ||  exit 1
   
   # lets add KDEDIR var to enviro, if it is not defined AND if kdebase3
   # is installed  
 
-  module_installed kdebase3 && 
-  [ -z "$KDEDIR" ]          && 
+  module_installed kdebase3  && 
+  [ -z "$KDEDIR" ]           && 
   export KDEDIR=${KDE_PREFIX:-$KDEDIR}
   
   # lets add kde and gnome menu support to the build, iff
   # there is a gnome-config avail :=)
   # the support maybe set to on/off via preferences
 
-  which gnome-config 2>/dev/null >/dev/null && 
-  OPTS=$OPTS" --with-gnome-menus --with-icesound=oss,esd"
+  which gnome-config 2>/dev/null >/dev/null  && 
+  OPTS=$OPTS" --with-xpm --with-gnome-menus --with-icesound=oss,esd"
 
   # here are some options :=) with anti-aliasing support  
   OPTS=$OPTS" --with-docdir=/usr/share/doc --enable-nls \
diff --git a/x11-wm/icewm/DEPENDS b/x11-wm/icewm/DEPENDS
index a54d8f2..6d3abe7 100644
--- a/x11-wm/icewm/DEPENDS
+++ b/x11-wm/icewm/DEPENDS
@@ -1,3 +1 @@
 depends  freetype2
-
-optional_depends  "imlib2"  "--with-imlib"  "--with-xpm"  "as default graph engine instead of xpm"
diff --git a/x11-wm/icewm/DETAILS b/x11-wm/icewm/DETAILS
index 636aaef..9b70485 100644
--- a/x11-wm/icewm/DETAILS
+++ b/x11-wm/icewm/DETAILS
@@ -1,8 +1,11 @@
           MODULE=icewm
          VERSION=1.2.37
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-xpm.patch
       SOURCE_URL=$SFORGE_URL/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:bee1ca66d2282888807551bc28a65b08e4108027
+     SOURCE2_VFY=sha1:464ba6d87fde45fc0991adf1f8e119b47bb4d1c4
         WEB_SITE=http://www.icewm.org
          ENTERED=20010922
          UPDATED=20090126


More information about the Lunar-commits mailing list