Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/expat
Date: Thu, 24 Apr 2008 15:18:33 +0200	[thread overview]
Message-ID: <1209043113.31234.2.camel@localhost> (raw)
In-Reply-To: <20080424131530.9388D3C832@busybox.net>

On Thu, 2008-04-24 at 06:15 -0700, ninevoltz at uclibc.org wrote:
> Author: ninevoltz
> Date: 2008-04-24 06:15:30 -0700 (Thu, 24 Apr 2008)
> New Revision: 21832
> 
> Log:
> more options for expat, move install to /usr
> 

From what I can see, that was the default before this patch.

> Modified:
>    trunk/buildroot/package/expat/expat.mk
> 
> 
> Changeset:
> Modified: trunk/buildroot/package/expat/expat.mk
> ===================================================================
> --- trunk/buildroot/package/expat/expat.mk	2008-04-24 13:14:25 UTC (rev 21831)
> +++ trunk/buildroot/package/expat/expat.mk	2008-04-24 13:15:30 UTC (rev 21832)
> @@ -35,8 +35,16 @@
>  		--build=$(GNU_HOST_NAME) \
>  		--prefix=/usr \
>  		--exec-prefix=/usr \
> +		--bindir=/bin \
> +		--sbindir=/sbin \
> +		--libdir=/lib \
> +		--libexecdir=/lib \
>  		--sysconfdir=/etc \
> +		--datadir=/share \
>  		--localstatedir=/var \
> +		--includedir=/include \
> +		--mandir=/man \
> +		--infodir=/info \

These +'s seems very wrong, the --prefix should take care of that.

>  		--enable-shared \
>  	)
>  	touch $@
> @@ -46,7 +54,7 @@
>  	touch -c $@
>  
>  $(STAGING_DIR)/$(EXPAT_TARGET_BINARY): $(EXPAT_DIR)/$(EXPAT_BINARY)
> -	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(EXPAT_DIR) install
> +	$(MAKE) DESTDIR=$(STAGING_DIR)/usr -C $(EXPAT_DIR) install

This is due to you override the prefix during configure.

Did the ./configure --prefix stuff not work? I usually only specify
--prefix=/usr, --sysconfdir=/etc and -localstatedir=/var.

then do make DESTDIR=$(STAGING_DIR) install.

>  	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
>  		$(STAGING_DIR)/usr/lib/libexpat.la
>  	touch -c $@

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer

  reply	other threads:[~2008-04-24 13:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 13:15 [Buildroot] svn commit: trunk/buildroot/package/expat ninevoltz at uclibc.org
2008-04-24 13:18 ` Hans-Christian Egtvedt [this message]
2008-04-24 13:38   ` John Voltz
2008-04-24 13:49     ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2008-06-13 13:31 jacmet at uclibc.org
2008-04-24 14:04 ninevoltz at uclibc.org
2008-03-31 20:09 jacmet at uclibc.org
2007-08-12 14:13 ulf at uclibc.org
2007-08-11 23:03 ulf at uclibc.org
2007-08-11 18:25 ulf at uclibc.org
2007-07-08 13:55 aldot at uclibc.org
2007-06-25  8:37 aldot at uclibc.org
2007-05-09 11:46 jacmet at uclibc.org
2007-01-15 21:27 andersen at uclibc.org
2007-01-11  7:25 andersen at uclibc.org
2006-08-24 22:00 aldot at uclibc.org

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=1209043113.31234.2.camel@localhost \
    --to=hans-christian.egtvedt@atmel.com \
    --cc=buildroot@busybox.net \
    /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