diff options
author | Jaka Kranjc | 2011-10-07 22:56:00 +0200 |
---|---|---|
committer | Jaka Kranjc | 2011-10-07 22:56:00 +0200 |
commit | 87c533847fe7feb53a534719efb3dc9d28289271 (patch) | |
tree | 97c49c62450f4e0e6232abd43117a2fc0ab69663 | |
parent | 8fd9b054076b883becf550311b0f54c2d69fc2c0 (diff) |
grass: added sqlite subdep support
-rw-r--r-- | science/grass/HISTORY | 1 | ||||
-rwxr-xr-x | science/grass/PRE_SUB_DEPENDS | 4 | ||||
-rwxr-xr-x | science/grass/SUB_DEPENDS | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/science/grass/HISTORY b/science/grass/HISTORY index 8739cf1b0b..5376df017d 100644 --- a/science/grass/HISTORY +++ b/science/grass/HISTORY @@ -2,6 +2,7 @@ * DETAILS: 6.4.1 * DEPENDS: fixed various dependencies * INSTALL: added + * {PRE_,}SUB_DEPENDS: added 2009-11-02 Andraž "ruskie" Levstik <ruskie+f03a580f@codemages.net> * DEPENDS, DETAILS: spell created diff --git a/science/grass/PRE_SUB_DEPENDS b/science/grass/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..5f8339cca0 --- /dev/null +++ b/science/grass/PRE_SUB_DEPENDS @@ -0,0 +1,4 @@ +case $THIS_SUB_DEPENDS in +SQLITE) is_depends_enabled $SPELL sqlite && return 0;; +esac +return 1 diff --git a/science/grass/SUB_DEPENDS b/science/grass/SUB_DEPENDS new file mode 100755 index 0000000000..9de0f15b52 --- /dev/null +++ b/science/grass/SUB_DEPENDS @@ -0,0 +1,5 @@ +case $THIS_SUB_DEPENDS in +SQLITE) echo "sqlite support requested, forcing it." && + depends sqlite '--enable-cxx' ;; + *) echo "unknown sub-depends!"; return 1;; +esac |