profiles: add linux standalone legacy profile for <linux-2.6.32.
authorBenda Xu <heroxbd@gentoo.org>
Fri, 3 Jun 2016 07:42:57 +0000 (16:42 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sat, 4 Jun 2016 02:25:25 +0000 (11:25 +0900)
  mask python-3.4

profiles/features/prefix/standalone/legacy/make.defaults [new file with mode: 0644]
profiles/features/prefix/standalone/legacy/package.mask [new file with mode: 0644]
profiles/prefix/linux-standalone/amd64/legacy/eapi [new file with mode: 0644]
profiles/prefix/linux-standalone/amd64/legacy/parent [new file with mode: 0644]
profiles/profiles.desc

diff --git a/profiles/features/prefix/standalone/legacy/make.defaults b/profiles/features/prefix/standalone/legacy/make.defaults
new file mode 100644 (file)
index 0000000..7584425
--- /dev/null
@@ -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 (file)
index 0000000..29807dd
--- /dev/null
@@ -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 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -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 (file)
index 0000000..21df735
--- /dev/null
@@ -0,0 +1,2 @@
+../../../../features/prefix/standalone/legacy
+..
index fa1aa4099302fe11b7c97b76fd5fdefa8a8aa3cb..a7a35ac5e15996c9bf4db25f8c0fd5725e428a51 100644 (file)
@@ -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