diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-01-08 23:07:52 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-01-09 15:04:58 -0500 |
commit | 227dae79477f4c1110dad51b7a3671afe59319a9 (patch) | |
tree | 3e0f37051e2aa139fc2c9302ba0456aca6b331e4 /eclass/xorg-2.eclass | |
parent | xorg-3.eclass: Remove XORG_STATIC (diff) | |
download | gentoo-227dae79477f4c1110dad51b7a3671afe59319a9.tar.gz gentoo-227dae79477f4c1110dad51b7a3671afe59319a9.tar.bz2 gentoo-227dae79477f4c1110dad51b7a3671afe59319a9.zip |
xorg-2.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-2.eclass')
-rw-r--r-- | eclass/xorg-2.eclass | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index f3b282e1a111..f9a18b8ec266 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: xorg-2.eclass @@ -168,27 +168,6 @@ fi # If we're a driver package, then enable DRIVER case [[ ${PN} == xf86-video-* || ${PN} == xf86-input-* ]] && DRIVER="yes" -# @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 - DEPEND+=" virtual/pkgconfig" # @ECLASS-VARIABLE: XORG_DRI |