1 |
commit: 227dae79477f4c1110dad51b7a3671afe59319a9 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 04:07:52 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 20:04:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227dae79 |
7 |
|
8 |
xorg-2.eclass: Remove XORG_STATIC |
9 |
|
10 |
Statically linking X libraries into your program is an extremely bad |
11 |
idea. |
12 |
|
13 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
14 |
|
15 |
eclass/xorg-2.eclass | 23 +---------------------- |
16 |
1 file changed, 1 insertion(+), 22 deletions(-) |
17 |
|
18 |
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass |
19 |
index f3b282e1a11..f9a18b8ec26 100644 |
20 |
--- a/eclass/xorg-2.eclass |
21 |
+++ b/eclass/xorg-2.eclass |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
# @ECLASS: xorg-2.eclass |
28 |
@@ -168,27 +168,6 @@ fi |
29 |
# If we're a driver package, then enable DRIVER case |
30 |
[[ ${PN} == xf86-video-* || ${PN} == xf86-input-* ]] && DRIVER="yes" |
31 |
|
32 |
-# @ECLASS-VARIABLE: XORG_STATIC |
33 |
-# @DESCRIPTION: |
34 |
-# Enables static-libs useflag. Set to no, if your package gets: |
35 |
-# |
36 |
-# QA: configure: WARNING: unrecognized options: --disable-static |
37 |
-: ${XORG_STATIC:="yes"} |
38 |
- |
39 |
-# Add static-libs useflag where useful. |
40 |
-if [[ ${XORG_STATIC} == yes \ |
41 |
- && ${FONT} != yes \ |
42 |
- && ${CATEGORY} != app-doc \ |
43 |
- && ${CATEGORY} != x11-apps \ |
44 |
- && ${CATEGORY} != x11-drivers \ |
45 |
- && ${CATEGORY} != media-fonts \ |
46 |
- && ${PN} != util-macros \ |
47 |
- && ${PN} != xbitmaps \ |
48 |
- && ${PN} != xorg-cf-files \ |
49 |
- && ${PN/xcursor} = ${PN} ]]; then |
50 |
- IUSE+=" static-libs" |
51 |
-fi |
52 |
- |
53 |
DEPEND+=" virtual/pkgconfig" |
54 |
|
55 |
# @ECLASS-VARIABLE: XORG_DRI |