First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 101218
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
coreutils-nongnu.patch Ebuild patch patch Diego E. 'Flameeyes' Pettenò 2005-08-03 09:04 0000 2.23 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 101218 depends on: Show dependency tree
Bug 101218 blocks: 101219
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-03 09:04 0000
As I'm trying to get some sort of GNU-compatibility for end users on  
Gentoo/FreeBSD, I need to have coreutils working on Gentoo/FreeBSD.  
Sources compiles fine on Gentoo/FreeBSD without problems or collisions (a part  
charset.alias, sure), so I changed the ebuild to make it support non-GNU  
userlands as well as the default GNU userlands. 
 
When installed in a non-GNU userland, it installs every binary with g-prefix  
and in /usr/bin instead of /bin, so it doesn't need to move them around; it  
also avoid to touch /usr/bin/hostname. 
 
The change is a no-op for GNU systems. 
 
Thanks in advance, 
Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-08-03 09:04:41 0000 -------
Created an attachment (id=64994) [edit]
Ebuild patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2005-08-03 09:11:34 0000 -------
Actually ${D}/usr/lib should be ${D}/usr/$(get_libdir) when removing the 
charset.alias. 
 

------- Comment #3 From SpanKY 2005-08-03 10:48:27 0000 -------
i dont like this change ... i dont see much benefit installing coreutils like
this

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2005-08-03 10:50:41 0000 -------
Read on my blog 
( http://planet.gentoo.org/developers/flameeyes/2005/08/03/p268 ), it's to 
allow users to have gnu-style userland commands if they are too used to them. 
 

------- Comment #5 From Luca Barbato 2005-08-14 06:54:05 0000 -------
Looks fine beside those lines:

+
+	rm -f ${D}/usr/lib/charset.alias

Segregate the with as you planned on irc

+	# charset.alias provided by libiconv on non glibc systems
+	# and not built on glibc
+	use elibc_glibc || rm -f ${D}/usr/lib/charset.alias

or patch the build system to avoid building it on libiconv presence.

------- Comment #6 From SpanKY 2005-08-15 21:24:34 0000 -------
/usr/lib/charset.alias should never be produced by anything on a GNU system
afaik

the '-f' passed to 'rm' will keep rm from erroring, so no point in adding the
`use`

------- Comment #7 From SpanKY 2005-08-17 19:20:08 0000 -------
sync up and try out what ive committed to 5.2.1-r6

------- Comment #8 From Diego E. 'Flameeyes' Pettenò 2005-08-18 06:44:33 0000 -------
Thanks, works fine. 
I've only committed a change to ChangeLog to fix the spelling of my name :P 

First Last Prev Next    No search results available      Search page      Enter new bug