1 |
Statically linking X libraries into your program is an extremely bad |
2 |
idea. |
3 |
|
4 |
Signed-off-by: Matt Turner <mattst88@g.o> |
5 |
--- |
6 |
eclass/xorg-3.eclass | 22 ---------------------- |
7 |
1 file changed, 22 deletions(-) |
8 |
|
9 |
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass |
10 |
index ece4d97b433..399fc8661f4 100644 |
11 |
--- a/eclass/xorg-3.eclass |
12 |
+++ b/eclass/xorg-3.eclass |
13 |
@@ -169,28 +169,6 @@ if [[ ${FONT} == yes ]]; then |
14 |
FONT_DIR=${FONT_DIR/type1/Type1} |
15 |
FONT_DIR=${FONT_DIR/speedo/Speedo} |
16 |
fi |
17 |
- |
18 |
-# @ECLASS-VARIABLE: XORG_STATIC |
19 |
-# @DESCRIPTION: |
20 |
-# Enables static-libs useflag. Set to no, if your package gets: |
21 |
-# |
22 |
-# QA: configure: WARNING: unrecognized options: --disable-static |
23 |
-: ${XORG_STATIC:="yes"} |
24 |
- |
25 |
-# Add static-libs useflag where useful. |
26 |
-if [[ ${XORG_STATIC} == yes \ |
27 |
- && ${FONT} != yes \ |
28 |
- && ${CATEGORY} != app-doc \ |
29 |
- && ${CATEGORY} != x11-apps \ |
30 |
- && ${CATEGORY} != x11-drivers \ |
31 |
- && ${CATEGORY} != media-fonts \ |
32 |
- && ${PN} != util-macros \ |
33 |
- && ${PN} != xbitmaps \ |
34 |
- && ${PN} != xorg-cf-files \ |
35 |
- && ${PN/xcursor} = ${PN} ]]; then |
36 |
- IUSE+=" static-libs" |
37 |
-fi |
38 |
- |
39 |
BDEPEND+=" virtual/pkgconfig" |
40 |
|
41 |
# @ECLASS-VARIABLE: XORG_DRI |
42 |
-- |
43 |
2.26.2 |