Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80018 - [PATCH] GNU/k*BSD support
Summary: [PATCH] GNU/k*BSD support
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 19:47 UTC by Robert Millan
Modified: 2005-05-30 17:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Millan 2005-01-29 19:47:27 UTC
diff -ur portage-2.0.51-r15.old/pym/portage_data.py portage-2.0.51-r15/pym/portage_data.py
--- portage-2.0.51-r15.old/pym/portage_data.py  2005-01-16 02:35:33 +0000
+++ portage-2.0.51-r15/pym/portage_data.py      2005-01-30 02:13:46 +0000
@@ -11,7 +11,7 @@
ostype=os.uname()[0]

lchown = None
-if ostype=="Linux":
+if (ostype=="Linux") | (ostype[:3]=="GNU"):
        userland="GNU"
        os.environ["XARGS"]="xargs -r"
elif ostype in ["Darwin","FreeBSD","OpenBSD"]:
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-01-29 19:55:17 UTC
*** Bug 80019 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Black (RETIRED) gentoo-dev 2005-01-29 19:55:56 UTC
From bug 80019:
Hi,

Could you please add GNU/k*BSD systems to the "OS" field:

  - GNU/kFreeBSD (kfreebsd-gnu)
  - GNU/kNetBSD (knetbsd-gnu)

They're based on GNU libc and userland, with kernel of *BSD.

TIA.
Comment 3 Robert Millan 2005-05-12 03:33:42 UTC
Hi.

This bug is not a duplicate of 80019.  This one contains a fix for portage while 80019 is a bugzilla thing.

Is my proposed patch okay for appliing?
Comment 4 Stephen Bennett (RETIRED) gentoo-dev 2005-05-12 06:29:49 UTC
This patch shouldn't be needed any more since we've started moving USERLAND et al into profile vars ... need to talk to portage people though about removing the related code here.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2005-05-30 17:57:12 UTC
closing per request.