1 |
commit: 11ad885f29c27e5b251715f892e3b2bd77cfc768 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 7 18:44:49 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 7 19:39:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11ad885f |
7 |
|
8 |
sys-freebsd/freebsd-lib: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only |
9 |
|
10 |
CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. |
11 |
Convert it to a global USE flag instead. |
12 |
|
13 |
Mechanical ebuild rename done as: |
14 |
$ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ |
15 |
-i $(git grep -l headers-only) |
16 |
|
17 |
'headers-only' flag is used by crossdev to bootstrap stage1 compiler |
18 |
before libc is available. |
19 |
|
20 |
crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. |
21 |
|
22 |
Bug: https://bugs.gentoo.org/642712 |
23 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
24 |
|
25 |
sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild | 8 ++++---- |
26 |
sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild | 8 ++++---- |
27 |
sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild | 8 ++++---- |
28 |
3 files changed, 12 insertions(+), 12 deletions(-) |
29 |
|
30 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild |
31 |
index a1e2b461df4..db383d62947 100644 |
32 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild |
33 |
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild |
34 |
@@ -1,4 +1,4 @@ |
35 |
-# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
|
39 |
EAPI=5 |
40 |
@@ -72,7 +72,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
41 |
fi |
42 |
|
43 |
IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
44 |
- build crosscompile_opts_headers-only zfs pam xinetd |
45 |
+ build headers-only zfs pam xinetd |
46 |
userland_GNU userland_BSD" |
47 |
|
48 |
QA_DT_NEEDED="lib/libc.so.7 usr/lib32/libc.so.7" |
49 |
@@ -416,7 +416,7 @@ src_compile() { |
50 |
cd "${WORKDIR}/include" |
51 |
$(freebsd_get_bmake) CC="$(tc-getCC)" SRCTOP="${WORKDIR}" || die "make include failed" |
52 |
|
53 |
- use crosscompile_opts_headers-only && return 0 |
54 |
+ use headers-only && return 0 |
55 |
|
56 |
# Bug #270098 |
57 |
append-flags $(test-flags -fno-strict-aliasing) |
58 |
@@ -547,7 +547,7 @@ do_install() { |
59 |
CTARGET="${CHOST}" \ |
60 |
install_includes ${INCLUDEDIR} |
61 |
|
62 |
- is_crosscompile && use crosscompile_opts_headers-only && return 0 |
63 |
+ is_crosscompile && use headers-only && return 0 |
64 |
|
65 |
# Install a libusb.pc for better compat with Linux's libusb |
66 |
if use usb ; then |
67 |
|
68 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild |
69 |
index 755c53b8497..8af19aedf5f 100644 |
70 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild |
71 |
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild |
72 |
@@ -1,4 +1,4 @@ |
73 |
-# Copyright 1999-2014 Gentoo Foundation |
74 |
+# Copyright 1999-2018 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
|
77 |
EAPI=2 |
78 |
@@ -51,7 +51,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
79 |
fi |
80 |
|
81 |
IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
82 |
- build bootstrap crosscompile_opts_headers-only" |
83 |
+ build bootstrap headers-only" |
84 |
|
85 |
pkg_setup() { |
86 |
[ -c /dev/zero ] || \ |
87 |
@@ -193,7 +193,7 @@ src_compile() { |
88 |
cd "${WORKDIR}/include" |
89 |
$(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" |
90 |
|
91 |
- use crosscompile_opts_headers-only && return 0 |
92 |
+ use headers-only && return 0 |
93 |
|
94 |
# Bug #270098 |
95 |
append-flags $(test-flags -fno-strict-aliasing) |
96 |
@@ -275,7 +275,7 @@ src_install() { |
97 |
doins "${S}/msun/src/math.h" |
98 |
fi |
99 |
|
100 |
- use crosscompile_opts_headers-only && return 0 |
101 |
+ use headers-only && return 0 |
102 |
local mylibdir=$(get_libdir) |
103 |
|
104 |
if [ "${CTARGET}" != "${CHOST}" ]; then |
105 |
|
106 |
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild |
107 |
index 8eee4f7d190..92881fadfbc 100644 |
108 |
--- a/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild |
109 |
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild |
110 |
@@ -1,4 +1,4 @@ |
111 |
-# Copyright 1999-2015 Gentoo Foundation |
112 |
+# Copyright 1999-2018 Gentoo Foundation |
113 |
# Distributed under the terms of the GNU General Public License v2 |
114 |
|
115 |
EAPI=5 |
116 |
@@ -54,7 +54,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then |
117 |
fi |
118 |
|
119 |
IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware |
120 |
- build crosscompile_opts_headers-only zfs |
121 |
+ build headers-only zfs |
122 |
userland_GNU userland_BSD" |
123 |
|
124 |
QA_DT_NEEDED="lib/libc.so.7 usr/lib32/libc.so.7" |
125 |
@@ -358,7 +358,7 @@ src_compile() { |
126 |
cd "${WORKDIR}/include" |
127 |
$(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" |
128 |
|
129 |
- use crosscompile_opts_headers-only && return 0 |
130 |
+ use headers-only && return 0 |
131 |
|
132 |
# Bug #270098 |
133 |
append-flags $(test-flags -fno-strict-aliasing) |
134 |
@@ -485,7 +485,7 @@ do_install() { |
135 |
CTARGET="${CHOST}" \ |
136 |
install_includes ${INCLUDEDIR} |
137 |
|
138 |
- is_crosscompile && use crosscompile_opts_headers-only && return 0 |
139 |
+ is_crosscompile && use headers-only && return 0 |
140 |
|
141 |
for i in $(get_subdirs) ; do |
142 |
einfo "Installing in ${i}..." |