svn commit: trunk/buildroot/package/expat
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
Modified:
trunk/buildroot/package/expat/expat.mk
Changeset:
Modified: trunk/buildroot/package/expat/expat.mk
===================================================================
buildroot/package/expat/expat.mk +9 -1
@@ -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 \ --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 $(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \ $(STAGING_DIR)/usr/lib/libexpat.la touch -c $@
Quoted 7 lines · ninevoltz at uclibc.org
Author: ninevoltz
Date: 2008-04-24 06:15:30 -0700 (Thu, 24 Apr 2008) New Revision: 21832Log:
more options for expat, move install to /usr
From what I can see, that was the default before this patch.
Quoted 13 lines
Modified:
trunk/buildroot/package/expat/expat.mkChangeset:
Modified:trunk/buildroot/package/expat/expat.mk
===================================================================buildroot/package/expat/expat.mk +0
-0@@ -35,8 +35,16 @@ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \
buildroot/package/expat/expat.mk line 47
Quoted 10 lines
buildroot/package/expat/expat.mk +8
-0+ --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.
buildroot/package/expat/expat.mk line 57
Quoted 9 lines
buildroot/package/expat/expat.mk +1
-1--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.
Quoted 3 lines
buildroot/package/expat/expat.mk +0
-0$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \ $(STAGING_DIR)/usr/lib/libexpat.la touch -c $@
Signature · 2 lines
With kind regards, Hans-Christian Egtvedt, Applications Engineer
I'm attempting to sync up our Google Code buildroot changes with the uClibc buildroot. I'm having a little difficulty determining who's changes are the "best" changes. A lot of stuff has changed or been added to both in the last few weeks. Do you recommend that I revert this expat commit? I think I'll start pulling the commit logs and looking them over now before I continue.
John
Quoted 60 lines · Hans-Christian Egtvedt
Quoted 10 lines · ninevoltz at uclibc.org
Author: ninevoltz
Date: 2008-04-24 06:15:30 -0700 (Thu, 24 Apr 2008) New Revision: 21832Log:
more options for expat, move install to /usrFrom what I can see, that was the default before this patch.
Quoted 8 lines
Modified:
trunk/buildroot/package/expat/expat.mkChangeset:
Modified:trunk/buildroot/package/expat/expat.mk
===================================================================
---trunk/buildroot/package/expat/expat.mk2008-04-24 13:14:25 UTC(rev 21831)
Quoted 1 line
+++
trunk/buildroot/package/expat/expat.mk2008-04-24 13:15:30 UTC(rev 21832)
Quoted 4 lines
buildroot/package/expat/expat.mk +0
-0@@ -35,8 +35,16 @@ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \buildroot/package/expat/expat.mk line 47
Quoted 10 lines
buildroot/package/expat/expat.mk +8
-0+ --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.
buildroot/package/expat/expat.mk line 57
Quoted 9 lines
buildroot/package/expat/expat.mk +1
-1--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) installThis 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.
buildroot/package/expat/expat.mk line 60
Quoted 3 lines
buildroot/package/expat/expat.mk +0
-0$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \ $(STAGING_DIR)/usr/lib/libexpat.la touch -c $@
Quoted 9 lines
--
With kind regards,
Hans-Christian Egtvedt, Applications Engineer_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080424/db9fd414/attachment.htm
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Voltz <[email protected]> writes:
John> I'm attempting to sync up our Google Code buildroot changes John> with the uClibc buildroot. I'm having a little difficulty John> determining who's changes are the "best" changes. A lot of John> stuff has changed or been added to both in the last few John> weeks. Do you recommend that I revert this expat commit? I John> think I'll start pulling the commit logs and looking them over John> now before I continue.
Yes, please do. My cleanups to expat are correct.
Signature · 1 line
Bye, Peter Korsgaard