[Lunar-commits] <moonbase> qwt: remove the optional qt3 depend.

Florin Braescu florin at lunar-linux.org
Tue Jan 5 20:07:36 CET 2010


commit 73a35ad41b02be84940164e6448f6949954530a1
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Tue Jan 5 21:07:36 2010 +0200

    qwt: remove the optional qt3 depend.
---
 qt4-apps/qwt/BUILD   |   15 ++++-----------
 qt4-apps/qwt/DEPENDS |    3 +--
 qt4-apps/qwt/DETAILS |    2 +-
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/qt4-apps/qwt/BUILD b/qt4-apps/qwt/BUILD
index 2a5d88f..64cce92 100644
--- a/qt4-apps/qwt/BUILD
+++ b/qt4-apps/qwt/BUILD
@@ -1,16 +1,9 @@
 (
 
-  if in_depends $MODULE qt4; then
-      source /etc/profile.d/qt4.rc
-      MODULE_PREFIX=${QT4_PREFIX:-/opt/lunar/qt/4}      
-      sedit "s:/usr/local:$MODULE_PREFIX:" qwt.prf
-      sedit "s:/usr/local:$MODULE_PREFIX:" qwtconfig.pri
-   else
-      source /etc/profile.d/qt3.rc
-      MODULE_PREFIX=${QT_PREFIX:-/opt/lunar/qt/3}
-      sedit "s:/usr/local:$MODULE_PREFIX:" qwt.prf
-      sedit "s:/usr/local:$MODULE_PREFIX:" qwtconfig.pri
-  fi &&
+  source /etc/profile.d/qt4.rc
+  MODULE_PREFIX=${QT4_PREFIX:-/opt/lunar/qt/4}
+  sedit "s:/usr/local:$MODULE_PREFIX:" qwt.prf
+  sedit "s:/usr/local:$MODULE_PREFIX:" qwtconfig.pri
 
   qmake &&
   default_make
diff --git a/qt4-apps/qwt/DEPENDS b/qt4-apps/qwt/DEPENDS
index f97b4fb..428f269 100644
--- a/qt4-apps/qwt/DEPENDS
+++ b/qt4-apps/qwt/DEPENDS
@@ -1,2 +1 @@
-optional_depends qt4 "" "" "for Graph display support"
-optional_depends qt3 "" "" "for Graph display support"
+depends qt4
diff --git a/qt4-apps/qwt/DETAILS b/qt4-apps/qwt/DETAILS
index d888d48..1448fd5 100644
--- a/qt4-apps/qwt/DETAILS
+++ b/qt4-apps/qwt/DETAILS
@@ -3,7 +3,7 @@
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=$SFORGE_URL/$MODULE
       SOURCE_VFY=sha1:8830498b87d99d4b7e95ee643f1f7ff178204ba9
-        WEB_SITE=http://qwt.sourceforge.net/
+        WEB_SITE=http://qwt.sourceforge.net
          ENTERED=20090621
          UPDATED=20090621
            SHORT="Qt Widgets for Technical Applications"


More information about the Lunar-commits mailing list