All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] hiredis: Add recipe
Date: Mon, 12 Jun 2017 08:15:57 +0200	[thread overview]
Message-ID: <ohlbin$5f6$1@blaine.gmane.org> (raw)
In-Reply-To: <1497213367-24044-1-git-send-email-maryan.pricak@gmail.com>

Op 11-06-17 om 22:36 schreef Marian Pritsak:
> Hiredis is a C client library for Redis database.
> Hiredis does not use autotools, but plane Makefile instead,
> so few changes had to be made, including removing hard coded
> compiler, setting INSTALL to 'cp -r' to to avoid host user
> comtamination QA issue, and setting PREFIX to /usr instead of
> default /usr/local.
> 
> Signed-off-by: Marian Pritsak <maryan.pricak@gmail.com>

[..[

> +# By default INSTALL variable in Makefile is equal to 'cp -a', which preserves
> +# ownership and causes host-user-contamination QA issue.
> +# And PREFIX defaults to /usr/local.
> +do_install_prepend() {
> +  export PREFIX=/usr
> +  export INSTALL='cp -r'
> +}

Don't hardcode '/usr', but use '${prefix}'




  reply	other threads:[~2017-06-12  6:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-11 20:36 [meta-oe][PATCH] hiredis: Add recipe Marian Pritsak
2017-06-12  6:15 ` Koen Kooi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-12 18:36 Marian Pritsak
2017-06-13  5:00 ` Andrea Galbusera
2017-06-11 15:27 Marian Pritsak
2017-06-11 16:00 ` Khem Raj
2017-06-11 16:21   ` Мар'ян Пріцак
2017-06-11 17:21     ` Khem Raj
2017-06-10 22:19 Marian Pritsak
2017-06-11  4:28 ` Khem Raj

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='ohlbin$5f6$1@blaine.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.