public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Panard <panard@backzone.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] cmake.eclass
Date: Wed, 24 May 2006 15:24:06 +0200	[thread overview]
Message-ID: <200605241524.18930.panard@backzone.net> (raw)
In-Reply-To: <2b1fa7660605240511i64d2cdd2qbcc9bd6ce9c92527@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

Hello,

That's right.
I've added need-cmake function which add >=dev-util/cmake-VERSION depend.

need-cmake() {
    debug-print-function $FUNCNAME $*
    CMAKEVER="$1"

    # from need-kde
    if [ "${RDEPEND-unset}" != "unset" ] ; then
        x_DEPEND="${RDEPEND}"
    else
        x_DEPEND="${DEPEND}"
    fi
    DEPEND="${DEPEND} >=dev-util/cmake-${CMAKEVER}"
    RDEPEND="${x_DEPEND} >=dev-util/cmake-${CMAKEVER}"
}

I don't think there is backward compatiblity issue with cmake, but if such, 
perhaps it will be better to have cmake_min_version an cmake_max_version 
functions.

http://backzone.net/~panard/patches/gentoo-overlay/eclass/cmake.eclass



Le Mercredi 24 Mai 2006 14:11, Thomas Kear a écrit :
> Can I suggest including a function for setting a minumum cmake
> version, similar to the need-kde function in kde-functions.eclass.
> For some apps, cmake 2.2 is a requirement, and giving the option to
> require =dev-util/cmake-2.2* will prevent breakage on architectures
> for which 2.2 is still ~.  With cmake 2.4 released it may again become
> important.
>
> --
> Thomas Kear
> thomas.kear@gmail.com

-- 
HomePage: http://dev.inzenet.org/~panard/
Yzis : http://www.yzis.org
Qomics : http://dev.inzenet.org/~panard/qomics
Smileys : http://smileys.inzenet.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-05-24 13:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18 10:13 [gentoo-dev] cmake.eclass Panard
2006-05-18 10:54 ` Simon Stelling
2006-05-18 11:44   ` Panard
2006-05-24  0:52     ` Mike Frysinger
2006-05-24 10:46       ` Panard
2006-05-24 12:11         ` Thomas Kear
2006-05-24 13:24           ` Panard [this message]
2006-05-25 11:31             ` Carsten Lohrke
2006-05-25 14:39               ` Danny van Dyk
2006-05-25 14:37                 ` Diego 'Flameeyes' Pettenò
2006-05-25 14:54                   ` Carsten Lohrke
2006-05-25 22:50               ` Panard
2006-05-25 23:10                 ` Danny van Dyk
2006-05-25 23:09                   ` Diego 'Flameeyes' Pettenò
2006-05-25 23:20                   ` Danny van Dyk
2006-05-25 21:15             ` Mike Frysinger
2006-05-25 22:52               ` Panard
2006-08-24  3:23               ` lnxg33k
2006-08-24  4:02                 ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200605241524.18930.panard@backzone.net \
    --to=panard@backzone.net \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox