summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-01-08 23:00:06 -0500
committerMatt Turner <mattst88@gentoo.org>2021-01-09 15:04:57 -0500
commit308f72c180cb88d285d9fc17e402e54f2a484dd5 (patch)
tree99c699f3528328f17bbb9808893f85afc5c04ed5 /eclass/xorg-3.eclass
parentxfce-base/xfwm4: Bump to 4.16.1 (diff)
downloadgentoo-308f72c180cb88d285d9fc17e402e54f2a484dd5.tar.gz
gentoo-308f72c180cb88d285d9fc17e402e54f2a484dd5.tar.bz2
gentoo-308f72c180cb88d285d9fc17e402e54f2a484dd5.zip
xorg-3.eclass: Remove XORG_STATIC
Statically linking X libraries into your program is an extremely bad idea. Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'eclass/xorg-3.eclass')
-rw-r--r--eclass/xorg-3.eclass22
1 files changed, 0 insertions, 22 deletions
diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index ece4d97b4339..399fc8661f4e 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -169,28 +169,6 @@ if [[ ${FONT} == yes ]]; then
FONT_DIR=${FONT_DIR/type1/Type1}
FONT_DIR=${FONT_DIR/speedo/Speedo}
fi
-
-# @ECLASS-VARIABLE: XORG_STATIC
-# @DESCRIPTION:
-# Enables static-libs useflag. Set to no, if your package gets:
-#
-# QA: configure: WARNING: unrecognized options: --disable-static
-: ${XORG_STATIC:="yes"}
-
-# Add static-libs useflag where useful.
-if [[ ${XORG_STATIC} == yes \
- && ${FONT} != yes \
- && ${CATEGORY} != app-doc \
- && ${CATEGORY} != x11-apps \
- && ${CATEGORY} != x11-drivers \
- && ${CATEGORY} != media-fonts \
- && ${PN} != util-macros \
- && ${PN} != xbitmaps \
- && ${PN} != xorg-cf-files \
- && ${PN/xcursor} = ${PN} ]]; then
- IUSE+=" static-libs"
-fi
-
BDEPEND+=" virtual/pkgconfig"
# @ECLASS-VARIABLE: XORG_DRI