summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-06-03 16:42:57 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-04 11:25:25 +0900
commita15129d45ac962fb21e793a2929b643a861ec327 (patch)
tree3a3e0f420cfad9d4b4d593db649b0495f6c43693 /profiles
parentp/p/l-s/profile.bashrc: prefixify perl pwd call. (diff)
downloadgentoo-a15129d45ac962fb21e793a2929b643a861ec327.tar.gz
gentoo-a15129d45ac962fb21e793a2929b643a861ec327.tar.bz2
gentoo-a15129d45ac962fb21e793a2929b643a861ec327.zip
profiles: add linux standalone legacy profile for <linux-2.6.32.
mask python-3.4
Diffstat (limited to 'profiles')
-rw-r--r--profiles/features/prefix/standalone/legacy/make.defaults6
-rw-r--r--profiles/features/prefix/standalone/legacy/package.mask6
-rw-r--r--profiles/prefix/linux-standalone/amd64/legacy/eapi1
-rw-r--r--profiles/prefix/linux-standalone/amd64/legacy/parent2
-rw-r--r--profiles/profiles.desc1
5 files changed, 16 insertions, 0 deletions
diff --git a/profiles/features/prefix/standalone/legacy/make.defaults b/profiles/features/prefix/standalone/legacy/make.defaults
new file mode 100644
index 000000000000..75844255f9cc
--- /dev/null
+++ b/profiles/features/prefix/standalone/legacy/make.defaults
@@ -0,0 +1,6 @@
+# utimensat is missing or not reliable until linux-2.6.32.
+# needed by python-3.
+ac_cv_func_utimensat=no
+
+# >=python-3.4 is masked.
+PYTHON_TARGETS="python2_7 python3_3"
diff --git a/profiles/features/prefix/standalone/legacy/package.mask b/profiles/features/prefix/standalone/legacy/package.mask
new file mode 100644
index 000000000000..29807ddac768
--- /dev/null
+++ b/profiles/features/prefix/standalone/legacy/package.mask
@@ -0,0 +1,6 @@
+# >=glibc-2.20 requires >=linux-2.6.32.
+>=sys-libs/glibc-2.20
+
+# >=python-3.4 assumes F_DUPFD_CLOEXEC of fcntl,
+# which requires >=linux-2.6.24.
+>=dev-lang/python-3.4 \ No newline at end of file
diff --git a/profiles/prefix/linux-standalone/amd64/legacy/eapi b/profiles/prefix/linux-standalone/amd64/legacy/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/prefix/linux-standalone/amd64/legacy/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/prefix/linux-standalone/amd64/legacy/parent b/profiles/prefix/linux-standalone/amd64/legacy/parent
new file mode 100644
index 000000000000..21df7355851f
--- /dev/null
+++ b/profiles/prefix/linux-standalone/amd64/legacy/parent
@@ -0,0 +1,2 @@
+../../../../features/prefix/standalone/legacy
+..
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index fa1aa4099302..a7a35ac5e159 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -251,6 +251,7 @@ x86-linux prefix/linux/x86 exp
# Linux Standalone Profiles
amd64-linux prefix/linux-standalone/amd64 exp
+amd64-linux prefix/linux-standalone/amd64/legacy exp
x86-linux prefix/linux-standalone/x86 exp
# Mac OS X Profiles