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

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


commit 35b14ee1ffe35dd5f3dda89a861c2812e332aff0
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Tue Jan 5 21:06:23 2010 +0200

    qscintilla2: remove the optional qt3 depend.
---
 qt4-apps/qscintilla2/BUILD   |   12 +++---------
 qt4-apps/qscintilla2/DEPENDS |    3 +--
 2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/qt4-apps/qscintilla2/BUILD b/qt4-apps/qscintilla2/BUILD
index ffb1da2..6fda111 100644
--- a/qt4-apps/qscintilla2/BUILD
+++ b/qt4-apps/qscintilla2/BUILD
@@ -3,15 +3,9 @@
 # install the editor class
 
   export PATH=$QTDIR/bin:$PATH
-  if module_installed qt4; then
-    source /etc/profile.d/qt4.rc
-    cd Qt4
-  else
-    if module_installed qt3; then
-      source /etc/profile.d/qt3.rc
-      cd Qt3
-    fi
-  fi
+  source /etc/profile.d/qt4.rc
+  cd Qt4
+
   qmake -o Makefile qscintilla.pro
   default_make
 
diff --git a/qt4-apps/qscintilla2/DEPENDS b/qt4-apps/qscintilla2/DEPENDS
index 3157cda..028837c 100644
--- a/qt4-apps/qscintilla2/DEPENDS
+++ b/qt4-apps/qscintilla2/DEPENDS
@@ -1,2 +1 @@
-optional_depends  qt3 ""  ""  "for qt3 version of QScintilla"
-optional_depends  qt4 ""  ""  "for qt4 version of QScintilla"
+depends  qt4


More information about the Lunar-commits mailing list