Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: openembedded-core@lists.openembedded.org
Cc: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Subject: [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy
Date: Thu, 13 Sep 2012 13:58:30 +0100	[thread overview]
Message-ID: <1347541110-24989-1-git-send-email-ml@communistcode.co.uk> (raw)
In-Reply-To: <504FAFAD.3050600@communistcode.co.uk>

From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>

Git requires python by default as an included script to link git
to perforce is written in Python. Define NO_PYTHON to stop the
script being included and thus remove the dependancy on Python.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
---
 meta/recipes-devtools/git/git.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 6748b70..4a0c4aa 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -10,7 +10,11 @@ S = "${WORKDIR}/git-${PV}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
 
-EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --without-tcltk"
+EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
+		--without-tcltk \
+"
+
+EXTRA_OEMAKE = "NO_PYTHON=1"
 
 inherit autotools perlnative
 
-- 
1.7.12




  reply	other threads:[~2012-09-13 13:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11  9:34 /usr/bin/python is needed by git Jack Mitchell
2012-09-11 10:33 ` [PATCH] git: add missing Python dependency Jack Mitchell
2012-09-11 15:46   ` Mark Hatle
2012-09-11 13:04 ` /usr/bin/python is needed by git Mark Hatle
2012-09-11 13:37   ` Jack Mitchell
2012-09-11 21:02     ` Khem Raj
2012-09-11 21:39       ` Jack Mitchell
2012-09-13 12:58         ` Jack Mitchell [this message]
2012-09-14 15:54           ` [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy Saul Wold

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=1347541110-24989-1-git-send-email-ml@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=jack.mitchell@dbbroadcast.co.uk \
    --cc=openembedded-core@lists.openembedded.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