aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/0ad/Makefile4
-rw-r--r--games/3dc/Makefile2
-rw-r--r--games/3dpong/Makefile2
-rw-r--r--games/KnightCap/Makefile1
-rw-r--r--games/abuse_sdl/Makefile2
-rw-r--r--games/ace-of-penguins/Makefile2
-rw-r--r--games/acm/Makefile2
-rw-r--r--games/affenspiel/Makefile1
-rw-r--r--games/aisleriot/Makefile3
-rw-r--r--games/alephone/Makefile2
-rw-r--r--games/alienarena/Makefile2
-rw-r--r--games/allacrost/Makefile2
-rw-r--r--games/antipolix/Makefile2
-rw-r--r--games/apoolGL/Makefile2
-rw-r--r--games/arx-libertatis/Makefile2
-rw-r--r--games/asteroid/Makefile2
-rw-r--r--games/asteroids3d/Makefile2
-rw-r--r--games/asylum/Makefile2
-rw-r--r--games/atr3d/Makefile2
-rw-r--r--games/auralquiz/Makefile2
-rw-r--r--games/avoision/Makefile2
-rw-r--r--games/awele/Makefile2
-rw-r--r--games/battalion/Makefile2
-rw-r--r--games/billardgl/Makefile2
-rw-r--r--games/blockout/Makefile2
-rw-r--r--games/brainparty/Makefile2
-rw-r--r--games/brutalchess/Makefile4
-rw-r--r--games/bubbros/Makefile2
-rw-r--r--games/bugsx/Makefile2
-rw-r--r--games/burrtools/Makefile2
-rw-r--r--games/bzflag/Makefile2
-rw-r--r--games/cake/Makefile2
-rw-r--r--games/caph/Makefile2
-rw-r--r--games/cave9/Makefile2
-rw-r--r--games/cgoban/Makefile1
-rw-r--r--games/chromium-bsu/Makefile2
-rw-r--r--games/connectagram/Makefile2
-rw-r--r--games/connectfive/Makefile2
-rw-r--r--games/construo/Makefile2
-rw-r--r--games/cosmo/Makefile2
-rw-r--r--games/crack-attack/Makefile2
-rw-r--r--games/craft/Makefile2
-rw-r--r--games/cretan-hubris/Makefile2
-rw-r--r--games/criticalmass/Makefile2
-rw-r--r--games/critterding/Makefile2
-rw-r--r--games/crrcsim/Makefile2
-rw-r--r--games/csmash/Makefile2
-rw-r--r--games/cultivation/Makefile2
-rw-r--r--games/cutemaze/Makefile2
-rw-r--r--games/cuyo/Makefile2
-rw-r--r--games/dangerdeep/Makefile2
-rw-r--r--games/darkplaces/Makefile4
-rw-r--r--games/diameter/Makefile3
-rw-r--r--games/doom/Makefile2
-rw-r--r--games/doomlegacy/Makefile2
-rw-r--r--games/doomsday/Makefile2
-rw-r--r--games/duel/Makefile2
-rw-r--r--games/easyrpg-player/Makefile3
-rw-r--r--games/edge/Makefile2
-rw-r--r--games/editss/Makefile2
-rw-r--r--games/eduke32/Makefile2
-rw-r--r--games/egl/Makefile2
-rw-r--r--games/el/Makefile2
-rw-r--r--games/ensemblist/Makefile2
-rw-r--r--games/excido/Makefile2
-rw-r--r--games/exult/Makefile2
-rw-r--r--games/f1spirit-remake/Makefile2
-rw-r--r--games/falconseye/Makefile2
-rw-r--r--games/fbg2/Makefile2
-rw-r--r--games/fishsupper/Makefile2
-rw-r--r--games/fkiss/Makefile2
-rw-r--r--games/flying/Makefile2
-rw-r--r--games/foobillard/Makefile4
-rw-r--r--games/four-in-a-row/Makefile2
-rw-r--r--games/freedroidrpg/Makefile3
-rw-r--r--games/freetennis/Makefile2
-rw-r--r--games/frogatto/Makefile2
-rw-r--r--games/gl-117/Makefile2
-rw-r--r--games/glaxium/Makefile2
-rw-r--r--games/glest/Makefile2
-rw-r--r--games/glightoff/Makefile2
-rw-r--r--games/glmaze/Makefile1
-rw-r--r--games/glob2/Makefile2
-rw-r--r--games/glsfcave/Makefile2
-rw-r--r--games/gltron/Makefile2
-rw-r--r--games/gnome-2048/Makefile2
-rw-r--r--games/gnome-chess/Makefile2
-rw-r--r--games/gnome-nibbles/Makefile4
-rw-r--r--games/gnome-robots/Makefile2
-rw-r--r--games/gnome-taquin/Makefile2
-rw-r--r--games/gnubg/Makefile3
-rw-r--r--games/gnujump/Makefile2
-rw-r--r--games/golddig/Makefile1
-rw-r--r--games/goonies/Makefile2
-rw-r--r--games/gottet/Makefile2
-rw-r--r--games/gracer/Makefile2
-rw-r--r--games/iagno/Makefile2
-rw-r--r--games/icbm3d/Makefile1
-rw-r--r--games/ioquake3/Makefile1
-rw-r--r--games/ishido/Makefile3
-rw-r--r--games/jigzo/Makefile2
-rw-r--r--games/joequake/Makefile3
-rw-r--r--games/jvgs/Makefile2
-rw-r--r--games/keeperrl/Makefile2
-rw-r--r--games/kiki/Makefile2
-rw-r--r--games/ksudoku/Makefile2
-rw-r--r--games/kubrick/Makefile2
-rw-r--r--games/lander/Makefile2
-rw-r--r--games/libshhcards/Makefile1
-rw-r--r--games/lightsoff/Makefile4
-rw-r--r--games/lincity-ng/Makefile2
-rw-r--r--games/lincity/Makefile1
-rw-r--r--games/lugaru/Makefile2
-rw-r--r--games/lwjgl/Makefile2
-rw-r--r--games/macopix/Makefile2
-rw-r--r--games/maelstrom/Makefile1
-rw-r--r--games/magiccube4d/Makefile1
-rw-r--r--games/manaplus/Makefile2
-rw-r--r--games/marsnomercy/Makefile2
-rw-r--r--games/megaglest/Makefile2
-rw-r--r--games/megamario/Makefile2
-rw-r--r--games/memonix/Makefile2
-rw-r--r--games/mindfocus/Makefile2
-rw-r--r--games/motogt/Makefile2
-rw-r--r--games/nadar/Makefile1
-rw-r--r--games/naev/Makefile3
-rw-r--r--games/nehquake/Makefile3
-rw-r--r--games/nethack32/Makefile2
-rw-r--r--games/nethack33/Makefile1
-rw-r--r--games/nethack34/Makefile1
-rw-r--r--games/nethack36/Makefile1
-rw-r--r--games/netherearth/Makefile2
-rw-r--r--games/netradiant/Makefile2
-rw-r--r--games/netwalk/Makefile2
-rw-r--r--games/neverball/Makefile2
-rw-r--r--games/nexuiz/Makefile2
-rw-r--r--games/nighthawk/Makefile2
-rw-r--r--games/numptyphysics/Makefile2
-rw-r--r--games/oneko-sakura/Makefile2
-rw-r--r--games/oneko/Makefile1
-rw-r--r--games/oolite/Makefile3
-rw-r--r--games/oonsoo/Makefile1
-rw-r--r--games/openage/Makefile2
-rw-r--r--games/opencity/Makefile2
-rw-r--r--games/openclonk/Makefile3
-rw-r--r--games/openjk/Makefile2
-rw-r--r--games/openssn/Makefile1
-rw-r--r--games/osgg/Makefile1
-rw-r--r--games/phlipple/Makefile2
-rw-r--r--games/pinball/Makefile2
-rw-r--r--games/pink-pony/Makefile2
-rw-r--r--games/pipewalker/Makefile2
-rw-r--r--games/pmars/Makefile1
-rw-r--r--games/pouetchess/Makefile2
-rw-r--r--games/powermanga/Makefile2
-rw-r--r--games/py-fife/Makefile2
-rw-r--r--games/q2p/Makefile5
-rw-r--r--games/q2pro/Makefile3
-rw-r--r--games/q3cellshading/Makefile3
-rw-r--r--games/quadra/Makefile2
-rw-r--r--games/quadrapassel/Makefile4
-rw-r--r--games/quake2lnx/Makefile7
-rw-r--r--games/quake2max/Makefile5
-rw-r--r--games/quake3/Makefile3
-rw-r--r--games/qudos/Makefile3
-rw-r--r--games/quetoo/Makefile4
-rw-r--r--games/r1q2/Makefile2
-rw-r--r--games/renpy/Makefile2
-rw-r--r--games/retroarch/Makefile4
-rw-r--r--games/rlvm/Makefile2
-rw-r--r--games/rubix/Makefile2
-rw-r--r--games/sarien/Makefile2
-rw-r--r--games/scorched3d/Makefile4
-rw-r--r--games/scourge/Makefile2
-rw-r--r--games/sdb/Makefile2
-rw-r--r--games/sea-defender/Makefile2
-rw-r--r--games/seahaven/Makefile1
-rw-r--r--games/searchandrescue/Makefile3
-rw-r--r--games/shaaft/Makefile2
-rw-r--r--games/shootingstar/Makefile2
-rw-r--r--games/simplevaders/Makefile2
-rw-r--r--games/slune/Makefile2
-rw-r--r--games/sol/Makefile2
-rw-r--r--games/solarconquest/Makefile2
-rw-r--r--games/spacezero/Makefile2
-rw-r--r--games/spellcast/Makefile1
-rw-r--r--games/spider/Makefile2
-rw-r--r--games/spring/Makefile3
-rw-r--r--games/steelstorm/Makefile2
-rw-r--r--games/supertux/Makefile2
-rw-r--r--games/sxsame/Makefile2
-rw-r--r--games/tanglet/Makefile2
-rw-r--r--games/tenebrae/Makefile2
-rw-r--r--games/tetrons/Makefile1
-rw-r--r--games/thegrind/Makefile2
-rw-r--r--games/tomatoes/Makefile2
-rw-r--r--games/torcs/Makefile2
-rw-r--r--games/traingame/Makefile2
-rw-r--r--games/tremulous/Makefile3
-rw-r--r--games/trenchbroom/Makefile2
-rw-r--r--games/tux-aqfh/Makefile2
-rw-r--r--games/tuxkart/Makefile2
-rw-r--r--games/tuxracer/Makefile2
-rw-r--r--games/ufoai/Makefile5
-rw-r--r--games/uhexen2/Makefile2
-rw-r--r--games/ultimatestunts/Makefile2
-rw-r--r--games/valyriatear/Makefile2
-rw-r--r--games/vamos/Makefile2
-rw-r--r--games/vegastrike/Makefile3
-rw-r--r--games/wargus/Makefile2
-rw-r--r--games/warzone2100/Makefile2
-rw-r--r--games/wesnoth/Makefile4
-rw-r--r--games/wmqstat/Makefile1
-rw-r--r--games/wmtictactoe/Makefile2
-rw-r--r--games/worldofpadman/Makefile1
-rw-r--r--games/xasteroids/Makefile1
-rw-r--r--games/xataxx/Makefile2
-rw-r--r--games/xbat/Makefile2
-rw-r--r--games/xbill/Makefile1
-rw-r--r--games/xbl/Makefile1
-rw-r--r--games/xblood/Makefile1
-rw-r--r--games/xboard/Makefile4
-rw-r--r--games/xboing/Makefile2
-rw-r--r--games/xbomb/Makefile2
-rw-r--r--games/xbubble/Makefile2
-rw-r--r--games/xchadance/Makefile2
-rw-r--r--games/xcheckers/Makefile2
-rw-r--r--games/xchomp/Makefile2
-rw-r--r--games/xconq/Makefile3
-rw-r--r--games/xcubes/Makefile2
-rw-r--r--games/xdeblock/Makefile2
-rw-r--r--games/xdemineur/Makefile2
-rw-r--r--games/xdesktopwaves/Makefile1
-rw-r--r--games/xdigger/Makefile2
-rw-r--r--games/xdino/Makefile2
-rw-r--r--games/xevil/Makefile2
-rw-r--r--games/xeyesplus/Makefile1
-rw-r--r--games/xfireworks/Makefile1
-rw-r--r--games/xfrisk/Makefile2
-rw-r--r--games/xgalaga++/Makefile2
-rw-r--r--games/xgalaga/Makefile2
-rw-r--r--games/xglk/Makefile2
-rw-r--r--games/xhexagons/Makefile2
-rw-r--r--games/xhime/Makefile2
-rw-r--r--games/xinfocom/Makefile2
-rw-r--r--games/xinvaders/Makefile2
-rw-r--r--games/xisola/Makefile2
-rw-r--r--games/xjewel/Makefile2
-rw-r--r--games/xjig/Makefile2
-rw-r--r--games/xjump/Makefile1
-rw-r--r--games/xjumpx/Makefile1
-rw-r--r--games/xkoules/Makefile2
-rw-r--r--games/xlaby/Makefile2
-rw-r--r--games/xlife/Makefile2
-rw-r--r--games/xmahjongg/Makefile1
-rw-r--r--games/xmastermind/Makefile1
-rw-r--r--games/xmball/Makefile2
-rw-r--r--games/xmemory/Makefile2
-rw-r--r--games/xmille/Makefile2
-rw-r--r--games/xmine/Makefile2
-rw-r--r--games/xminehunter/Makefile2
-rw-r--r--games/xmines/Makefile1
-rw-r--r--games/xminesweep/Makefile2
-rw-r--r--games/xmlink/Makefile2
-rw-r--r--games/xmris/Makefile2
-rw-r--r--games/xmulti/Makefile2
-rw-r--r--games/xneko/Makefile2
-rw-r--r--games/xoct/Makefile2
-rw-r--r--games/xoids/Makefile2
-rw-r--r--games/xoj/Makefile2
-rw-r--r--games/xorgramana/Makefile2
-rw-r--r--games/xosmulti/Makefile1
-rw-r--r--games/xpanex/Makefile2
-rw-r--r--games/xpat2/Makefile2
-rw-r--r--games/xpenguins/Makefile1
-rw-r--r--games/xpilot/Makefile2
-rw-r--r--games/xpipeman/Makefile2
-rw-r--r--games/xpuzzletama/Makefile2
-rw-r--r--games/xpyraminx/Makefile2
-rw-r--r--games/xqf/Makefile2
-rw-r--r--games/xrally/Makefile2
-rw-r--r--games/xrisk/Makefile2
-rw-r--r--games/xroach/Makefile2
-rw-r--r--games/xrobots/Makefile2
-rw-r--r--games/xrot/Makefile2
-rw-r--r--games/xrubik/Makefile2
-rw-r--r--games/xsc/Makefile2
-rw-r--r--games/xscavenger/Makefile2
-rw-r--r--games/xscrabble/Makefile2
-rw-r--r--games/xshisen/Makefile1
-rw-r--r--games/xshogi/Makefile1
-rw-r--r--games/xskat/Makefile1
-rw-r--r--games/xskewb/Makefile2
-rw-r--r--games/xsokoban/Makefile2
-rw-r--r--games/xsoldier/Makefile1
-rw-r--r--games/xspacewarp/Makefile2
-rw-r--r--games/xspringies/Makefile1
-rw-r--r--games/xtet42/Makefile1
-rw-r--r--games/xtic/Makefile2
-rw-r--r--games/xtriangles/Makefile2
-rw-r--r--games/xtris/Makefile1
-rw-r--r--games/xtrojka/Makefile1
-rw-r--r--games/xtron/Makefile1
-rw-r--r--games/xtruco/Makefile1
-rw-r--r--games/xtux/Makefile2
-rw-r--r--games/xvier/Makefile2
-rw-r--r--games/xvmines/Makefile2
-rw-r--r--games/xworm/Makefile1
-rw-r--r--games/xzip/Makefile1
-rw-r--r--games/yadex/Makefile2
-rw-r--r--games/zoom/Makefile2
-rw-r--r--graphics/4va/Makefile2
-rw-r--r--graphics/Coin/Makefile2
-rw-r--r--graphics/EZWGL/Makefile2
-rw-r--r--graphics/agg/Makefile2
-rw-r--r--graphics/argyllcms/Makefile2
-rw-r--r--graphics/aseprite/Makefile3
-rw-r--r--graphics/atril/Makefile2
-rw-r--r--graphics/azpainter/Makefile2
-rw-r--r--graphics/backfract/Makefile1
-rw-r--r--graphics/blender/Makefile2
-rw-r--r--graphics/bugle/Makefile3
-rw-r--r--graphics/cairo/Makefile2
-rw-r--r--graphics/cairomm/Makefile2
-rw-r--r--graphics/clutter-gtk3/Makefile2
-rw-r--r--graphics/clutter/Makefile3
-rw-r--r--graphics/cogl/Makefile3
-rw-r--r--graphics/colmap/Makefile3
-rw-r--r--graphics/darktable/Makefile2
-rw-r--r--graphics/dataplot/Makefile2
-rw-r--r--graphics/diffpdf/Makefile2
-rw-r--r--graphics/digikam/Makefile4
-rw-r--r--graphics/djview4/Makefile4
-rw-r--r--graphics/driconf/Makefile2
-rw-r--r--graphics/dynamechs/Makefile2
-rw-r--r--graphics/electricsheep/Makefile3
-rw-r--r--graphics/entangle/Makefile2
-rw-r--r--graphics/eog/Makefile3
-rw-r--r--graphics/eom/Makefile2
-rw-r--r--graphics/evince/Makefile2
-rw-r--r--graphics/evolvotron/Makefile2
-rw-r--r--graphics/exact-image/Makefile2
-rw-r--r--graphics/exiftran/Makefile2
-rw-r--r--graphics/feh/Makefile2
-rw-r--r--graphics/figurine/Makefile1
-rw-r--r--graphics/flphoto/Makefile2
-rw-r--r--graphics/fraqtive/Makefile2
-rw-r--r--graphics/ftgl/Makefile2
-rw-r--r--graphics/fv/Makefile2
-rw-r--r--graphics/g2/Makefile1
-rw-r--r--graphics/gauche-gl/Makefile2
-rw-r--r--graphics/geomorph/Makefile2
-rw-r--r--graphics/geomview/Makefile2
-rw-r--r--graphics/gimageview/Makefile2
-rw-r--r--graphics/gimp-app/Makefile2
-rw-r--r--graphics/gimp-beautify-plugin/Makefile2
-rw-r--r--graphics/gimp-gmic-plugin/Makefile2
-rw-r--r--graphics/gle/Makefile2
-rw-r--r--graphics/glexcess/Makefile1
-rw-r--r--graphics/glfw/Makefile3
-rw-r--r--graphics/glfw2/Makefile2
-rw-r--r--graphics/glosm/Makefile2
-rw-r--r--graphics/glpng/Makefile2
-rw-r--r--graphics/gltt/Makefile2
-rw-r--r--graphics/gmic-qt/Makefile2
-rw-r--r--graphics/gnash/Makefile4
-rw-r--r--graphics/gpicview/Makefile4
-rw-r--r--graphics/grx/Makefile2
-rw-r--r--graphics/gsculpt/Makefile2
-rw-r--r--graphics/gstreamer-plugins-gl/Makefile2
-rw-r--r--graphics/gthumb/Makefile4
-rw-r--r--graphics/gtk-update-icon-cache/Makefile3
-rw-r--r--graphics/hugin/Makefile2
-rw-r--r--graphics/ida/Makefile2
-rw-r--r--graphics/iiview/Makefile2
-rw-r--r--graphics/imlib2_loaders/Makefile2
-rw-r--r--graphics/inkscape/Makefile2
-rw-r--r--graphics/instant-meshes/Makefile3
-rw-r--r--graphics/jogamp-jogl/Makefile2
-rw-r--r--graphics/jogl/Makefile2
-rw-r--r--graphics/kludge3d/Makefile2
-rw-r--r--graphics/kudu/Makefile2
-rw-r--r--graphics/kxstitch/Makefile3
-rw-r--r--graphics/lazpaint/Makefile2
-rw-r--r--graphics/lfview/Makefile2
-rw-r--r--graphics/lib3ds/Makefile2
-rw-r--r--graphics/libafterimage/Makefile2
-rw-r--r--graphics/libchamplain/Makefile4
-rw-r--r--graphics/libgfx/Makefile2
-rw-r--r--graphics/libgltext/Makefile2
-rw-r--r--graphics/libgltf/Makefile2
-rw-r--r--graphics/libimg/Makefile2
-rw-r--r--graphics/liblug/Makefile1
-rw-r--r--graphics/libreatlas/Makefile3
-rw-r--r--graphics/libvisual04-plugins/Makefile2
-rw-r--r--graphics/lightzone/Makefile2
-rw-r--r--graphics/lximage-qt/Makefile2
-rw-r--r--graphics/magnum-examples/Makefile2
-rw-r--r--graphics/magnum/Makefile2
-rw-r--r--graphics/maim/Makefile2
-rw-r--r--graphics/mhgui/Makefile2
-rw-r--r--graphics/mupdf/Makefile2
-rw-r--r--graphics/mxp/Makefile1
-rw-r--r--graphics/ocaml-images/Makefile1
-rw-r--r--graphics/ocaml-lablgl/Makefile2
-rw-r--r--graphics/ogre3d/Makefile2
-rw-r--r--graphics/ogre3d19/Makefile2
-rw-r--r--graphics/open3d/Makefile3
-rw-r--r--graphics/opencolorio/Makefile1
-rw-r--r--graphics/opencsg/Makefile2
-rw-r--r--graphics/openfx-arena/Makefile2
-rw-r--r--graphics/openfx-misc/Makefile2
-rw-r--r--graphics/openrm/Makefile2
-rw-r--r--graphics/opensubdiv/Makefile4
-rw-r--r--graphics/oyranos/Makefile3
-rw-r--r--graphics/p5-OpenGL/Makefile2
-rw-r--r--graphics/p5-PGPLOT/Makefile2
-rw-r--r--graphics/panoglview/Makefile2
-rw-r--r--graphics/partio/Makefile2
-rw-r--r--graphics/pcl-pointclouds/Makefile2
-rw-r--r--graphics/pgplot/Makefile2
-rw-r--r--graphics/pinpoint/Makefile2
-rw-r--r--graphics/pixie/Makefile2
-rw-r--r--graphics/plotutils/Makefile2
-rw-r--r--graphics/povray36/Makefile2
-rw-r--r--graphics/pqiv/Makefile2
-rw-r--r--graphics/py-PyOpenGL/Makefile2
-rw-r--r--graphics/py-glewpy/Makefile2
-rw-r--r--graphics/py-qt5-svg/Makefile2
-rw-r--r--graphics/py-soya3d/Makefile2
-rw-r--r--graphics/qiv/Makefile2
-rw-r--r--graphics/qt5-wayland/Makefile2
-rw-r--r--graphics/quat-gui/Makefile1
-rw-r--r--graphics/quesa/Makefile2
-rw-r--r--graphics/quesoglc/Makefile2
-rw-r--r--graphics/radius-engine/Makefile2
-rw-r--r--graphics/reallyslick/Makefile2
-rw-r--r--graphics/ruby-gd/Makefile1
-rw-r--r--graphics/rubygem-opengl/Makefile2
-rw-r--r--graphics/sage/Makefile2
-rw-r--r--graphics/scrot/Makefile2
-rw-r--r--graphics/sdl_ttf/Makefile2
-rw-r--r--graphics/seom/Makefile2
-rw-r--r--graphics/sharpconstruct/Makefile2
-rw-r--r--graphics/shotwell/Makefile2
-rw-r--r--graphics/simpleviewer/Makefile3
-rw-r--r--graphics/swftools/Makefile2
-rw-r--r--graphics/sxiv/Makefile2
-rw-r--r--graphics/telak/Makefile2
-rw-r--r--graphics/tgif/Makefile2
-rw-r--r--graphics/togl/Makefile2
-rw-r--r--graphics/urt/Makefile2
-rw-r--r--graphics/vcg/Makefile2
-rw-r--r--graphics/vv/Makefile2
-rw-r--r--graphics/xbmbrowser/Makefile2
-rw-r--r--graphics/xd3d/Makefile2
-rw-r--r--graphics/xdgagrab/Makefile1
-rw-r--r--graphics/xfig/Makefile2
-rw-r--r--graphics/xfpovray/Makefile2
-rw-r--r--graphics/xfractint/Makefile2
-rw-r--r--graphics/xglurbules/Makefile1
-rw-r--r--graphics/xgrasp/Makefile2
-rw-r--r--graphics/xli/Makefile2
-rw-r--r--graphics/xmountains/Makefile1
-rw-r--r--graphics/xoris/Makefile2
-rw-r--r--graphics/xournal/Makefile2
-rw-r--r--graphics/xpaint/Makefile4
-rw-r--r--graphics/xpx/Makefile2
-rw-r--r--graphics/xsvg/Makefile2
-rw-r--r--graphics/xtexcad/Makefile2
-rw-r--r--graphics/xv/Makefile2
-rw-r--r--graphics/xwpick/Makefile2
-rw-r--r--graphics/xzgv/Makefile2
-rw-r--r--graphics/yukon/Makefile2
474 files changed, 547 insertions, 426 deletions
diff --git a/games/0ad/Makefile b/games/0ad/Makefile
index bbe69e0cdc1a..fb84c020c366 100644
--- a/games/0ad/Makefile
+++ b/games/0ad/Makefile
@@ -27,8 +27,8 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libtiff.so:graphics/tiff \
libsodium.so:security/libsodium
-USES= compiler:c++11-lib desktop-file-utils dos2unix gl gmake gnome iconv \
- jpeg openal:al pkgconfig python:2.7,build sdl tar:xz
+USES= compiler:c++11-lib desktop-file-utils dos2unix gl gmake gnome \
+ iconv jpeg openal:al pkgconfig python:2.7,build sdl tar:xz xorg
USE_GNOME= libxml2
USE_GL= gl
USE_SDL= sdl2
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 908b296ccc34..50f1bec89e00 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/../GPL
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
-USES= perl5
+USES= perl5 xorg
USE_PERL5= build
USE_XORG= x11 xaw xext xmu xpm xt
WRKSRC= ${WRKDIR}/3Dc/src
diff --git a/games/3dpong/Makefile b/games/3dpong/Makefile
index eb903982e713..071e9fe43c20 100644
--- a/games/3dpong/Makefile
+++ b/games/3dpong/Makefile
@@ -18,7 +18,7 @@ COMMENT= X Window 3D Pong game for 1 or 2 players
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
-USES= gmake
+USES= gmake xorg
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
XLIB="-L${LOCALBASE}/lib -lX11"
diff --git a/games/KnightCap/Makefile b/games/KnightCap/Makefile
index b330a944c63d..54383f3ea24b 100644
--- a/games/KnightCap/Makefile
+++ b/games/KnightCap/Makefile
@@ -14,6 +14,7 @@ COMMENT= Chess program with 3D interface for X Window System
WRKSRC= ${WRKDIR}/Export
+USES= gl xorg
USE_XORG= xmu xt xext x11 xi
USE_GL= glut
ALL_TARGET= KnightCap
diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile
index 68f9bb4039a6..e7e1e2fc9b90 100644
--- a/games/abuse_sdl/Makefile
+++ b/games/abuse_sdl/Makefile
@@ -14,7 +14,7 @@ COMMENT= SDL port of the Abuse game engine
LICENSE= GPLv2
-USES= pathfix
+USES= pathfix gl sdl
USE_GL= gl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
diff --git a/games/ace-of-penguins/Makefile b/games/ace-of-penguins/Makefile
index 99afb17a3bcb..608207cf61e7 100644
--- a/games/ace-of-penguins/Makefile
+++ b/games/ace-of-penguins/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=ace-
-USES= gmake libtool localbase:ldflags
+USES= gmake libtool localbase:ldflags xorg
USE_XORG= x11 xpm
INSTALL_TARGET= install-strip
diff --git a/games/acm/Makefile b/games/acm/Makefile
index 696dfc034852..8c5c4f76d7c7 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -13,7 +13,7 @@ COMMENT= Aerial combat simulator for X11
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= perl5
+USES= perl5 xorg
USE_PERL5= build
USE_XORG= x11 xext
HAS_CONFIGURE= yes
diff --git a/games/affenspiel/Makefile b/games/affenspiel/Makefile
index f980432a734d..1caccdbab8dc 100644
--- a/games/affenspiel/Makefile
+++ b/games/affenspiel/Makefile
@@ -17,6 +17,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= xorg
USE_XORG= x11 xt
MAKE_ARGS= CC="${CC}" LIBS="-L${LOCALBASE}/lib -lX11" \
diff --git a/games/aisleriot/Makefile b/games/aisleriot/Makefile
index ab42af2468f2..3f8690cece77 100644
--- a/games/aisleriot/Makefile
+++ b/games/aisleriot/Makefile
@@ -21,7 +21,8 @@ LIB_DEPENDS= libguile-2.2.so:lang/guile2 \
CONFLICTS_INSTALL= sol-[0-9]*
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
+USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig \
+ tar:xz xorg
USE_GNOME= cairo gconf2 gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 0dd18aa95c06..cfc505b5e5c1 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -13,7 +13,7 @@ COMMENT= The open source version of Bungie's Marathon game
BUILD_DEPENDS= ${LOCALBASE}/include/boost/function.hpp:devel/boost-libs
-USES= compiler:c++11-lang gmake localbase pkgconfig tar:bzip2
+USES= compiler:c++11-lang gl gmake localbase pkgconfig sdl tar:bzip2
USE_CXXSTD= gnu++98
USE_SDL= image net sdl ttf
USE_GL= yes
diff --git a/games/alienarena/Makefile b/games/alienarena/Makefile
index 371b0927f110..c9d3235c9332 100644
--- a/games/alienarena/Makefile
+++ b/games/alienarena/Makefile
@@ -48,7 +48,7 @@ LIBDIR= ${PREFIX}/lib/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
-USES+= jpeg openal:soft,alut pkgconfig
+USES+= gl jpeg openal:soft,alut pkgconfig xorg
LIB_DEPENDS+= libcurl.so:ftp/curl \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png \
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile
index 176b389005ec..34e597d6146a 100644
--- a/games/allacrost/Makefile
+++ b/games/allacrost/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libboost_thread.so:devel/boost-libs
GNU_CONFIGURE= yes
-USES= gettext gmake iconv jpeg localbase lua:51 openal:al
+USES= gettext gl gmake iconv jpeg localbase lua:51 openal:al sdl xorg
USE_SDL= sdl ttf net
USE_GL= gl glu
USE_XORG= x11
diff --git a/games/antipolix/Makefile b/games/antipolix/Makefile
index ce83fbdf2dc6..c7e3836cede3 100644
--- a/games/antipolix/Makefile
+++ b/games/antipolix/Makefile
@@ -15,7 +15,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
NO_WRKSUBDIR= yes
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= x11
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/games/apoolGL/Makefile b/games/apoolGL/Makefile
index 913d61a04582..e4ea7022b14a 100644
--- a/games/apoolGL/Makefile
+++ b/games/apoolGL/Makefile
@@ -13,9 +13,9 @@ COMMENT= Another billiards simulator
LICENSE= GPLv2+
+USES= dos2unix gl sdl
USE_SDL= sdl
USE_GL= gl
-USES= dos2unix
DOS2UNIX_FILES= ApoolGL.txt
PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features
diff --git a/games/arx-libertatis/Makefile b/games/arx-libertatis/Makefile
index 3336e817a3d4..cd92d05b5767 100644
--- a/games/arx-libertatis/Makefile
+++ b/games/arx-libertatis/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/ARX_PUBLIC_LICENSE.txt
LIB_DEPENDS= libfreetype.so:print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/foreach.hpp:devel/boost-libs
-USES= cmake openal tar:xz
+USES= cmake gl openal sdl tar:xz
USE_SDL= sdl
USE_GL= gl glew
LLD_UNSAFE= yes
diff --git a/games/asteroid/Makefile b/games/asteroid/Makefile
index aec37b0c5ae1..a73aeb3c937a 100644
--- a/games/asteroid/Makefile
+++ b/games/asteroid/Makefile
@@ -16,7 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= chazomaticus
GH_TAGNAME= 64869df
-USES= cmake
+USES= cmake gl gnome sdl xorg
USE_GL= gl glu glut
USE_SDL= mixer sdl
USE_GNOME= gtk30
diff --git a/games/asteroids3d/Makefile b/games/asteroids3d/Makefile
index d2ac665b0b74..917c929433ec 100644
--- a/games/asteroids3d/Makefile
+++ b/games/asteroids3d/Makefile
@@ -17,7 +17,7 @@ COMMENT= First-person shooter blowing up asteroids in 3D space
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-USES= autoreconf tar:bzip2
+USES= autoreconf gl tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ENV= with_gamesdir="${PREFIX}/bin" with_gamedatadir="${DATADIR}"
USE_GL= glut
diff --git a/games/asylum/Makefile b/games/asylum/Makefile
index 8a76b0f85a18..d5404126fb5a 100644
--- a/games/asylum/Makefile
+++ b/games/asylum/Makefile
@@ -13,7 +13,7 @@ COMMENT= Surreal platform shooting game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gl gmake sdl
USE_SDL= sdl mixer
ALL_TARGET= build
USE_GL= gl glu
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index b7912918b5df..f86e0c506bb4 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= autoreconf gmake perl5 tar:tgz
+USES= autoreconf gl gmake perl5 tar:tgz xorg
USE_GL= glut glu
USE_XORG= xmu xi x11
USE_PERL5= build
diff --git a/games/auralquiz/Makefile b/games/auralquiz/Makefile
index c4fae233349c..939f352c075a 100644
--- a/games/auralquiz/Makefile
+++ b/games/auralquiz/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libtag.so:audio/taglib
-USES= compiler:c++11-lang qmake qt:5
+USES= compiler:c++11-lang gl qmake qt:5
USE_GL= gl
USE_QT= core gui widgets phonon4 qmake_build buildtools_build
diff --git a/games/avoision/Makefile b/games/avoision/Makefile
index a141d8e43f20..21a86a70ad4a 100644
--- a/games/avoision/Makefile
+++ b/games/avoision/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/awele/Makefile b/games/awele/Makefile
index 75ef3af6212a..611984881232 100644
--- a/games/awele/Makefile
+++ b/games/awele/Makefile
@@ -13,7 +13,7 @@ COMMENT= African board game
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake tk tar:tgz
+USES= imake tk tar:tgz xorg
USE_XORG= x11
MAKE_ARGS= AWELE_DIR=${STAGEDIR}${PREFIX}/bin
diff --git a/games/battalion/Makefile b/games/battalion/Makefile
index bcca093a5e49..772ae3de5312 100644
--- a/games/battalion/Makefile
+++ b/games/battalion/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/README
# non-commercial and prohibits distribution of modified versions
LICENSE_PERMS= dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
-USES= tar:bzip2 localbase
+USES= gl localbase tar:bzip2 xorg
USE_GL= gl glu
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}"
diff --git a/games/billardgl/Makefile b/games/billardgl/Makefile
index 44c97f1b4a7a..2a49387741e4 100644
--- a/games/billardgl/Makefile
+++ b/games/billardgl/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2 # from website
WRKSRC_SUBDIR= src
-USES= dos2unix
+USES= dos2unix gl xorg
DOS2UNIX_FILES= Makefile bmp.cpp
USE_GL= gl glu glut
USE_XORG= x11 xext xmu xi
diff --git a/games/blockout/Makefile b/games/blockout/Makefile
index 55c7ceaecb8e..0d7869f57cee 100644
--- a/games/blockout/Makefile
+++ b/games/blockout/Makefile
@@ -16,8 +16,8 @@ LICENSE= GPLv2+
ONLY_FOR_ARCHS= i386 amd64
+USES= dos2unix gl gmake sdl
USE_SDL= mixer sdl
-USES= gmake dos2unix
DOS2UNIX_FILES= ImageLib/src/gif/gif.h \
ImageLib/src/gif/gif.cpp BlockOut/*.cpp \
ImageLib/src/png/hpng.c
diff --git a/games/brainparty/Makefile b/games/brainparty/Makefile
index 887cef2ac1fe..9a225d4a2c4e 100644
--- a/games/brainparty/Makefile
+++ b/games/brainparty/Makefile
@@ -15,7 +15,7 @@ COMMENT= Family-friendly set of 36 puzzle games
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler gmake
+USES= compiler gl gmake sdl
USE_SDL= sdl mixer ttf gfx image
USE_GL= gl glu
diff --git a/games/brutalchess/Makefile b/games/brutalchess/Makefile
index b7f1b6ed17c0..288fd23ae7f4 100644
--- a/games/brutalchess/Makefile
+++ b/games/brutalchess/Makefile
@@ -14,12 +14,12 @@ MAINTAINER= gustau.perez@gmail.com
COMMENT= Nice looking OpenGL chess game
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_XORG= x11 xext xt xmu xi
GNU_CONFIGURE= yes
-USES= dos2unix gmake libtool
+USES= dos2unix gl gmake libtool sdl xorg
USE_GL= yes
USE_SDL= sdl image
+USE_XORG= x11 xext xt xmu xi
INSTALL_TARGET= install-strip
pre-build:
diff --git a/games/bubbros/Makefile b/games/bubbros/Makefile
index 5a41200726c8..53387bb6be80 100644
--- a/games/bubbros/Makefile
+++ b/games/bubbros/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYGAME}
BUILD_DEPENDS= ${PYGAME}
-USES= python:2.7 shebangfix
+USES= python:2.7 shebangfix xorg
SHEBANG_FILES= BubBob.py
USE_XORG= x11 xext
diff --git a/games/bugsx/Makefile b/games/bugsx/Makefile
index c92a2214a37c..b5bea6303b90 100644
--- a/games/bugsx/Makefile
+++ b/games/bugsx/Makefile
@@ -13,7 +13,7 @@ COMMENT= Breed bugs using genetic algorithms
LICENSE= GPLv1
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/bugsx
PLIST_FILES= bin/bugsx man/man1/bugsx.1.gz
diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile
index 3a43b2bb0fa1..d375bf375ecc 100644
--- a/games/burrtools/Makefile
+++ b/games/burrtools/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpng.so:graphics/png \
libfltk.so:x11-toolkits/fltk
-USES= gmake localbase lua:51
+USES= gl gmake localbase lua:51
USE_GL= gl glu
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_lib_ICE_IceConnectionNumber="no" \
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile
index f0491973114c..2c35f0ee1897 100644
--- a/games/bzflag/Makefile
+++ b/games/bzflag/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libcares.so:dns/c-ares
GNU_CONFIGURE= yes
-USES= compiler:c++11-lib libtool localbase tar:bzip2
+USES= compiler:c++11-lib gl libtool localbase sdl tar:bzip2 xorg
INSTALL_TARGET= install-strip
.ifndef SERVER_ONLY
diff --git a/games/cake/Makefile b/games/cake/Makefile
index cf0bb5bc443b..43f4d8e7ba23 100644
--- a/games/cake/Makefile
+++ b/games/cake/Makefile
@@ -13,7 +13,7 @@ COMMENT= Quake3 map viewer (and powerful 3D game engine)
LICENSE= GPLv2
-USES= gmake jpeg ncurses zip
+USES= gl gmake jpeg ncurses xorg zip
USE_GL= glut
USE_XORG= x11 xext xmu xt xi sm ice
diff --git a/games/caph/Makefile b/games/caph/Makefile
index 50244b6e93f3..8f0850eeb65a 100644
--- a/games/caph/Makefile
+++ b/games/caph/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/doc/caph/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= tar:bzip2 iconv
+USES= gl iconv sdl tar:bzip2
USE_SDL= sdl
USE_GL= gl
diff --git a/games/cave9/Makefile b/games/cave9/Makefile
index 0fd805ab4692..81354d489849 100644
--- a/games/cave9/Makefile
+++ b/games/cave9/Makefile
@@ -18,7 +18,7 @@ USE_GITHUB= yes
GH_ACCOUNT= bart9h
GH_TAGNAME= e6896eb
-USES= gmake
+USES= gl gmake sdl
USE_SDL= sdl ttf image
USE_GL= gl glu
diff --git a/games/cgoban/Makefile b/games/cgoban/Makefile
index a35e83b4b65c..18e312a74146 100644
--- a/games/cgoban/Makefile
+++ b/games/cgoban/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Internet Go Server client and game editor
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= x11 ice sm
PLIST_FILES= bin/cgoban \
diff --git a/games/chromium-bsu/Makefile b/games/chromium-bsu/Makefile
index 6450b4662b27..405858209287 100644
--- a/games/chromium-bsu/Makefile
+++ b/games/chromium-bsu/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libGLC.so:graphics/quesoglc
GNU_CONFIGURE= yes
-USES= gmake gettext-tools localbase pkgconfig
+USES= gl gmake gettext-tools localbase pkgconfig sdl
USE_SDL= sdl2 image2
USE_GL= gl glu
CONFIGURE_ARGS= --disable-sdl \
diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile
index 7352f56e6f50..a58ac19b0d7e 100644
--- a/games/connectagram/Makefile
+++ b/games/connectagram/Makefile
@@ -14,7 +14,7 @@ COMMENT= Word unscrambling game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USES= compiler:c++11-lib gl qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= buildtools_build core gui linguisttools_build network widgets
diff --git a/games/connectfive/Makefile b/games/connectfive/Makefile
index 217287625cf5..06984c63aa2a 100644
--- a/games/connectfive/Makefile
+++ b/games/connectfive/Makefile
@@ -11,7 +11,7 @@ DISTNAME= connectFive
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Place five pieces in a row on a 3D board
-USES= gmake dos2unix
+USES= dos2unix gl gmake sdl xorg
USE_SDL= sdl
USE_GL= gl
USE_XORG= xmu xext x11
diff --git a/games/construo/Makefile b/games/construo/Makefile
index 95df9c4dd499..2bac42803d17 100644
--- a/games/construo/Makefile
+++ b/games/construo/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= Construo
-USES= autoreconf gmake
+USES= autoreconf gl gmake xorg
USE_XORG= sm ice x11 xext xxf86vm
USE_GL= gl glu
GNU_CONFIGURE= yes
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile
index fae39845ed9b..a9288cd53b06 100644
--- a/games/cosmo/Makefile
+++ b/games/cosmo/Makefile
@@ -22,7 +22,7 @@ NO_CDROM= Possible copyright infringement
WRKSRC= ${WRKDIR}/cosmo2
DIST_SUBDIR= cosmo
-USES= imake:notall,noman
+USES= imake:notall,noman xorg
USE_XORG= x11 xext
do-install:
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile
index e7555a259906..b0373ab35587 100644
--- a/games/crack-attack/Makefile
+++ b/games/crack-attack/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SAVANNAH
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= OpenGL game based on Super Nintendo classic Tetris Attack
-USES= compiler:c++11-lang pkgconfig
+USES= compiler:c++11-lang gl gnome pkgconfig xorg
USE_XORG= x11 xi xmu sm ice
USE_GL= glut
USE_GNOME= gtk20
diff --git a/games/craft/Makefile b/games/craft/Makefile
index 2a0b2a495eda..7bacec7aeee3 100644
--- a/games/craft/Makefile
+++ b/games/craft/Makefile
@@ -22,7 +22,7 @@ SERVER_DESC= Install the craft server
OPTIONS_DEFAULT= SERVER
OPTIONS_SUB= yes
-USES= cmake:insource compiler:c11
+USES= cmake:insource compiler:c11 gl xorg
USE_XORG= x11 xi xrandr
USE_GL= gl glu
diff --git a/games/cretan-hubris/Makefile b/games/cretan-hubris/Makefile
index df6600a7cb09..17e1dac9d118 100644
--- a/games/cretan-hubris/Makefile
+++ b/games/cretan-hubris/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index dbdd157c0848..12b1f03517da 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libtinyxml.so:textproc/tinyxml
-USES= compiler:c++0x tar:bzip2
+USES= compiler:c++0x gl sdl tar:bzip2 xorg
USE_XORG= x11
USE_GL= gl
USE_SDL= image mixer sdl
diff --git a/games/critterding/Makefile b/games/critterding/Makefile
index 7670f2929674..846a9bf3bebd 100644
--- a/games/critterding/Makefile
+++ b/games/critterding/Makefile
@@ -12,7 +12,7 @@ COMMENT= Evolving Artificial Life
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= autoreconf libtool ncurses pkgconfig tar:bzip2
+USES= autoreconf gl libtool ncurses pkgconfig sdl tar:bzip2
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_GL= gl
diff --git a/games/crrcsim/Makefile b/games/crrcsim/Makefile
index e23d067ef0ea..9ce14d4320f9 100644
--- a/games/crrcsim/Makefile
+++ b/games/crrcsim/Makefile
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libportaudio.so:audio/portaudio
GNU_CONFIGURE= yes
-USES= gettext gmake jpeg localbase
+USES= gettext gl gmake jpeg localbase sdl xorg
USE_SDL= sdl
USE_GL= gl glu
USE_XORG= x11
diff --git a/games/csmash/Makefile b/games/csmash/Makefile
index 70fef4bfbe80..2f43464f1bbd 100644
--- a/games/csmash/Makefile
+++ b/games/csmash/Makefile
@@ -13,7 +13,7 @@ COMMENT= 3D tabletennis game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang gettext gmake pkgconfig
+USES= compiler:c++11-lang gettext gl gmake gnome pkgconfig sdl
USE_SDL= image mixer sdl
USE_GL= yes
USE_GNOME= gtk20
diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile
index 4ae469b201d1..eaeaf4b5c62d 100644
--- a/games/cultivation/Makefile
+++ b/games/cultivation/Makefile
@@ -13,7 +13,7 @@ COMMENT= Unique game of conflict and cooperation in a gardening community
LIB_DEPENDS= libportaudio.so:audio/portaudio
-USES= gmake
+USES= gl gmake xorg
USE_XORG= x11 xi xext xmu
USE_GL= glut
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile
index d4dabe1d2f87..d660969ddc70 100644
--- a/games/cutemaze/Makefile
+++ b/games/cutemaze/Makefile
@@ -14,7 +14,7 @@ COMMENT= Simple, top-down game in which mazes are randomly generated
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang qmake qt:5 tar:bzip2
+USES= compiler:c++11-lang gl qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= core gui svg imageformats_run widgets \
linguisttools_build buildtools_build
diff --git a/games/cuyo/Makefile b/games/cuyo/Makefile
index 34c88c6f935f..153b4237c4dc 100644
--- a/games/cuyo/Makefile
+++ b/games/cuyo/Makefile
@@ -13,7 +13,7 @@ COMMENT= Nice, innovative, challenging Tetris-like game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake iconv localbase:ldflags
+USES= gmake iconv localbase:ldflags sdl xorg
USE_SDL= mixer image
USE_XORG= x11 xau xdmcp
GNU_CONFIGURE= yes
diff --git a/games/dangerdeep/Makefile b/games/dangerdeep/Makefile
index 15d4798fc4a4..0f2127924473 100644
--- a/games/dangerdeep/Makefile
+++ b/games/dangerdeep/Makefile
@@ -14,7 +14,7 @@ COMMENT= Open source World War II German submarine simulation
LIB_DEPENDS= libfftw3.so:math/fftw3
RUN_DEPENDS= dangerdeep-data>0:games/dangerdeep-data
-USES= compiler scons
+USES= compiler gl scons sdl
USE_GL= yes
USE_SDL= sdl mixer image net
diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile
index 0b16200f06f3..e29dde4f888d 100644
--- a/games/darkplaces/Makefile
+++ b/games/darkplaces/Makefile
@@ -14,7 +14,7 @@ COMMENT= Quake engine modification
# Loads libraries at run-time, thus RUN_DEPENDS.
RUN_DEPENDS= ${LOCALBASE}/lib/libvorbis.so:audio/libvorbis
-USES= gmake jpeg zip:infozip
+USES= gmake jpeg xorg zip:infozip
USE_XORG= xxf86dga xpm
MAKE_ENV= DP_FS_BASEDIR="${Q1DIR}" DP_LINK_JPEG=dlopen
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -42,6 +42,7 @@ SERVER_DESC= Build dedicated server
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDL}
+USES+= gl
USE_GL= glu
PLIST_SUB+= CLIENT=""
.else
@@ -61,6 +62,7 @@ EXE_TARGETS+= ${PORTNAME}-dedicated
.endif
.if ${PORT_OPTIONS:MSDL}
+USES+= sdl
. if ${PORT_OPTIONS:MSDL1}
USE_SDL= sdl
ALL_TARGET+= sdl-release
diff --git a/games/diameter/Makefile b/games/diameter/Makefile
index eb5d04f0284b..9e7a9b1309f9 100644
--- a/games/diameter/Makefile
+++ b/games/diameter/Makefile
@@ -16,7 +16,8 @@ BROKEN_armv7= fails to compile: res/3dsloader.cpp:77:15: comparison between poi
LIB_DEPENDS= libpng.so:graphics/png \
libguichan.so:devel/guichan
-USES= compiler:c++11-lang dos2unix tar:bzip2 gmake pkgconfig python:2.7
+USES= compiler:c++11-lang dos2unix gl gmake pkgconfig python:2.7 sdl \
+ tar:bzip2
DOS2UNIX_FILES= src/res/3dsloader.cpp
GNU_CONFIGURE= yes
USE_GL= gl glu
diff --git a/games/doom/Makefile b/games/doom/Makefile
index 7f15a64e78b3..b8b964b36d97 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -20,7 +20,7 @@ NO_CDROM= Redistribution is limited, see license; Requested by id Software
ONLY_FOR_ARCHS= i386
-USES= gmake zip
+USES= gmake xorg zip
USE_XORG= x11 sm xorgproto xext
NO_WRKSUBDIR= yes
diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile
index 06d81affe3bf..da3c684daf5b 100644
--- a/games/doomlegacy/Makefile
+++ b/games/doomlegacy/Makefile
@@ -16,7 +16,7 @@ COMMENT= Improved and extended version of Doom
LICENSE= GPLv2
-USES= gmake tar:bzip2
+USES= gl gmake sdl tar:bzip2
USE_GL= glu
USE_SDL= mixer sdl
diff --git a/games/doomsday/Makefile b/games/doomsday/Makefile
index d09fd4be8602..4e2c1a941c97 100644
--- a/games/doomsday/Makefile
+++ b/games/doomsday/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
RUN_DEPENDS= timidity:audio/timidity
USES= cmake compiler:c++11-lib gl localbase:ldflags ninja openal pkgconfig \
- python:2.7,build qt:5 sdl
+ python:2.7,build qt:5 sdl xorg
USE_GL= gl glu
USE_LDCONFIG= yes
diff --git a/games/duel/Makefile b/games/duel/Makefile
index e0506725d809..a20c3e96b247 100644
--- a/games/duel/Makefile
+++ b/games/duel/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libftgl.so:graphics/ftgl
-USES= tar:bzip2 libtool
+USES= gl libtool sdl tar:bzip2
USE_GL= gl
USE_SDL= sdl
GNU_CONFIGURE= yes
diff --git a/games/easyrpg-player/Makefile b/games/easyrpg-player/Makefile
index 785b4724dcd3..0cb9a463c2a0 100644
--- a/games/easyrpg-player/Makefile
+++ b/games/easyrpg-player/Makefile
@@ -37,7 +37,8 @@ USE_GITHUB= yes
GH_ACCOUNT= EasyRPG
GH_PROJECT= Player
-USES= cmake:insource compiler:c++11-lib localbase:ldflags pkgconfig sdl
+USES= cmake:insource compiler:c++11-lib localbase:ldflags pkgconfig \
+ sdl xorg
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=man \
-DPLAYER_AUDIO_BACKEND=SDL2_mixer
USE_XORG= pixman
diff --git a/games/edge/Makefile b/games/edge/Makefile
index c79adf611c4e..a5148f5cfa37 100644
--- a/games/edge/Makefile
+++ b/games/edge/Makefile
@@ -20,7 +20,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libpng.so:graphics/png
-USES= alias gmake jpeg tar:bzip2
+USES= alias gl gmake jpeg sdl tar:bzip2
USE_GL= glew
USE_SDL= sdl
MAKEFILE= Makefile.linux
diff --git a/games/editss/Makefile b/games/editss/Makefile
index 5fc626d4fb8a..78cf0d71a008 100644
--- a/games/editss/Makefile
+++ b/games/editss/Makefile
@@ -13,7 +13,7 @@ COMMENT= Editor for XPilot shipshapes
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= imake
+USES= imake xorg
USE_XORG= x11 xaw xmu xt
ALL_TARGET= editss
diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile
index 790d9fbefdcf..113450fe5638 100644
--- a/games/eduke32/Makefile
+++ b/games/eduke32/Makefile
@@ -30,7 +30,7 @@ LIB_DEPENDS= libFLAC.so:audio/flac \
libvpx.so:multimedia/libvpx \
libpng.so:graphics/png
-USES= dos2unix gmake pkgconfig tar:xz
+USES= dos2unix gl gmake gnome pkgconfig sdl tar:xz
USE_GL= gl glu
USE_GNOME= gtk20
USE_SDL= sdl2 mixer2
diff --git a/games/egl/Makefile b/games/egl/Makefile
index 970fc3006777..9f8c4b5930b7 100644
--- a/games/egl/Makefile
+++ b/games/egl/Makefile
@@ -34,7 +34,7 @@ GAME_DESC= Build main game (default mod)
.if ${PORT_OPTIONS:MCLIENT}
LIB_DEPENDS= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= gl
PLIST_SUB+= CLIENT=""
EGL_BIN+= egl
diff --git a/games/el/Makefile b/games/el/Makefile
index 9b243fd58a3d..610ba35322e9 100644
--- a/games/el/Makefile
+++ b/games/el/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libcal3d.so:graphics/cal3d
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:games/el-data
-USES= compiler:c++11-lang gmake iconv openal:al,alut
+USES= compiler:c++11-lang gl gmake gnome iconv openal:al,alut sdl xorg
USE_GNOME= libxml2
USE_SDL= sdl net image
USE_GL= gl
diff --git a/games/ensemblist/Makefile b/games/ensemblist/Makefile
index c58205c834f3..cbe545c2dbfa 100644
--- a/games/ensemblist/Makefile
+++ b/games/ensemblist/Makefile
@@ -13,7 +13,7 @@ COMMENT= Assemble given shapes from primitives
LIB_DEPENDS= libmikmod.so:audio/libmikmod \
libpng.so:graphics/png
-USES= gmake
+USES= gl gmake xorg
USE_XORG= xmu
USE_GL= glut
MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}"
diff --git a/games/excido/Makefile b/games/excido/Makefile
index 6a115e256fa1..bae72d33ecf5 100644
--- a/games/excido/Makefile
+++ b/games/excido/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= gmake openal:al,alut tar:bzip2
+USES= gl gmake openal:al,alut sdl tar:bzip2
USE_GL= gl glu
USE_SDL= image sdl ttf
diff --git a/games/exult/Makefile b/games/exult/Makefile
index f26d8157dba8..b9d4518d4b10 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_TAGNAME= b15afba
USES= autoreconf compiler:c++11-lib gmake gnome libtool localbase \
- pkgconfig
+ pkgconfig xorg
USE_CXXSTD= c++98
USE_XORG= xext
GNU_CONFIGURE= yes
diff --git a/games/f1spirit-remake/Makefile b/games/f1spirit-remake/Makefile
index c6d31a169c11..07a517fa58f5 100644
--- a/games/f1spirit-remake/Makefile
+++ b/games/f1spirit-remake/Makefile
@@ -15,7 +15,7 @@ COMMENT= Remake of classic F1 Spirit racing game
LIB_DEPENDS= libcurl.so:ftp/curl
-USES= dos2unix gmake zip
+USES= dos2unix gl gmake sdl zip
USE_SDL= sdl net image mixer sound
USE_GL= gl glu
DOS2UNIX_GLOB= *.h *.cpp
diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile
index 75fc8d9608d1..3bb73228fa2a 100644
--- a/games/falconseye/Makefile
+++ b/games/falconseye/Makefile
@@ -13,7 +13,7 @@ COMMENT= NetHack derivative
RUN_DEPENDS= timidity:audio/timidity
-USES= ncurses perl5 zip
+USES= ncurses perl5 sdl xorg zip
DATADIR= ${PREFIX}/share/falconseyedir
MAKE_ENV= NHDIR="${DATADIR}" NETHACKCONFIG="${NETHACKCONFIG}"
MAKE_ARGS= WINTTYLIB="-lncurses"
diff --git a/games/fbg2/Makefile b/games/fbg2/Makefile
index ddb4db5fdeb6..fe05b13b0fbf 100644
--- a/games/fbg2/Makefile
+++ b/games/fbg2/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so.1:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/fishsupper/Makefile b/games/fishsupper/Makefile
index 283c23eea44e..2fbc4306d099 100644
--- a/games/fishsupper/Makefile
+++ b/games/fishsupper/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs
BROKEN_powerpc64= fails to compile: Log.h: expected initializer before '<' token
GNU_CONFIGURE= yes
-USES= gmake localbase:ldflags
+USES= gl gmake localbase:ldflags sdl
USE_SDL= sdl image mixer
USE_GL= gl
USE_CXXSTD= c++98
diff --git a/games/fkiss/Makefile b/games/fkiss/Makefile
index f4ef08de5754..956a15636608 100644
--- a/games/fkiss/Makefile
+++ b/games/fkiss/Makefile
@@ -24,7 +24,7 @@ BROKEN_armv7= fails to compile: passing char * to parameter of incompatible typ
EXTRA_PATCHES= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.diff
-USES= gmake
+USES= gmake xorg
USE_XORG= x11 xorgproto
GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
diff --git a/games/flying/Makefile b/games/flying/Makefile
index 139db0001b76..07131f7fdda3 100644
--- a/games/flying/Makefile
+++ b/games/flying/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SUNSITE/games/arcade
MAINTAINER= ports@FreeBSD.org
COMMENT= Pool/snooker/billiards/carrom/etc game
-USES= compiler imake tar:tgz
+USES= compiler imake tar:tgz xorg
USE_XORG= x11
PLIST_FILES= bin/flying man/man1/flying.1.gz
diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile
index e4b50c222111..14d270d954b5 100644
--- a/games/foobillard/Makefile
+++ b/games/foobillard/Makefile
@@ -24,7 +24,7 @@ NVIDIA_BUMPREF_DESC= NVidia extensions
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
-USES= gmake
+USES= gmake xorg
GNU_CONFIGURE= yes
USE_XORG= xaw ice
@@ -39,9 +39,11 @@ DESKTOP_ENTRIES= "Foobillard" \
false
.if ${PORT_OPTIONS:MSDL}
+USES+= sdl
USE_SDL= sdl
CONFIGURE_ARGS+= --enable-SDL
.else
+USES+= gl
USE_GL= glut
CONFIGURE_ARGS+= --enable-glut
.endif
diff --git a/games/four-in-a-row/Makefile b/games/four-in-a-row/Makefile
index 25a0852c2df0..e1f8ba801ae5 100644
--- a/games/four-in-a-row/Makefile
+++ b/games/four-in-a-row/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
INSTALLS_ICONS= yes
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile
index 2dd9ff09be59..c604d79e096c 100644
--- a/games/freedroidrpg/Makefile
+++ b/games/freedroidrpg/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libpng.so:graphics/png
BROKEN_sparc64= does not configure
GNU_CONFIGURE= yes
-USES= jpeg gmake localbase lua:52+ python
+USES= jpeg gmake localbase lua:52+ python sdl xorg
USE_XORG= x11
USE_SDL= sdl image gfx
CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
@@ -38,6 +38,7 @@ BACKTRACE_DESC= Use backtrace() to generate nice bug reports
BACKTRACE_CONFIGURE_ENABLE= backtrace
BACKTRACE_VARS= STRIP= # empty
+OPENGL_USES= gl
OPENGL_USE= GL=gl
OPENGL_CONFIGURE_ENABLE= opengl
diff --git a/games/freetennis/Makefile b/games/freetennis/Makefile
index a0d6bddaabbe..46d20ded56ad 100644
--- a/games/freetennis/Makefile
+++ b/games/freetennis/Makefile
@@ -24,7 +24,7 @@ OCAML_DEPENDS= ${LOCALBASE}/lib/ocaml/site-lib/lablgtk2/gtk.ml:x11-toolkits/ocam
${LOCALBASE}/lib/ocaml/lablGL/gl.ml:graphics/ocaml-lablgl \
${LOCALBASE}/lib/ocaml/site-lib/sdl/sdl.mli:devel/ocaml-sdl
-USES= gettext tar:bzip2
+USES= gettext gl gnome sdl tar:bzip2 xorg
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
USE_GL= gl glu
USE_SDL= ttf mixer sdl
diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile
index f0109a152ed6..37cadf25c745 100644
--- a/games/frogatto/Makefile
+++ b/games/frogatto/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
USE_GITHUB= yes
GH_ACCOUNT= frogatto
-USES= compiler:c++11-lang dos2unix gmake pkgconfig
+USES= compiler:c++11-lang dos2unix gl gmake pkgconfiga sdl
ALL_TARGET= game server
USE_GL= glew glu
USE_SDL= sdl image mixer ttf
diff --git a/games/gl-117/Makefile b/games/gl-117/Makefile
index 3dd05dde481b..cbf5053de433 100644
--- a/games/gl-117/Makefile
+++ b/games/gl-117/Makefile
@@ -11,8 +11,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GL-117%20Source
MAINTAINER= erik@bz.bzflag.bz
COMMENT= OpenGL & SDL action flight simulator
+USES= gl tar:bzip2
USE_GL= glut
-USES= tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-opengl-dir=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile
index eddeaab68941..76c59a4fefdf 100644
--- a/games/glaxium/Makefile
+++ b/games/glaxium/Makefile
@@ -13,7 +13,7 @@ COMMENT= OpenGL based space-ship "shoot-em-up" game
LIB_DEPENDS= libpng.so:graphics/png
-USES= dos2unix gmake
+USES= dos2unix gl gmake sdl
USE_SDL= sdl mixer
USE_GL= glut
GNU_CONFIGURE= yes
diff --git a/games/glest/Makefile b/games/glest/Makefile
index aa7fe049ce3b..b6db6b590ecf 100644
--- a/games/glest/Makefile
+++ b/games/glest/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= jam:devel/jam
RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/servers.ini:games/glest-data
USES= autoreconf:build dos2unix gl localbase lua:51 openal:al,alut \
- pkgconfig zip
+ pkgconfig sdl xorg zip
USE_SDL= sdl
USE_GL= gl glu
USE_XORG= x11
diff --git a/games/glightoff/Makefile b/games/glightoff/Makefile
index 6e3b55d3d84f..12499b9f01f9 100644
--- a/games/glightoff/Makefile
+++ b/games/glightoff/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
-USES= gmake iconv localbase pkgconfig
+USES= gmake gnome iconv localbase pkgconfig xorg
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20
USE_XORG= x11
diff --git a/games/glmaze/Makefile b/games/glmaze/Makefile
index 1c08627dea57..0b32efabbd31 100644
--- a/games/glmaze/Makefile
+++ b/games/glmaze/Makefile
@@ -19,6 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= gl sdl
USE_GL= gl
USE_SDL= mixer sdl
diff --git a/games/glob2/Makefile b/games/glob2/Makefile
index c44c11756690..229bace329cf 100644
--- a/games/glob2/Makefile
+++ b/games/glob2/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libvorbis.so:audio/libvorbis \
OPTIONS_DEFINE= DOCS PORTAUDIO
-USES= compiler:c++11-lang pkgconfig scons
+USES= compiler:c++11-lang gl pkgconfig scons sdl
USE_SDL= image net sdl ttf
USE_GL= gl glu
MAKE_ARGS= CCFLAGS="${CFLAGS}" \
diff --git a/games/glsfcave/Makefile b/games/glsfcave/Makefile
index 43f38613a6aa..33a545cf748d 100644
--- a/games/glsfcave/Makefile
+++ b/games/glsfcave/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Control a ribbon to avoid hitting walls
-USES= tar:bzip2
+USES= gl tar:bzip2
USE_GL= glut
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/gltron/Makefile b/games/gltron/Makefile
index 69debfd7573b..a473d32a1ca5 100644
--- a/games/gltron/Makefile
+++ b/games/gltron/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake
+USES= gl gmake sdl
USE_GL= gl
USE_SDL= sdl sound
GNU_CONFIGURE= yes
diff --git a/games/gnome-2048/Makefile b/games/gnome-2048/Makefile
index 1f47626092ad..74ae2b3e5d65 100644
--- a/games/gnome-2048/Makefile
+++ b/games/gnome-2048/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gl gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intltool libxml2:build
USE_GL= egl
USE_XORG+= x11 xext xdamage xfixes xcomposite xi xrandr
diff --git a/games/gnome-chess/Makefile b/games/gnome-chess/Makefile
index 9773cea68f1e..023a60305286 100644
--- a/games/gnome-chess/Makefile
+++ b/games/gnome-chess/Makefile
@@ -19,7 +19,7 @@ BUILD_DEPENDS= vala:lang/vala \
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gnome localbase meson \
+USES= desktop-file-utils gettext gl gnome localbase meson \
pkgconfig python:3.6+,build tar:xz
USE_GNOME= cairo gtk30 librsvg2 libxml2:build
INSTALLS_ICONS= yes
diff --git a/games/gnome-nibbles/Makefile b/games/gnome-nibbles/Makefile
index 00bcb66c4f03..b348ff5c2701 100644
--- a/games/gnome-nibbles/Makefile
+++ b/games/gnome-nibbles/Makefile
@@ -28,8 +28,8 @@ LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix \
- pkgconfig tar:xz
+USES= gettext gl gmake gnome localbase pathfix \
+ pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_GL= gl egl
diff --git a/games/gnome-robots/Makefile b/games/gnome-robots/Makefile
index 455e55be87c8..8589cbe0e10c 100644
--- a/games/gnome-robots/Makefile
+++ b/games/gnome-robots/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \
PORTSCOUT= limitw:1,even
USES= gettext gmake gnome localbase pathfix \
- pkgconfig tar:xz
+ pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/games/gnome-taquin/Makefile b/games/gnome-taquin/Makefile
index ca50cb882e2d..6067faa655a7 100644
--- a/games/gnome-taquin/Makefile
+++ b/games/gnome-taquin/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index 5c5f42aecf31..9a5e12054a77 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -22,7 +22,8 @@ LIB_DEPENDS= libpng.so:graphics/png \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= bison gmake libtool pathfix shebangfix python pkgconfig compiler:c++11-lang readline gnome gl
+USES= bison gl gmake gnome libtool pathfix shebangfix python \
+ pkgconfig compiler:c++11-lang readline xorg
USE_GNOME= glib20 gtk20 cairo pangox-compat
USE_XORG+= xmu xt sm ice x11
USE_GL+= glu gl
diff --git a/games/gnujump/Makefile b/games/gnujump/Makefile
index d23b010eca0a..d7ce42f8be6a 100644
--- a/games/gnujump/Makefile
+++ b/games/gnujump/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= gmake localbase
+USES= gl gmake localbase sdl xorg
USE_SDL= sdl mixer image
USE_GL= gl
USE_XORG= x11
diff --git a/games/golddig/Makefile b/games/golddig/Makefile
index 81bff4ec1d08..d779bef9570f 100644
--- a/games/golddig/Makefile
+++ b/games/golddig/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}C${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Getting the Gold and Avoiding Death
+USES= xorg
USE_XORG= x11
MAKE_ENV= X11BASE="${LOCALBASE}" \
_STRIPFLAG_INSTALL="${STRIP}"
diff --git a/games/goonies/Makefile b/games/goonies/Makefile
index 98fb698b098e..4d20745713b1 100644
--- a/games/goonies/Makefile
+++ b/games/goonies/Makefile
@@ -14,7 +14,7 @@ COMMENT= Remake of the 8 bit classic game 'The Goonies'
LICENSE= NONE
-USES= gmake tar:tgz
+USES= gl gmake sdl tar:tgz
USE_SDL= sdl mixer image
USE_GL= gl glu
USE_CXXSTD= c++98
diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index 23fe6472cb4d..5caa7b134f09 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -14,7 +14,7 @@ COMMENT= Tetris clone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib qmake qt:5 tar:bzip2
+USES= compiler:c++11-lib gl qmake qt:5 tar:bzip2
USE_GL= gl
USE_QT= core gui widgets \
buildtools_build linguisttools_build
diff --git a/games/gracer/Makefile b/games/gracer/Makefile
index 1b20e7903b56..18939d4e45cf 100644
--- a/games/gracer/Makefile
+++ b/games/gracer/Makefile
@@ -17,8 +17,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libgif.so:graphics/giflib \
libpng.so:graphics/png
+USES= gl gmake jpeg localbase perl5 tcl
USE_GL= glut
-USES= gmake jpeg localbase perl5 tcl
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
diff --git a/games/iagno/Makefile b/games/iagno/Makefile
index 6cc5748966f9..dbe1db4c600e 100644
--- a/games/iagno/Makefile
+++ b/games/iagno/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz
+USES= gettext gmake gnome localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/games/icbm3d/Makefile b/games/icbm3d/Makefile
index f8b0a55febdd..141c5b612c7c 100644
--- a/games/icbm3d/Makefile
+++ b/games/icbm3d/Makefile
@@ -16,6 +16,7 @@ COMMENT= Inter-Continental Ballistic Missiles, 3D
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= xorg
USE_XORG= x11
MAKEFILE= makefile
ALL_TARGET= ${PORTNAME}
diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile
index 027a92d5d870..751898ce7efb 100644
--- a/games/ioquake3/Makefile
+++ b/games/ioquake3/Makefile
@@ -33,6 +33,7 @@ OPTIONS_DEFINE= SERVER CURL OPENAL MUMBLE VORBIS DEBUG
OPTIONS_DEFAULT= SERVER CURL OPENAL MUMBLE VORBIS
SERVER_DESC= Install dedicated server
MUMBLE_DESC= Enable Mumble support (no dependencies)
+USES+= gl
USE_GL+= gl
.endif
IOQ3_OPTIONS= ${IOQ3:MTOOLS} ${IOQ3:MDLRENDERER} ${IOQ3:MGAMELIBS} \
diff --git a/games/ishido/Makefile b/games/ishido/Makefile
index 582fde9675f5..36f25e275184 100644
--- a/games/ishido/Makefile
+++ b/games/ishido/Makefile
@@ -10,8 +10,9 @@ MASTER_SITES= LOCAL/obrien
MAINTAINER= ports@FreeBSD.org
COMMENT= Tile placement game
-MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= x11
+MAKE_ENV= X11BASE=${LOCALBASE}
do-install:
${INSTALL_MAN} ${WRKSRC}/ishido.6 ${STAGEDIR}${PREFIX}/man/man6
diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile
index ad0f2be96cb4..a7529737ef2b 100644
--- a/games/jigzo/Makefile
+++ b/games/jigzo/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/GPL.txt
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake jpeg tar:tgz
+USES= gl gmake jpeg sdl tar:tgz
USE_SDL= sdl mixer
USE_GL= gl
MAKE_ARGS= CXX=${CXX}
diff --git a/games/joequake/Makefile b/games/joequake/Makefile
index f919edc42f86..c67f78a03424 100644
--- a/games/joequake/Makefile
+++ b/games/joequake/Makefile
@@ -39,8 +39,8 @@ X86_ASM_DESC= Enable x86 assembly code
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENGL}
+USES+= gl jpeg
USE_GL= yes
-USES+= jpeg
ALL_TARGET+= glx
PLIST_SUB+= GLX=""
.else
@@ -76,6 +76,7 @@ MAKE_ENV+= USE_${f}=NO
.endfor
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= xxf86dga
ALL_TARGET+= x11
PLIST_SUB+= X11=""
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile
index 4f67d3861b92..c1859cb84637 100644
--- a/games/jvgs/Makefile
+++ b/games/jvgs/Makefile
@@ -14,7 +14,7 @@ COMMENT= Minimalistic platform game
BUILD_DEPENDS= swig3.0:devel/swig30
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= cmake:insource lua:51
+USES= cmake:insource gl lua:51 sdl
USE_SDL= sdl mixer
USE_GL= gl glu
diff --git a/games/keeperrl/Makefile b/games/keeperrl/Makefile
index 03ddf6770bbb..468b64768d36 100644
--- a/games/keeperrl/Makefile
+++ b/games/keeperrl/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE_OFL11= ${WRKSRC}/data_contrib/SIL_Open_Font_License.txt
LIB_DEPENDS= libvorbis.so:audio/libvorbis \
libcurl.so:ftp/curl
-USES= compiler:c++14-lang gmake localbase openal
+USES= compiler:c++14-lang gl gmake localbase openal sdl
USE_GITHUB= yes
GH_ACCOUNT= miki151
diff --git a/games/kiki/Makefile b/games/kiki/Makefile
index 4b04d751bb73..cb16792a2f6c 100644
--- a/games/kiki/Makefile
+++ b/games/kiki/Makefile
@@ -13,7 +13,7 @@ COMMENT= Kiki the nanobot is a 3-D puzzle game
BUILD_DEPENDS= swig3.0:devel/swig30
-USES= compiler dos2unix gmake python:2.7
+USES= compiler dos2unix gl gmake python:2.7 sdl
USE_GL= gl glu glut
USE_SDL= sdl mixer image
DOS2UNIX_REGEX= .*/(Makefile|.*\.cpp|.*\.h|.*\.i)$
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
index 232807d1f26a..dfcb4642253a 100644
--- a/games/ksudoku/Makefile
+++ b/games/ksudoku/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake compiler:c++11-lang kde:5 qt:5 tar:xz
+USES= cmake compiler:c++11-lang gl kde:5 qt:5 tar:xz
USE_GL= gl glu
USE_KDE= archive auth codecs completion config configwidgets \
coreaddons crash ecm guiaddons i18n jobwidgets kio \
diff --git a/games/kubrick/Makefile b/games/kubrick/Makefile
index 5860306a10eb..797782840203 100644
--- a/games/kubrick/Makefile
+++ b/games/kubrick/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= games kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${PORTNAME}_DESC}
-USES= cmake compiler:c++11-lang kde:5 qt:5 tar:xz
+USES= cmake compiler:c++11-lang gl kde:5 qt:5 tar:xz
USE_GL= gl glu
USE_KDE= auth codecs config configwidgets coreaddons crash ecm \
i18n kio libkdegames service widgetsaddons xmlgui
diff --git a/games/lander/Makefile b/games/lander/Makefile
index 6314695acc56..71f137296680 100644
--- a/games/lander/Makefile
+++ b/games/lander/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= compiler:c++11-lib gettext localbase pkgconfig
+USES= compiler:c++11-lib gettext gl localbase pkgconfig sdl
USE_SDL= sdl image mixer
USE_GL= gl glu
diff --git a/games/libshhcards/Makefile b/games/libshhcards/Makefile
index 68d59cb93e0f..89b7c0caa798 100644
--- a/games/libshhcards/Makefile
+++ b/games/libshhcards/Makefile
@@ -12,6 +12,7 @@ COMMENT= Library for displaying game cards on X Window System
LICENSE= ART10
+USES= xorg
USE_XORG= xpm
MAKEFILE= ${FILESDIR}/Makefile.lib
USE_LDCONFIG= yes
diff --git a/games/lightsoff/Makefile b/games/lightsoff/Makefile
index 0d5a5bfd5552..a3f6c6607b6f 100644
--- a/games/lightsoff/Makefile
+++ b/games/lightsoff/Makefile
@@ -22,8 +22,8 @@ LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix pkgconfig \
- sqlite tar:xz
+USES= gettext gl gmake gnome localbase pathfix pkgconfig \
+ sqlite tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index ffdf61ed2e14..25d4be6dfa39 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gl gnome localbase:ldflags pkgconfig tar:bzip2
+USES= gl gnome localbase:ldflags pkgconfig sdl tar:bzip2 xorg
USE_SDL= sdl mixer image ttf gfx
USE_GL= gl
USE_XORG= x11
diff --git a/games/lincity/Makefile b/games/lincity/Makefile
index 6e78fe3b1f11..b5e6c7fb8804 100644
--- a/games/lincity/Makefile
+++ b/games/lincity/Makefile
@@ -35,6 +35,7 @@ SVGALIB_CONFIGURE_OFF= --without-svga
.if ${PORT_OPTIONS:MSVGALIB}
PLIST_SUB+= PROG="bin/lincity"
.else
+USES+= xorg
USE_XORG= sm xext
PLIST_SUB+= PROG="bin/xlincity"
.endif
diff --git a/games/lugaru/Makefile b/games/lugaru/Makefile
index 0736da454fdb..da1cccb2e7eb 100644
--- a/games/lugaru/Makefile
+++ b/games/lugaru/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libogg.so:audio/libogg
-USES= cmake jpeg openal:soft pkgconfig tar:bzip2
+USES= cmake gl jpeg openal:soft pkgconfig sdl tar:bzip2 xorg
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= sm
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile
index 0b621b584bfd..0eebd2276865 100644
--- a/games/lwjgl/Makefile
+++ b/games/lwjgl/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
-USES= dos2unix zip
+USES= dos2unix zip xorg
DOS2UNIX_REGEX= .*.[^jp][^an][^rg]$
USE_JAVA= yes
USE_LDCONFIG= yes
diff --git a/games/macopix/Makefile b/games/macopix/Makefile
index f26a6766bcb3..ec57431ba08c 100644
--- a/games/macopix/Makefile
+++ b/games/macopix/Makefile
@@ -34,7 +34,7 @@ RESTRICTED_FILES= \
macopix-mascot-marimite-euc-ja-2.20.tar.gz \
macopix-mascot-HxB-euc-ja-0.30.tar.gz
-USES= gettext gmake gnome iconv jpeg libtool pkgconfig
+USES= gettext gmake gnome iconv jpeg libtool pkgconfig xorg
USE_GNOME= gtk20
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile
index 875f11bbe637..135adf609084 100644
--- a/games/maelstrom/Makefile
+++ b/games/maelstrom/Makefile
@@ -18,6 +18,7 @@ COMMENT= Asteroids-style game for X Window System
LICENSE= GPLv2
+USES= sdl xorg
USE_CXXSTD= gnu++98
USE_SDL= sdl net
USE_XORG= xpm
diff --git a/games/magiccube4d/Makefile b/games/magiccube4d/Makefile
index 1cb8ab6ed63f..29a01c7e9863 100644
--- a/games/magiccube4d/Makefile
+++ b/games/magiccube4d/Makefile
@@ -12,6 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= MagicCube4D is a four-dimensional analog of Rubik's cube
+USES= xorg
USE_XORG= x11 xext xt sm ice xaw
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION:S/./_/}
diff --git a/games/manaplus/Makefile b/games/manaplus/Makefile
index 4680679acf3d..bab370ddb067 100644
--- a/games/manaplus/Makefile
+++ b/games/manaplus/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libxml2.so:textproc/libxml2 \
libpng.so:graphics/png \
libcurl.so:ftp/curl
-USES= autoreconf compiler:c++11-lang pkgconfig:build tar:xz
+USES= autoreconf compiler:c++11-lang pkgconfig:build sdl tar:xz xorg
USE_XORG= x11
USE_SDL= sdl2 gfx2 image2 mixer2 net2 ttf2
diff --git a/games/marsnomercy/Makefile b/games/marsnomercy/Makefile
index e0cf160fba2f..e0eb0b417b69 100644
--- a/games/marsnomercy/Makefile
+++ b/games/marsnomercy/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv2 # version unspecified actually
BUILD_DEPENDS= scons:devel/scons
LIB_DEPENDS= libpng.so:graphics/png
-USES= compiler
+USES= compiler gl sdl
USE_GL= gl
USE_SDL= sdl image ttf
SCONS_ARGS= prefix=${PREFIX}
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile
index cc9b0fe19590..b3a095244d63 100644
--- a/games/megaglest/Makefile
+++ b/games/megaglest/Makefile
@@ -30,7 +30,7 @@ GH_PROJECT= megaglest-source
SUB_FILES= pkg-message
USES= cmake:insource compiler:c++11-lib display:build dos2unix jpeg lua \
- openal:al,alut pkgconfig ssl localbase:ldflags sdl gl
+ openal:al,alut pkgconfig ssl localbase:ldflags sdl gl xorg
USE_GL= glew gl glu
USE_SDL= sdl2
USE_XORG= sm ice x11 xext
diff --git a/games/megamario/Makefile b/games/megamario/Makefile
index dd3c477358c1..ab7934f1779b 100644
--- a/games/megamario/Makefile
+++ b/games/megamario/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/licence.txt
WRKSRC= ${WRKDIR}/${DISTNAME}
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
-USES= dos2unix gmake zip
+USES= dos2unix gl gmake sdl zip
DOS2UNIX_GLOB= *.cpp *.h *.ini Makefile* *.txt *.desktop
USE_SDL= sdl image mixer ttf
USE_GL= glu
diff --git a/games/memonix/Makefile b/games/memonix/Makefile
index 85da4392940f..ca251fd4396b 100644
--- a/games/memonix/Makefile
+++ b/games/memonix/Makefile
@@ -23,7 +23,7 @@ LICENSE_PERMS_unknown= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_DISTFILES_unknown= memx16.tar.gz
LICENSE_DISTFILES_GPLv2= ${DISTNAME}${EXTRACT_SUFX}
-USES= cmake:insource zip
+USES= cmake:insource gl sdl zip
USE_SDL= sdl mixer image
USE_GL= yes
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index d083df36a4f9..b8995b93dd59 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -11,7 +11,7 @@ DISTFILES= mindfocus-0.88.tar.gz mindfocus-data1.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Lovely characters stay on top of active window
-USES= imake
+USES= imake xorg
USE_XORG= xpm
RESTRICTED= 'contains commercial character data'
diff --git a/games/motogt/Makefile b/games/motogt/Makefile
index afe6b6e3c54a..d76099d66def 100644
--- a/games/motogt/Makefile
+++ b/games/motogt/Makefile
@@ -19,7 +19,7 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt
-USES= localbase:ldflags zip
+USES= gl localbase:ldflags zip
USE_GL= gl
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= Makefile.lnx
diff --git a/games/nadar/Makefile b/games/nadar/Makefile
index b73931aade47..e4b3a885ee97 100644
--- a/games/nadar/Makefile
+++ b/games/nadar/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= hsakai@m8.ffn.ne.jp
COMMENT= Network tank battle game
MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= xpm
MAKE_JOBS_UNSAFE= yes
diff --git a/games/naev/Makefile b/games/naev/Makefile
index 32261a5d16ed..b579aa7a5941 100644
--- a/games/naev/Makefile
+++ b/games/naev/Makefile
@@ -19,7 +19,8 @@ LIB_DEPENDS= libpng.so:graphics/png \
libzip.so:archivers/libzip
RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/${DISTNAME}-ndata.zip:games/naev-data
-USES= autoreconf:build compiler:features gmake pkgconfig tar:bzip2
+USES= autoreconf:build compiler:features gl gmake gnome pkgconfig \
+ tar:bzip2
GNU_CONFIGURE= yes
USE_GL= gl glu
USE_GNOME= libxml2
diff --git a/games/nehquake/Makefile b/games/nehquake/Makefile
index bc9f99ec9f3d..c9f9795525ba 100644
--- a/games/nehquake/Makefile
+++ b/games/nehquake/Makefile
@@ -11,7 +11,7 @@ DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake engine designed for playing Nehahra
-USES= gmake dos2unix tar:bzip2
+USES= gl gmake dos2unix tar:bzip2 xorg
USE_GL= gl
USE_XORG= xxf86dga
@@ -19,6 +19,7 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS SDL X86_ASM
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS SDL X86_ASM
OPTIONS_SUB= yes
+SDL_USES= sdl
SDL_USE= SDL=sdl
SDL_MAKE_ENV= BUILD_SDL=YES
diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index 2bc07b499fd7..0bb610f1c8f0 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -16,7 +16,7 @@ COMMENT= Dungeon explorin', slashin', hackin' game
WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-3.2.2
-USES= tar:tgz
+USES= tar:tgz xorg
USE_XORG= xaw xpm
PLIST_SUB= HACKNAME="${HACKNAME}" \
HACKEXT="${HACKEXT}"
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile
index d32d3b6a0292..3a74711fa3f7 100644
--- a/games/nethack33/Makefile
+++ b/games/nethack33/Makefile
@@ -30,6 +30,7 @@ DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if !defined(PKGNAMESUFFIX)
+USES+= xorg
USE_XORG= xaw xpm
GRAPHICS= X11_GRAPHICS
.else
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 6806148aab0f..7cf7c074ddc4 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -36,6 +36,7 @@ DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if !defined(PKGNAMESUFFIX)
+USES+= xorg
USE_XORG= xaw xpm
GRAPHICS= X11_GRAPHICS
.else
diff --git a/games/nethack36/Makefile b/games/nethack36/Makefile
index 1e988dcffe4b..6a0932a3e818 100644
--- a/games/nethack36/Makefile
+++ b/games/nethack36/Makefile
@@ -36,6 +36,7 @@ DOCSDIR= ${PREFIX}/share/doc/${HACKNAME}
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.if !defined(PKGNAMESUFFIX)
+USES+= xorg
USE_XORG= xaw xpm xmu xext xt x11 sm ice
CFLAGS+= -DX11_GRAPHICS -DUSE_TILES
GRAPHICS= X11_GRAPHICS
diff --git a/games/netherearth/Makefile b/games/netherearth/Makefile
index 3c773487f982..6cdce05da11e 100644
--- a/games/netherearth/Makefile
+++ b/games/netherearth/Makefile
@@ -12,7 +12,7 @@ COMMENT= Remake of the first real time strategy game on the SPECTRUM
GNU_CONFIGURE= yes
-USES= compiler
+USES= compiler gl sdl
USE_GL= gl glu glut
USE_SDL= sdl mixer
diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile
index bbd794115877..52f867167b3e 100644
--- a/games/netradiant/Makefile
+++ b/games/netradiant/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
USES= compiler:c++11-lang gl gmake gnome jpeg localbase:ldflags \
- pkgconfig tar:xz
+ pkgconfig tar:xz xorg
USE_GL= gl glu
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango pangox-compat
USE_XORG= x11
diff --git a/games/netwalk/Makefile b/games/netwalk/Makefile
index 6d704aec359c..a74f27b6e376 100644
--- a/games/netwalk/Makefile
+++ b/games/netwalk/Makefile
@@ -16,7 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= blynn
GH_TAGNAME= cb6b089
-USES= gmake iconv
+USES= gmake iconv sdl xorg
USE_SDL= sdl ttf
USE_XORG= x11 xau xdmcp
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
diff --git a/games/neverball/Makefile b/games/neverball/Makefile
index c454fb9e1d6a..ef13871b21d3 100644
--- a/games/neverball/Makefile
+++ b/games/neverball/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis \
libphysfs.so:devel/physfs
-USES= gmake iconv jpeg
+USES= gl gmake iconv jpeg sdl
USE_GL= gl
USE_SDL= sdl2 ttf2
MAKE_ARGS+= DATADIR="${DATADIR}" \
diff --git a/games/nexuiz/Makefile b/games/nexuiz/Makefile
index a037d2a507c5..aab6c5a5b37a 100644
--- a/games/nexuiz/Makefile
+++ b/games/nexuiz/Makefile
@@ -52,6 +52,7 @@ MAPPACK_DISTFILES= nexmappack_r2${EXTRACT_SUFX}:mappack
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
+USES+= gl xorg
USE_GL= glut
USE_XORG= x11 xpm xxf86vm xxf86dga xext
ALL_TARGET+= cl-release
@@ -66,6 +67,7 @@ DESKTOP_ENTRIES="Nexuiz" \
.endif
.if ${PORT_OPTIONS:MSDL_CLIENT}
+USES+= sdl
USE_SDL= sdl
ALL_TARGET+= sdl-release
PLIST_FILES+= bin/${PORTNAME}-sdl
diff --git a/games/nighthawk/Makefile b/games/nighthawk/Makefile
index d2d238a32e84..68bed867c36d 100644
--- a/games/nighthawk/Makefile
+++ b/games/nighthawk/Makefile
@@ -12,7 +12,7 @@ COMMENT= X11 shoot-'em up which requires some lateral thinking
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= gmake localbase:ldflags tar:bzip2
+USES= gl gmake localbase:ldflags tar:bzip2
USE_GL= glut
MAKE_ARGS= CC="${CC}" CPP="${CXX}" CC_FLAGS="${CXXFLAGS}" \
LIB_FLAGS="${LDFLAGS}" GCC="${CC}" CFLAGS="${CFLAGS}"
diff --git a/games/numptyphysics/Makefile b/games/numptyphysics/Makefile
index a56a1ac6f9a0..2f8df8d80f62 100644
--- a/games/numptyphysics/Makefile
+++ b/games/numptyphysics/Makefile
@@ -13,7 +13,7 @@ COMMENT= Drawing physics-based puzzle game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang tar:bzip2 desktop-file-utils
+USES= compiler:c++11-lang tar:bzip2 desktop-file-utils sdl xorg
GNU_CONFIGURE= yes
USE_SDL= sdl image
USE_XORG= x11
diff --git a/games/oneko-sakura/Makefile b/games/oneko-sakura/Makefile
index 121c7683d18e..6e787af33ab0 100644
--- a/games/oneko-sakura/Makefile
+++ b/games/oneko-sakura/Makefile
@@ -14,7 +14,7 @@ COMMENT= Cat, Sakura or Tomoyo chasing a mouse all over the screen
CONFLICTS= oneko-2.*
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/oneko \
man/man6/oneko.6.gz
diff --git a/games/oneko/Makefile b/games/oneko/Makefile
index 8f443601aae4..5b6b5d74203f 100644
--- a/games/oneko/Makefile
+++ b/games/oneko/Makefile
@@ -23,6 +23,7 @@ BUILD_DEPENDS= nkf:japanese/nkf
CONFLICTS= oneko-1.*
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= x11 xpm xmu
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= install install.man
diff --git a/games/oolite/Makefile b/games/oolite/Makefile
index ad37a676496a..5eb75d7f4d4e 100644
--- a/games/oolite/Makefile
+++ b/games/oolite/Makefile
@@ -24,7 +24,8 @@ LIB_DEPENDS= libespeak.so:audio/espeak \
libpng.so:graphics/png \
libminizip.so:archivers/minizip
-USES= gl gnustep openal:al perl5 python:2.7,build tar:bzip2
+USES= gl gnustep openal:al perl5 python:2.7,build sdl \
+ tar:bzip2 xorg
USE_CXXSTD= gnu++98
USE_GL= gl glu
USE_SDL= sdl
diff --git a/games/oonsoo/Makefile b/games/oonsoo/Makefile
index 6811c1a71819..45c68c1aa47f 100644
--- a/games/oonsoo/Makefile
+++ b/games/oonsoo/Makefile
@@ -12,6 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Solitaire card game for X
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/oonsoo
MAKEFILE= Makefile.Linux
diff --git a/games/openage/Makefile b/games/openage/Makefile
index 2eedebf1b829..53014340d836 100644
--- a/games/openage/Makefile
+++ b/games/openage/Makefile
@@ -31,7 +31,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR}
-USES= cmake compiler:c++17-lang python:3.4+ qt:5 shebangfix
+USES= cmake compiler:c++17-lang gl python:3.4+ qt:5 sdl shebangfix
SHEBANG_FILES= configure run.py buildsystem/cythonize.py
USE_GITHUB= yes
GH_ACCOUNT= SFTtech
diff --git a/games/opencity/Makefile b/games/opencity/Makefile
index a205c4614c2a..9e5b0f38cbdc 100644
--- a/games/opencity/Makefile
+++ b/games/opencity/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= compiler:c11 gmake pkgconfig tar:bzip2
+USES= compiler:c11 gl gmake pkgconfig sdl tar:bzip2
USE_SDL= sdl mixer image net
USE_GL= gl glu
INSTALL_TARGET= install-strip
diff --git a/games/openclonk/Makefile b/games/openclonk/Makefile
index dfead4c97802..76160cb9102b 100644
--- a/games/openclonk/Makefile
+++ b/games/openclonk/Makefile
@@ -28,7 +28,8 @@ LIB_DEPENDS= libalut.so:audio/freealut \
WRKSRC= ${WRKDIR}/openclonk-release-${PORTVERSION}-src
# make install has parallel issues with ninja
-USES= compiler:c++14-lang cmake:noninja desktop-file-utils jpeg openal pkgconfig tar:bzip2
+USES= compiler:c++14-lang cmake:noninja desktop-file-utils gl jpeg \
+ openal pkgconfig sdl tar:bzip2 xorg
USE_GL= gl glew glu
USE_SDL= sdl2
USE_XORG= x11 xpm
diff --git a/games/openjk/Makefile b/games/openjk/Makefile
index fb53059d1f96..0c803c5b823e 100644
--- a/games/openjk/Makefile
+++ b/games/openjk/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libpng.so:graphics/png
-USES= compiler:c++11-lang cmake gl jpeg localbase sdl
+USES= compiler:c++11-lang cmake gl jpeg localbase sdl xorg
USE_GL= gl glu
USE_GITHUB= yes
GH_ACCOUNT= JACoders
diff --git a/games/openssn/Makefile b/games/openssn/Makefile
index c9790b4371bd..a53bbc4ed977 100644
--- a/games/openssn/Makefile
+++ b/games/openssn/Makefile
@@ -13,6 +13,7 @@ COMMENT= Modern submarine simulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= sdl xorg
USE_SDL= sdl gfx image mixer
USE_XORG= x11 xau xdmcp xext xmu xpm xxf86vm
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/osgg/Makefile b/games/osgg/Makefile
index f4d4ee6cc05d..44272383d739 100644
--- a/games/osgg/Makefile
+++ b/games/osgg/Makefile
@@ -16,6 +16,7 @@ GH_ACCOUNT= DusteDdk
GH_PROJECT= Osgg
GH_TAGNAME= 32d9e02 # 1.0 + extra FreeBSD-related fixes
+USES= sdl xorg
USE_SDL= sdl image ttf mixer
USE_GL= gl
MAKE_ENV= DATADIR="${DATADIR}/"
diff --git a/games/phlipple/Makefile b/games/phlipple/Makefile
index bbf49d15f6fa..de158fa1076a 100644
--- a/games/phlipple/Makefile
+++ b/games/phlipple/Makefile
@@ -13,7 +13,7 @@ COMMENT= Flipping squares will never be the same
LIB_DEPENDS= libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis
-USES= desktop-file-utils pkgconfig
+USES= desktop-file-utils gl pkgconfig sdl
USE_SDL= sdl mixer image
USE_GL= gl glew glu
GNU_CONFIGURE= yes
diff --git a/games/pinball/Makefile b/games/pinball/Makefile
index b09b463f862b..67a9b0afa399 100644
--- a/games/pinball/Makefile
+++ b/games/pinball/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl
USE_GITHUB= yes
GH_ACCOUNT= sergiomb2
-USES= autoreconf gl gettext gmake localbase:ldflags libtool:keepla # .la needed for plugin loading
+USES= autoreconf gl gettext gmake localbase:ldflags libtool:keepla sdl xorg # .la needed for plugin loading
USES+= sdl
USE_XORG= ice sm
USE_GL= gl glu
diff --git a/games/pink-pony/Makefile b/games/pink-pony/Makefile
index 254e8946a871..6f9c2617fbab 100644
--- a/games/pink-pony/Makefile
+++ b/games/pink-pony/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libIL.so:graphics/devil \
USE_GITHUB= yes
GH_ACCOUNT= ginkgo
-USES= pkgconfig scons compiler:c++11-lang
+USES= pkgconfig scons compiler:c++11-lang gl sdl
USE_CXXSTD= c++11
USE_GL= gl glu
USE_SDL= mixer
diff --git a/games/pipewalker/Makefile b/games/pipewalker/Makefile
index da52f69707f7..b4fbe5acf847 100644
--- a/games/pipewalker/Makefile
+++ b/games/pipewalker/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= desktop-file-utils localbase
+USES= desktop-file-utils gl localbase sdl
GNU_CONFIGURE= yes
USE_SDL= sdl
USE_GL= gl glu
diff --git a/games/pmars/Makefile b/games/pmars/Makefile
index 8f05921c3db4..004c840e7713 100644
--- a/games/pmars/Makefile
+++ b/games/pmars/Makefile
@@ -50,6 +50,7 @@ SERVER_ARGS+= CFLAGS+="-DSERVER"
.endif
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= x11
TARGETS+= x11
X11_ARGS+= CFLAGS+="-DXWINGRAPHX" \
diff --git a/games/pouetchess/Makefile b/games/pouetchess/Makefile
index 2c5cc6e49b71..d21198882f2e 100644
--- a/games/pouetchess/Makefile
+++ b/games/pouetchess/Makefile
@@ -12,7 +12,7 @@ COMMENT= Open-source 3D chess game
LICENSE= GPLv2 # from sourceforge page
-USES= compiler dos2unix gmake
+USES= compiler dos2unix gl gmake sdl
USE_SDL= sdl image
USE_GL= gl glu
DOS2UNIX_GLOB= *.cpp *.h Makefile config.ini
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index 9fe594e5eb60..91a1d57de568 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= autoreconf localbase tar:tgz
+USES= autoreconf localbase sdl tar:tgz xorg
USE_XORG= xext xxf86dga
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile
index 2de5bf48c50d..68b20f2f1f1c 100644
--- a/games/py-fife/Makefile
+++ b/games/py-fife/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
-USES= cmake compiler:c++11-lang gl openal:al pkgconfig sdl
+USES= cmake compiler:c++11-lang gl openal:al pkgconfig sdl xorg
USE_GL= gl
USE_SDL= sdl2 ttf2 image2
USE_XORG= xcursor
diff --git a/games/q2p/Makefile b/games/q2p/Makefile
index f1e95b96ff80..04548c4e757b 100644
--- a/games/q2p/Makefile
+++ b/games/q2p/Makefile
@@ -11,7 +11,7 @@ DISTNAME= Q2P-0.2-2006-12-31
MAINTAINER= danfe@FreeBSD.org
COMMENT= Enhanced OpenGL-only Quake II engine
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 xorg
USE_XORG= xxf86dga xext xxf86vm x11
ALL_TARGET= release
@@ -37,11 +37,12 @@ SDLGL_DESC= Build SDL OpenGL renderer
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
LIB_DEPENDS+= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
.endif
.if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif
diff --git a/games/q2pro/Makefile b/games/q2pro/Makefile
index a71089e383f1..0dc4aef91cfd 100644
--- a/games/q2pro/Makefile
+++ b/games/q2pro/Makefile
@@ -39,6 +39,7 @@ UI_DESC= Build user interface (for client menus)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
+USES+= sdl
USE_SDL+= sdl
ALL_TARGET+= client
PLIST_SUB+= CLIENT=""
@@ -62,7 +63,7 @@ PLIST_SUB+= GAME="@comment "
.if ${PORT_OPTIONS:MGL}
LIB_DEPENDS+= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= gl
ALL_TARGET+= ref_newgl
PLIST_SUB+= GL=""
diff --git a/games/q3cellshading/Makefile b/games/q3cellshading/Makefile
index 5af9d0fe8f05..20995ed60b9a 100644
--- a/games/q3cellshading/Makefile
+++ b/games/q3cellshading/Makefile
@@ -53,7 +53,8 @@ MAKE_ENV+= DLL_ONLY=true
.endif
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MSMP_CLIENT}
-USE_GL= yes
+USES+= gl xorg
+USE_GL= glu
USE_XORG= xxf86dga
.endif
diff --git a/games/quadra/Makefile b/games/quadra/Makefile
index e09952fb04ac..934d31c66a99 100644
--- a/games/quadra/Makefile
+++ b/games/quadra/Makefile
@@ -14,7 +14,7 @@ COMMENT= Tetris like game with multiplayer support
LIB_DEPENDS= libpng.so:graphics/png
-USES= autoreconf gmake localbase tar:bzip2
+USES= autoreconf gmake localbase sdl tar:bzip2 xorg
USE_SDL= sdl
USE_XORG= x11 xau xdmcp
GNU_CONFIGURE= yes
diff --git a/games/quadrapassel/Makefile b/games/quadrapassel/Makefile
index 014501e895fe..4385821bc2a8 100644
--- a/games/quadrapassel/Makefile
+++ b/games/quadrapassel/Makefile
@@ -26,8 +26,8 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
PORTSCOUT= limitw:1,even
-USES= gettext gmake gnome localbase pathfix \
- pkgconfig tar:xz
+USES= gettext gl gmake gnome localbase pathfix \
+ pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack librsvg2 libxml2:build
INSTALLS_ICONS= yes
USE_GL= gl egl
diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile
index 37f065136b9a..86c956831ce8 100644
--- a/games/quake2lnx/Makefile
+++ b/games/quake2lnx/Makefile
@@ -52,6 +52,7 @@ REDBLUE_DESC= Enable 3D glasses rendering
# ###
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= x11 xext xxf86dga xxf86vm
MAKE_ARGS+= BUILD_X11=YES
REF_TARGETS+= softx
@@ -61,6 +62,7 @@ PLIST_SUB+= X11="@comment "
.endif
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MEYECANDY}
+USES+= gl xorg
USE_GL= gl
USE_XORG= x11 xext xxf86dga xxf86vm
MAKE_ARGS+= BUILD_GLX=YES
@@ -72,7 +74,7 @@ PLIST_SUB+= GLX="@comment "
.if ${PORT_OPTIONS:MEYECANDY}
DISTFILES+= maxpak.pak
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
MAKE_ARGS+= BUILD_QMAX=YES
PLIST_SUB+= QMAX=""
@@ -81,6 +83,7 @@ PLIST_SUB+= QMAX="@comment "
.endif
.if ${PORT_OPTIONS:MSOFTSDL}
+USES+= sdl
USE_SDL= sdl
MAKE_ARGS+= BUILD_SDL=YES
REF_TARGETS+= softsdl
@@ -90,6 +93,7 @@ PLIST_SUB+= SOFTSDL="@comment "
.endif
.if ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
MAKE_ARGS+= BUILD_SDLGL=YES
REF_TARGETS+= sdlgl
@@ -99,6 +103,7 @@ PLIST_SUB+= SDLGL="@comment "
.endif
.if ${PORT_OPTIONS:MSDLCLIENT}
+USES+= sdl
USE_SDL= sdl
MAKE_ARGS+= BUILD_SDLQUAKE2=YES
EXE_TARGETS+= quake2-sdl
diff --git a/games/quake2max/Makefile b/games/quake2max/Makefile
index cd03d7db6695..e16568a682a5 100644
--- a/games/quake2max/Makefile
+++ b/games/quake2max/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/gnu.txt
EXTRACT_DEPENDS= unrar:archivers/unrar
-USES= gmake tar:bzip2
+USES= gmake tar:bzip2 xorg
USE_XORG= x11 xext xxf86vm xxf86dga
ALL_TARGET= release
WRKSRC= ${WRKDIR}/${DISTNAME:S/quake2max/Quake2maX/}
@@ -44,11 +44,12 @@ SDLGL_DESC= Build SDL OpenGL renderer
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
LIB_DEPENDS= libpng.so:graphics/png
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
.endif
.if ${PORT_OPTIONS:MSDLCLIENT} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif
diff --git a/games/quake3/Makefile b/games/quake3/Makefile
index 0544245aacef..5887925aba15 100644
--- a/games/quake3/Makefile
+++ b/games/quake3/Makefile
@@ -55,7 +55,8 @@ MAKE_ENV+= DLL_ONLY=true
.endif
.if ${PORT_OPTIONS:MCLIENT} || ${PORT_OPTIONS:MTHREADS}
-USE_GL= yes
+USES+= gl xorg
+USE_GL= glu
USE_XORG= xxf86dga
.endif
diff --git a/games/qudos/Makefile b/games/qudos/Makefile
index 8c7e196049c7..f8459f8258ff 100644
--- a/games/qudos/Makefile
+++ b/games/qudos/Makefile
@@ -63,12 +63,13 @@ PLIST_SUB+= ${mod}="@comment "
.endfor
.if ${PORT_OPTIONS:MGLX} || ${PORT_OPTIONS:MSDLGL}
-USES+= jpeg
+USES+= gl jpeg
USE_GL= glu
LIB_DEPENDS+= libpng.so:graphics/png
.endif
.if ${PORT_OPTIONS:MSDL} || ${PORT_OPTIONS:MSDLGL}
+USES+= sdl
USE_SDL= sdl
.endif
diff --git a/games/quetoo/Makefile b/games/quetoo/Makefile
index 8ba89b304bd6..1824136c7cf3 100644
--- a/games/quetoo/Makefile
+++ b/games/quetoo/Makefile
@@ -13,9 +13,9 @@ COMMENT= Fast, stable, compatible, and secure Quake II client
LICENSE= GPLv2
-USE_SDL= sdl
+USES= dos2unix gl sdl tar:bzip2
USE_GL= glut
-USES= dos2unix tar:bzip2
+USE_SDL= sdl
DOS2UNIX_FILES= src/vanctf/g_local.h
GNU_CONFIGURE= yes
diff --git a/games/r1q2/Makefile b/games/r1q2/Makefile
index eb27fb7373c7..27f537a39bea 100644
--- a/games/r1q2/Makefile
+++ b/games/r1q2/Makefile
@@ -58,7 +58,7 @@ PLIST_SUB+= GAME="@comment "
.endif
.if ${PORT_OPTIONS:MREF_GL}
-USES+= jpeg
+USES+= gl jpeg sdl
USE_GL= gl
USE_SDL= sdl
LIB_DEPENDS+= libpng.so:graphics/png
diff --git a/games/renpy/Makefile b/games/renpy/Makefile
index 70790c613ba5..074ae5b4966b 100644
--- a/games/renpy/Makefile
+++ b/games/renpy/Makefile
@@ -28,7 +28,7 @@ CONFLICTS_INSTALL?= ${PORTNAME}6-*
# Upstream tends to reroll distfiles before moving under /release/
PORTSCOUT?= site:http://www.renpy.org/dl/release/
-USES= python:2.7 shebangfix tar:bz2
+USES= gl python:2.7 sdl shebangfix tar:bz2
USE_GL= glew
USE_PYTHON= autoplist distutils cython
USE_SDL?= sdl2
diff --git a/games/retroarch/Makefile b/games/retroarch/Makefile
index 4673b301cb6c..e80584dbcdc2 100644
--- a/games/retroarch/Makefile
+++ b/games/retroarch/Makefile
@@ -36,9 +36,11 @@ PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CONFIGURE_ENABLE= alsa
+SDL_USES= sdl
SDL_USE= SDL=sdl2 image2
SDL_CONFIGURE_ON= --disable-sdl --enable-sdl2
SDL_CONFIGURE_OFF= --disable-sdl --disable-sdl2
+OPENGL_USES= gl
OPENGL_USE= GL=gl,egl,gbm
OPENGL_CONFIGURE_ENABLE=opengl
OPENAL_USES= openal:soft
@@ -58,7 +60,7 @@ LDFLAGS+= -pthread
CONFIGURE_ARGS+=--enable-threads
CONFIGURE_ENV+= MAN_DIR=${MANPREFIX}/man
-USES= compiler:c++11-lib gmake pkgconfig shebangfix
+USES= compiler:c++11-lib gmake pkgconfig shebangfix xorg
USE_GITHUB= yes
GH_ACCOUNT= libretro
SUB_FILES= pkg-message
diff --git a/games/rlvm/Makefile b/games/rlvm/Makefile
index e726fd18b5e4..bbb4636a7a6c 100644
--- a/games/rlvm/Makefile
+++ b/games/rlvm/Makefile
@@ -27,7 +27,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
USE_GITHUB= yes
GH_ACCOUNT= eglaysher
-USES= compiler:c++11-lib pkgconfig scons
+USES= compiler:c++11-lib gl gnome pkgconfig scons sdl
USE_GL= glew glu
USE_GNOME= gtk20
USE_SDL= image mixer ttf
diff --git a/games/rubix/Makefile b/games/rubix/Makefile
index 3e0061ec3c37..d0070becbe18 100644
--- a/games/rubix/Makefile
+++ b/games/rubix/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://sed.free.fr/rubix/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Another Rubik's cube game with a rather interesting interface
-USES= compiler:nestedfct gmake tar:bzip2
+USES= compiler:nestedfct gmake tar:bzip2 xorg
USE_XORG= x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DENGLISH" \
XINC="-I${LOCALBASE}/include" XLIB="-L${LOCALBASE}/lib -lX11"
diff --git a/games/sarien/Makefile b/games/sarien/Makefile
index d80df013917a..24720c581cac 100644
--- a/games/sarien/Makefile
+++ b/games/sarien/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/COPYING
GNU_CONFIGURE= yes
-USES= gmake
+USES= gmake xorg
USE_XORG= x11
MAKE_JOBS_UNSAFE= yes
diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile
index 77167c1c7288..bc1d1a1dfd4b 100644
--- a/games/scorched3d/Makefile
+++ b/games/scorched3d/Makefile
@@ -23,8 +23,8 @@ OPTIONS_DEFINE= MYSQL
WRKSRC= ${WRKDIR}/scorched
-USES= autoreconf compiler:c++11-lang dos2unix gmake iconv jpeg \
- openal:al,alut perl5 pkgconfig
+USES= autoreconf compiler:c++11-lang dos2unix gl gmake iconv jpeg \
+ openal:al,alut perl5 pkgconfig sdl
USE_GL= glew glu
USE_SDL= mixer net sdl
USE_WX= 2.8
diff --git a/games/scourge/Makefile b/games/scourge/Makefile
index cadcd16aeed2..6f579d2b6eeb 100644
--- a/games/scourge/Makefile
+++ b/games/scourge/Makefile
@@ -15,7 +15,7 @@ COMMENT= Rogue-like game
LIB_DEPENDS= libfreetype.so:print/freetype2
RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/config/scourge.cfg:games/scourge-data
-USES= autoreconf compiler gettext gmake localbase
+USES= autoreconf compiler gettext gl gmake localbase sdl
GNU_CONFIGURE= yes
USE_GL= gl
USE_SDL= sdl image mixer net ttf
diff --git a/games/sdb/Makefile b/games/sdb/Makefile
index 433781f8b584..cbc21ef99496 100644
--- a/games/sdb/Makefile
+++ b/games/sdb/Makefile
@@ -16,7 +16,7 @@ COMMENT= Futuristic overhead shooter
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake
+USES= gl gmake sdl
USE_SDL= mixer image sdl
USE_GL= gl glu
diff --git a/games/sea-defender/Makefile b/games/sea-defender/Makefile
index 4b554f18a69f..d4cf1107d031 100644
--- a/games/sea-defender/Makefile
+++ b/games/sea-defender/Makefile
@@ -23,7 +23,7 @@ GH_ACCOUNT= snoutmate
GH_PROJECT= Sea-Defender
GH_TAGNAME= d628051
-USES= gmake
+USES= gl gmake sdl xorg
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
USE_XORG= x11 xrandr
diff --git a/games/seahaven/Makefile b/games/seahaven/Makefile
index 2df5713683de..e2dbedd138d6 100644
--- a/games/seahaven/Makefile
+++ b/games/seahaven/Makefile
@@ -12,6 +12,7 @@ MAINTAINER= imp@FreeBSD.org
COMMENT= The classic, lightweight version of Seahaven Towers
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= x11 xext xft
PLIST_FILES= bin/seahaven man/man6/seahaven.6.gz
MAKE_ARGS= bindir=${STAGEDIR}${PREFIX}/bin mandir=${STAGEDIR}${PREFIX}/man
diff --git a/games/searchandrescue/Makefile b/games/searchandrescue/Makefile
index e37c0c3db988..200eb2efafe8 100644
--- a/games/searchandrescue/Makefile
+++ b/games/searchandrescue/Makefile
@@ -15,9 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/share/searchandrescue/human.ini:games/searchandrescue-data
+USES= gl sdl xorg
+USE_GL= gl glu
USE_SDL= mixer
USE_XORG= ice sm x11 xau xdmcp xext xmu xpm xxf86vm
-USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME:tl}_${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} \
diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile
index ae4731ff640b..3ade252e3a6f 100644
--- a/games/shaaft/Makefile
+++ b/games/shaaft/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libpng.so:graphics/png
CONFLICTS= criticalmass-*
-USES= tar:bzip2
+USES= gl sdl tar:bzip2
USE_SDL= mixer image sdl
USE_GL= gl
USE_GCC= any
diff --git a/games/shootingstar/Makefile b/games/shootingstar/Makefile
index ce6ec0a02c27..474b3e09a276 100644
--- a/games/shootingstar/Makefile
+++ b/games/shootingstar/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= SDL/OpenGL top-down shooter
GNU_CONFIGURE= yes
-USES= gmake
+USES= gl gmake sdl
USE_GL= gl
USE_SDL= sdl mixer image
diff --git a/games/simplevaders/Makefile b/games/simplevaders/Makefile
index f0d60c831466..f83cfc7f9585 100644
--- a/games/simplevaders/Makefile
+++ b/games/simplevaders/Makefile
@@ -13,7 +13,7 @@ COMMENT= Space-Invaders like 2D space shooter
LICENSE= GPLv3+
-USES= localbase:ldflags tar:bzip2
+USES= gl localbase:ldflags sdl tar:bzip2
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
diff --git a/games/slune/Makefile b/games/slune/Makefile
index 9fb569d34711..24c31c5a9696 100644
--- a/games/slune/Makefile
+++ b/games/slune/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openal>0:audio/py-openal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}soya3d>0:graphics/py-soya3d@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}py2play>0:net-p2p/py-py2play@${PY_FLAVOR}
-USES= dos2unix gettext python:2.7
+USES= dos2unix gettext gl python:2.7 sdl
DOS2UNIX_GLOB= *.po *.mo
USE_GL= glew
diff --git a/games/sol/Makefile b/games/sol/Makefile
index 9aeb30c0ff85..747d6b437521 100644
--- a/games/sol/Makefile
+++ b/games/sol/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libXaw.so:x11-toolkits/libXaw \
CONFLICTS= gnome-games-*
-USES= gmake
+USES= gmake xorg
USE_XORG= ice sm x11 xext xmu xpm xt
OPTIONS_DEFINE= DOCS
diff --git a/games/solarconquest/Makefile b/games/solarconquest/Makefile
index 9f100e65d801..0488297d741e 100644
--- a/games/solarconquest/Makefile
+++ b/games/solarconquest/Makefile
@@ -13,7 +13,7 @@ DISTNAME= SolarConquest
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Space 2D action game with plenty of shooting
-USES= dos2unix
+USES= gl dos2unix sdl
USE_SDL= sdl mixer image
USE_GL= yes
DOS2UNIX_FILES= makefile source/MenuScreen.h source/main.cpp
diff --git a/games/spacezero/Makefile b/games/spacezero/Makefile
index 4bb560ff8f1a..6a42f83821d5 100644
--- a/games/spacezero/Makefile
+++ b/games/spacezero/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
-USES= openal:al,alut pkgconfig
+USES= openal:al,alut gnome pkgconfig xorg
USE_GNOME= gtk20
USE_XORG= x11
LLD_UNSAFE= yes
diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile
index 5784853ca46b..d1c0b877250d 100644
--- a/games/spellcast/Makefile
+++ b/games/spellcast/Makefile
@@ -12,6 +12,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiplayer fight with spells turn based game for X Window System
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/spellcast man/man6/spellcast.6.gz
PORTDOCS= README spelllist.ps
diff --git a/games/spider/Makefile b/games/spider/Makefile
index bf6016270d44..a05bc6417bf6 100644
--- a/games/spider/Makefile
+++ b/games/spider/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Challenging double decked solitaire game
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext xaw xmu xt sm ice xpm
INSTALL_TARGET= install install.doc
CFLAGS+= -Wno-error=return-type
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 9cc6b45623c5..b412b305159b 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -33,7 +33,8 @@ USE_LDCONFIG= yes
LLD_UNSAFE= yes
DOS2UNIX_GLOB= *.h *.hpp *.cpp
-USES= cmake:insource compiler:c++11-lib dos2unix openal:al tar:lzma
+USES= cmake:insource compiler:c++11-lib dos2unix gl openal:al sdl \
+ tar:lzma xorg
USES+= desktop-file-utils shared-mime-info
CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \
-DAI_TYPES:STRING="NATIVE" \
diff --git a/games/steelstorm/Makefile b/games/steelstorm/Makefile
index 17a9bdaa3d16..921099c1b04d 100644
--- a/games/steelstorm/Makefile
+++ b/games/steelstorm/Makefile
@@ -19,6 +19,7 @@ LICENSE_PERMS_EULA= # none
LICENSE_FILE_EULA= ${WRKSRC}/license.txt
MANUAL_PACKAGE_BUILD= needs interactive license confirmation
+USES= gl
USE_GL= gl
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -40,6 +41,7 @@ CLIENT_DESC= Build client
DEDICATED_DESC= Dedicated server
CLIENT_ALL_TARGET= cl-release
+CLIENT_USES= xorg
CLIENT_USE= XORG=x11,xext,xpm,xxf86dga,xxf86vm
CLIENT_PLIST_FILES= bin/${PORTNAME}
diff --git a/games/supertux/Makefile b/games/supertux/Makefile
index 9dfa6fb9214c..a3768aefbe0f 100644
--- a/games/supertux/Makefile
+++ b/games/supertux/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= https://github.com/SuperTux/downloads/raw/master/
MAINTAINER= ports@FreeBSD.org
COMMENT= Side-scroller game similar to Super Mario Brothers
-USES= gmake tar:bzip2
+USES= gl gmake sdl tar:bzip2
USE_SDL= image mixer
USE_GL= gl
GNU_CONFIGURE= yes
diff --git a/games/sxsame/Makefile b/games/sxsame/Makefile
index 303fe6033bb5..578f8c15a4a6 100644
--- a/games/sxsame/Makefile
+++ b/games/sxsame/Makefile
@@ -17,7 +17,7 @@ MASTER_SITE_SUBDIR= VinePlus/1.1/JG-0.9.1/sources
MAINTAINER= ports@FreeBSD.org
COMMENT= Tile-removing puzzle game for the X Window system
-USES= imake
+USES= imake xorg
USE_XORG= xpm
INSTALL_TARGET= install install.dir
diff --git a/games/tanglet/Makefile b/games/tanglet/Makefile
index ce8ccab513e7..f8f91a8c059c 100644
--- a/games/tanglet/Makefile
+++ b/games/tanglet/Makefile
@@ -14,7 +14,7 @@ COMMENT= Single player word finding game based on Boggle
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake \
+USES= compiler:c++11-lib desktop-file-utils gl pkgconfig qmake \
qt:5 shared-mime-info tar:bzip2
USE_GL= gl
USE_QT= buildtools_build linguisttools_build core gui widgets
diff --git a/games/tenebrae/Makefile b/games/tenebrae/Makefile
index e80b51418988..c549adc22b19 100644
--- a/games/tenebrae/Makefile
+++ b/games/tenebrae/Makefile
@@ -14,7 +14,7 @@ COMMENT= Quake engine with lighting similar to that in Doom III
LIB_DEPENDS= libpng.so:graphics/png
-USES= gl gmake dos2unix zip
+USES= gl gmake dos2unix sdl xorg zip
USE_GL= gl glu
USE_SDL= sdl
USE_XORG= x11 xext xxf86vm xxf86dga
diff --git a/games/tetrons/Makefile b/games/tetrons/Makefile
index 8d60ba6fdc38..6fe06316c11a 100644
--- a/games/tetrons/Makefile
+++ b/games/tetrons/Makefile
@@ -11,6 +11,7 @@ COMMENT= Tetris(TM) clone for X11
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= x11 xext xi
PLIST_FILES= bin/tetrons
diff --git a/games/thegrind/Makefile b/games/thegrind/Makefile
index 0d3be7fab9b8..64152c662086 100644
--- a/games/thegrind/Makefile
+++ b/games/thegrind/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libphysfs.so.1:devel/physfs
RUN_DEPENDS= zip:archivers/zip
-USES= pkgconfig
+USES= gl pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/games/tomatoes/Makefile b/games/tomatoes/Makefile
index 1b957e4215e3..39189256ee71 100644
--- a/games/tomatoes/Makefile
+++ b/games/tomatoes/Makefile
@@ -17,7 +17,7 @@ LICENSE= ZLIB
DATAVERSION= 1.5
DATA_WRKSRC= ${WRKDIR}/tomatoes-${DATAVERSION}
-USES= tar:bzip2 gmake
+USES= gl gmake sdl tar:bzip2
USE_SDL= mixer image
USE_GL= gl glu
MAKEFILE= makefile
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index c10740ffb3e1..4ca54db4c6ae 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= bash:shells/bash
MAKE_JOBS_UNSAFE= yes
USES= compiler:c++11-lang cpe gl gmake openal:al,alut shebangfix \
- tar:bzip2
+ tar:bzip2 xorg
CPE_VENDOR= bernhard_wymann
SHEBANG_FILES= src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \
src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \
diff --git a/games/traingame/Makefile b/games/traingame/Makefile
index fb1f745698d0..e6c5e5842bad 100644
--- a/games/traingame/Makefile
+++ b/games/traingame/Makefile
@@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= nickg
GH_TAGNAME= cb6513e
-USES= cmake:insource compiler:c++11-lib dos2unix pkgconfig
+USES= cmake:insource compiler:c++11-lib dos2unix gl pkgconfig sdl
DOS2UNIX_GLOB= *.mtl *.obj
USE_CXXSTD= c++11
USE_SDL= sdl image
diff --git a/games/tremulous/Makefile b/games/tremulous/Makefile
index 64161e63c12f..55f32a9e0c96 100644
--- a/games/tremulous/Makefile
+++ b/games/tremulous/Makefile
@@ -59,13 +59,16 @@ MAKE_ENV+= USE_OPENAL_DLOPEN=1
. endif
# SDL
. if ${PORT_OPTIONS:MSDL_AUDIO}
+USES+= sdl
USE_SDL= sdl
MAKE_ENV+= USE_SDL_AUDIO=1
. endif
. if ${PORT_OPTIONS:MSDL_VIDEO}
+USES+= sdl
USE_SDL= sdl
MAKE_ENV+= USE_SDL_VIDEO=1
. else
+USES+= gl xorg
USE_GL= gl
USE_XORG= x11 xxf86dga
. endif
diff --git a/games/trenchbroom/Makefile b/games/trenchbroom/Makefile
index 68d6a4e9cb72..dbadfd9d1066 100644
--- a/games/trenchbroom/Makefile
+++ b/games/trenchbroom/Makefile
@@ -18,7 +18,7 @@ GH_ACCOUNT= kduske
GH_PROJECT= TrenchBroom
GH_TAGNAME= ed46601
-USES= cmake:insource compiler:c++11-lib pkgconfig
+USES= cmake:insource compiler:c++11-lib gl pkgconfig
USE_GL= glew
USE_WX= 3.0+
CMAKE_ARGS= -DAPP_BUILD_CHANNEL:STRING="Beta for ${OPSYS}/${ARCH}"
diff --git a/games/tux-aqfh/Makefile b/games/tux-aqfh/Makefile
index 99dbc83614c2..d301e62e642a 100644
--- a/games/tux-aqfh/Makefile
+++ b/games/tux-aqfh/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
-USES= gmake
+USES= gl gmake
USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
diff --git a/games/tuxkart/Makefile b/games/tuxkart/Makefile
index bbc89ea7ed9d..958f3fd2880c 100644
--- a/games/tuxkart/Makefile
+++ b/games/tuxkart/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
-USES= gmake
+USES= gl gmake
USE_GL= gl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
index 52c32a04784d..396cf2ca3f38 100644
--- a/games/tuxracer/Makefile
+++ b/games/tuxracer/Makefile
@@ -16,10 +16,10 @@ COMMENT= 3D penguin racing game using OpenGL
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= gl gmake sdl tk xorg
USE_SDL= mixer sdl
USE_GL= gl
USE_XORG= x11 xt xmu xi
-USES= gmake tk
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \
--with-tcl-libs="${LOCALBASE}/lib" \
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile
index b67eeca16cc1..8a676c1cd7ff 100644
--- a/games/ufoai/Makefile
+++ b/games/ufoai/Makefile
@@ -25,11 +25,11 @@ BUILD_DEPENDS= zip:archivers/zip
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/base/default.cfg:games/ufoai-data
ALL_TARGET= all lang
+USES= compiler:c++11-lang gettext gl gmake jpeg openal:soft \
+ pkgconfig python:build sdl tar:bzip2
USE_GL= yes
USE_SDL= sdl image mixer ttf
USE_CXXSTD= c++11
-USES= compiler:c++11-lang gettext gmake jpeg openal:soft pkgconfig \
- python:build tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-release --target-os=freebsd
LDFLAGS+= -lpthread -lexecinfo
@@ -70,6 +70,7 @@ PLIST_SUB+= UFO2MAP="@comment "
.if ${PORT_OPTIONS:MUFORADIANT}
ALL_TARGET+= uforadiant
CONFIGURE_ARGS+=--enable-uforadiant
+USES+= gnome
USE_GNOME+= gtk20 glib20 gtksourceview2 libxml2
LIB_DEPENDS+= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
RADIANT_FILES= colours.xml game.xml input.xml mapdef.template menu.xml user.xml
diff --git a/games/uhexen2/Makefile b/games/uhexen2/Makefile
index 967caa3edc1d..b7e0e92f1b4a 100644
--- a/games/uhexen2/Makefile
+++ b/games/uhexen2/Makefile
@@ -19,7 +19,7 @@ COMMENT= Hexen II source port supporting Linux/FreeBSD/Unix/Windows
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gmake pkgconfig tar:tgz
+USES= gl gmake pkgconfig sdl tar:tgz
USE_GL= gl
USE_SDL= sdl
MAKE_ARGS= X11BASE="${LOCALBASE}"
diff --git a/games/ultimatestunts/Makefile b/games/ultimatestunts/Makefile
index 9d5b84c796ae..ccc60ea75b61 100644
--- a/games/ultimatestunts/Makefile
+++ b/games/ultimatestunts/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
-USES= compiler gettext openal:al,alut pkgconfig
+USES= compiler gettext gl openal:al,alut pkgconfig sdl
USE_GL= gl glu
USE_SDL= sdl image
GNU_CONFIGURE= yes
diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile
index 5cb848962678..237853a382c9 100644
--- a/games/valyriatear/Makefile
+++ b/games/valyriatear/Makefile
@@ -24,7 +24,7 @@ GH_PROJECT= ValyriaTear
GH_TAGNAME= ${PORTVERSION}-gcc5 # contains relevant tolua++ fixes
USES= alias cmake compiler:c++11-lang gettext-tools gl iconv lua:51 \
- openal sdl
+ openal sdl xorg
CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF
USE_SDL= sdl image ttf
USE_GL= gl glu
diff --git a/games/vamos/Makefile b/games/vamos/Makefile
index f0b895ecaf0c..a68980131971 100644
--- a/games/vamos/Makefile
+++ b/games/vamos/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
libpng.so:graphics/png
-USES= compiler:c++11-lang libtool openal:al,alut pkgconfig
+USES= compiler:c++11-lang gl libtool openal:al,alut pkgconfig sdl xorg
USE_CXXSTD= c++98
USE_XORG= sm ice x11 xi xext xmu
USE_GL= glut
diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile
index 342024ff5368..05dc595e24be 100644
--- a/games/vegastrike/Makefile
+++ b/games/vegastrike/Makefile
@@ -26,7 +26,8 @@ LIB_DEPENDS= ${PY_BOOST} \
libfreetype.so:print/freetype2
USES= compiler:c++11-lang dos2unix gl gmake gnome jpeg \
- localbase:ldflags openal:al pkgconfig python:2.7 sdl tar:bzip2
+ localbase:ldflags openal:al pkgconfig python:2.7 sdl tar:bzip2 \
+ xorg
USE_CXXSTD= c++98
USE_SDL= sdl
USE_GL= gl glu glut
diff --git a/games/wargus/Makefile b/games/wargus/Makefile
index 45a3d43301e4..6eec4a5b4aeb 100644
--- a/games/wargus/Makefile
+++ b/games/wargus/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= Wargus
-USES= cmake compiler:c++11-lang pkgconfig
+USES= cmake compiler:c++11-lang gnome pkgconfig xorg
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DSHAREDIR:STRING="${DATADIR_REL}"
USE_XORG= x11
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index 45b3b80b7846..832e8219c12e 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs \
RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
USES= bison compiler:c++11-lib gl gmake localbase openal:al pkgconfig \
- qmake:no_env qt:5 sdl ssl tar:xz
+ qmake:no_env qt:5 sdl ssl tar:xz xorg
GNU_CONFIGURE= yes
USE_GL= gl glu glew
USE_SDL= sdl2
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index b21fc2e3a87b..4a7d59cd6993 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -26,8 +26,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lboost_system
PORTSCOUT= limitw:1,even
-USES= cmake compiler:c++11-lang cpe pkgconfig \
- python:2.7,run readline:port shebangfix ssl tar:bzip2
+USES= cmake compiler:c++11-lang cpe gnome pkgconfig \
+ python:2.7,run readline:port shebangfix ssl sdl tar:bzip2 xorg
USE_SDL= image2 mixer2 ttf2
USE_LDCONFIG= yes
USE_GNOME= cairo pango
diff --git a/games/wmqstat/Makefile b/games/wmqstat/Makefile
index a7510a863cf1..21cc0cf6edf0 100644
--- a/games/wmqstat/Makefile
+++ b/games/wmqstat/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2
RUN_DEPENDS= qstat:games/qstat
+USES= xorg
USE_XORG= xpm x11 xext
PLIST_FILES= bin/${PORTNAME}
diff --git a/games/wmtictactoe/Makefile b/games/wmtictactoe/Makefile
index 50ec6606ee2d..85b90ebd435e 100644
--- a/games/wmtictactoe/Makefile
+++ b/games/wmtictactoe/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/../COPYING
WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe
+USES= gmake xorg
USE_XORG= x11 xext xpm
-USES= gmake
PLIST_FILES= bin/wmtictactoe
diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile
index 0fc32177ee46..01c01f53beee 100644
--- a/games/worldofpadman/Makefile
+++ b/games/worldofpadman/Makefile
@@ -73,6 +73,7 @@ MAKE_ENV+= USE_OPENAL_DLOPEN=1
. endif
. endif
# SDL
+USES+= gl sdl
USE_GL= glu
USE_SDL= sdl
# Vorbis
diff --git a/games/xasteroids/Makefile b/games/xasteroids/Makefile
index 7b1485f81eef..e1e39fd2f849 100644
--- a/games/xasteroids/Makefile
+++ b/games/xasteroids/Makefile
@@ -18,6 +18,7 @@ EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
+USES= xorg
USE_XORG= x11 xext
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/games/xataxx/Makefile b/games/xataxx/Makefile
index 85b56540bfc4..cd5596cc3d0d 100644
--- a/games/xataxx/Makefile
+++ b/games/xataxx/Makefile
@@ -13,7 +13,7 @@ COMMENT= Strategy game of position and movement for X Window System
OPTIONS_DEFINE= DOCS
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext
post-install:
diff --git a/games/xbat/Makefile b/games/xbat/Makefile
index 46ca6a25e334..1a3f3e13b2a1 100644
--- a/games/xbat/Makefile
+++ b/games/xbat/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
NO_CDROM= Possible copyright infringement
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/Xev111
ALL_TARGET= xbat
diff --git a/games/xbill/Makefile b/games/xbill/Makefile
index 4f8e997aaa37..5954621a40dc 100644
--- a/games/xbill/Makefile
+++ b/games/xbill/Makefile
@@ -27,6 +27,7 @@ PLIST_FILES= bin/${PORTNAME} \
PORTDATA= *
+USES= xorg
USE_XORG= xt x11 sm ice xpm
OPTIONS_SINGLE= WIDGETSET
diff --git a/games/xbl/Makefile b/games/xbl/Makefile
index 59fd4574c77d..019d997c35a1 100644
--- a/games/xbl/Makefile
+++ b/games/xbl/Makefile
@@ -12,6 +12,7 @@ COMMENT= 3D block-dropping game
LICENSE= GPLv1+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_prog_IMAKE="" ac_cv_prog_XMKMF=""
diff --git a/games/xblood/Makefile b/games/xblood/Makefile
index 769902851597..8a1657ea649f 100644
--- a/games/xblood/Makefile
+++ b/games/xblood/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xblood man/man1/xblood.1.gz
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 91dbf7d6accb..1de46f83a052 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -58,8 +58,8 @@ GTK2_CONFIGURE_WITH= gtk
.include <bsd.port.options.mk>
-USES+= desktop-file-utils makeinfo perl5 pkgconfig shared-mime-info \
- shebangfix
+USES+= desktop-file-utils gnome makeinfo perl5 pkgconfig \
+ shared-mime-info shebangfix xorg
USE_XORG+= xt xpm
USE_GNOME+= librsvg2
.if ${PORT_OPTIONS:MXAW}
diff --git a/games/xboing/Makefile b/games/xboing/Makefile
index bd4bb55486ca..7ee98b425c8e 100644
--- a/games/xboing/Makefile
+++ b/games/xboing/Makefile
@@ -13,7 +13,7 @@ COMMENT= X11 arcade game
LICENSE= MIT
-USES= imake
+USES= imake xorg
USE_XORG= xpm xext x11
WRKSRC= ${WRKDIR}/xboing
diff --git a/games/xbomb/Makefile b/games/xbomb/Makefile
index e487cf1a8f8d..c72946add7f6 100644
--- a/games/xbomb/Makefile
+++ b/games/xbomb/Makefile
@@ -12,7 +12,7 @@ COMMENT= Minesweeper with a couple of grid types
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= pkgconfig tar:tgz
+USES= pkgconfig tar:tgz xorg
USE_XORG= xaw7
do-build:
diff --git a/games/xbubble/Makefile b/games/xbubble/Makefile
index 6475a461544a..9783ec016752 100644
--- a/games/xbubble/Makefile
+++ b/games/xbubble/Makefile
@@ -15,9 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
+USES= gmake xorg
USE_XORG= x11 xmu
GNU_CONFIGURE= yes
-USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/games/xchadance/Makefile b/games/xchadance/Makefile
index ab4e7ecc4ba6..85f5928aa56d 100644
--- a/games/xchadance/Makefile
+++ b/games/xchadance/Makefile
@@ -12,7 +12,7 @@ DISTFILES= xchada01.lzh
MAINTAINER= ports@FreeBSD.org
COMMENT= Display a dancing girl "ChaCha."
-USES= lha
+USES= lha xorg
USE_XORG= x11
MAKEFILE= makefile
NO_WRKSUBDIR= yes
diff --git a/games/xcheckers/Makefile b/games/xcheckers/Makefile
index f8357b1beb4b..0c9779cd0ec6 100644
--- a/games/xcheckers/Makefile
+++ b/games/xcheckers/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://arton.cunst.net/xcheckers/
MAINTAINER= ports@FreeBSD.org
COMMENT= Checkers game for X11
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xpm
post-patch:
diff --git a/games/xchomp/Makefile b/games/xchomp/Makefile
index bf462c0c11fe..7fde3c45dbda 100644
--- a/games/xchomp/Makefile
+++ b/games/xchomp/Makefile
@@ -12,7 +12,7 @@ COMMENT= Pac-man-like game under X11
WRKSRC= ${WRKDIR}/xchomp
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xchomp
diff --git a/games/xconq/Makefile b/games/xconq/Makefile
index c68816be5117..dbeda68179a8 100644
--- a/games/xconq/Makefile
+++ b/games/xconq/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
OPTIONS_DEFINE= SDL
-USES= compiler gmake makeinfo tar:bzip2
+USES= compiler gmake makeinfo tar:bzip2 xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-alternate-scoresdir=${SCOREDIR} \
@@ -37,6 +37,7 @@ SCOREDIR?= /var/games/xconq
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSDL}
+USES+= sdl
USE_SDL= sdl
CONFIGURE_ARGS+=--enable-default-ui=sdl
PLIST_SUB+= NOSDL="@comment "
diff --git a/games/xcubes/Makefile b/games/xcubes/Makefile
index e6ac777bb6d5..e6bac3686428 100644
--- a/games/xcubes/Makefile
+++ b/games/xcubes/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Cube puzzle for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xcubes \
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile
index 0167023c60cb..d87546770f72 100644
--- a/games/xdeblock/Makefile
+++ b/games/xdeblock/Makefile
@@ -13,7 +13,7 @@ COMMENT= Block action game
WRKSRC= ${WRKDIR}/xdeblo_v1.0
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= xpm
CFLAGS+= -Wno-return-type
diff --git a/games/xdemineur/Makefile b/games/xdemineur/Makefile
index 23ab69964003..0d7ad0f535b5 100644
--- a/games/xdemineur/Makefile
+++ b/games/xdemineur/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= XCONTRIB/games \
MAINTAINER= ports@FreeBSD.org
COMMENT= Another minesweeper game for the X Window System
-USES= imake
+USES= imake xorg
USE_XORG= xpm
PLIST_FILES= bin/xdemineur \
man/man1/xdemineur.1.gz
diff --git a/games/xdesktopwaves/Makefile b/games/xdesktopwaves/Makefile
index 6f21dc4e7d28..393c2d423d99 100644
--- a/games/xdesktopwaves/Makefile
+++ b/games/xdesktopwaves/Makefile
@@ -13,6 +13,7 @@ COMMENT= Simulation of water waves on the desktop
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xdesktopwaves \
diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile
index d025c3668699..c285472c0cca 100644
--- a/games/xdigger/Makefile
+++ b/games/xdigger/Makefile
@@ -13,7 +13,7 @@ COMMENT= Boulderdash-like KC85 Digger for X Window System
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
DESKTOP_ENTRIES="XDigger" "" "" "${PORTNAME}" "" ""
diff --git a/games/xdino/Makefile b/games/xdino/Makefile
index 3ff551ed9856..1d1d934dd3b1 100644
--- a/games/xdino/Makefile
+++ b/games/xdino/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Dino puzzle game for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xdino \
diff --git a/games/xevil/Makefile b/games/xevil/Makefile
index 064094fccd38..7616af7b0618 100644
--- a/games/xevil/Makefile
+++ b/games/xevil/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/gpl.txt
NO_WRKSUBDIR= yes
-USES= dos2unix zip
+USES= dos2unix xorg zip
USE_XORG= xpm
DOS2UNIX_GLOB= *.cpp *.h config.mk makefile
MAKEFILE= makefile
diff --git a/games/xeyesplus/Makefile b/games/xeyesplus/Makefile
index 9daebd6c59cd..36fe451a45d2 100644
--- a/games/xeyesplus/Makefile
+++ b/games/xeyesplus/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Horrible eyes looking at your mouse cursor
+USES= xorg
USE_XORG= xpm
PLIST_FILES= bin/xeyes+
diff --git a/games/xfireworks/Makefile b/games/xfireworks/Makefile
index 0a317564969b..e8e53314a43a 100644
--- a/games/xfireworks/Makefile
+++ b/games/xfireworks/Makefile
@@ -13,6 +13,7 @@ COMMENT= Fireworks on X
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
+USES= xorg
USE_XORG= x11
do-install:
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index 935daace4329..3705ea15cc31 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -21,8 +21,8 @@ NO_CDROM= Possible trademark infringement
WRKSRC= ${WRKDIR}/XFrisk
+USES= gmake xorg
USE_XORG= x11 xt xaw xmu sm ice
-USES= gmake
MAKE_ENV= XDIR="${LOCALBASE}"
do-install:
diff --git a/games/xgalaga++/Makefile b/games/xgalaga++/Makefile
index ef1ab41791ce..97ba148ef05c 100644
--- a/games/xgalaga++/Makefile
+++ b/games/xgalaga++/Makefile
@@ -15,7 +15,7 @@ COMMENT= Classic single screen vertical shoot em up
LICENSE= GPLv2
-USES= gmake
+USES= gmake xorg
USE_XORG= x11 xpm
ALL_TARGET= ${PORTNAME}
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index 38980b72190c..56e9b6b97de0 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -11,7 +11,7 @@ COMMENT= Clone of the classic game Galaga for X11
LICENSE= GPLv2
-USES= gmake
+USES= gmake xorg
USE_XORG= xpm xmu
HAS_CONFIGURE= yes
diff --git a/games/xglk/Makefile b/games/xglk/Makefile
index da5ca877bd6e..3722346bfc6b 100644
--- a/games/xglk/Makefile
+++ b/games/xglk/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS+= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= jpeg
+USES= jpeg xorg
USE_XORG= x11
MAKE_ENV+= AR=${AR} RANLIB=${RANLIB} ECHO=${ECHO} RM=${RM:Q}
diff --git a/games/xhexagons/Makefile b/games/xhexagons/Makefile
index ec5b88706b71..d8c3da1c9fa5 100644
--- a/games/xhexagons/Makefile
+++ b/games/xhexagons/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Hexagons puzzle (similar to Fifteen Puzzle) for X Window System
WRKSRC= ${WRKDIR}/xhexagons
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xhexagons \
diff --git a/games/xhime/Makefile b/games/xhime/Makefile
index e5ea8e595698..930dc293b483 100644
--- a/games/xhime/Makefile
+++ b/games/xhime/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Resident Himechan for X Window System
WRKSRC= ${WRKDIR}/xhime1.51
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
NO_CDROM= Contains commercial character data
diff --git a/games/xinfocom/Makefile b/games/xinfocom/Makefile
index efcbf71e5d52..c75b1e720f0f 100644
--- a/games/xinfocom/Makefile
+++ b/games/xinfocom/Makefile
@@ -11,7 +11,7 @@ DISTNAME= unix8m
MAINTAINER= ports@FreeBSD.org
COMMENT= Infocom game interpreter for X11
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= xt sm ice xext x11
WRKSRC= ${WRKDIR}/xinfocom
diff --git a/games/xinvaders/Makefile b/games/xinvaders/Makefile
index 1a094f443076..a652bf929205 100644
--- a/games/xinvaders/Makefile
+++ b/games/xinvaders/Makefile
@@ -12,7 +12,7 @@ COMMENT= Shoot-em-up them nasty little bugs
NO_CDROM= don't sell for profit
-USES= gettext
+USES= gettext xorg
USE_XORG= x11 xmu xaw xt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-scorefile=/var/games/xinvaders.scores
diff --git a/games/xisola/Makefile b/games/xisola/Makefile
index d159ecc97edb..a2cb9e1e310d 100644
--- a/games/xisola/Makefile
+++ b/games/xisola/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple board game for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= x11 xext xaw xmu xt sm ice
PLIST_FILES= bin/xisola
diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile
index 53fb6bba66ea..142270168178 100644
--- a/games/xjewel/Makefile
+++ b/games/xjewel/Makefile
@@ -14,7 +14,7 @@ COMMENT= X11 dropping jewels game
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \
mkfontscale>=0:x11-fonts/mkfontscale
-USES= fonts imake
+USES= fonts imake xorg
USE_XORG= x11 xext
DESKTOP_ENTRIES="XJewel" "" "" "${PORTNAME}" "" ""
diff --git a/games/xjig/Makefile b/games/xjig/Makefile
index 888b00bbb896..2e41a7a640c5 100644
--- a/games/xjig/Makefile
+++ b/games/xjig/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Jigsaw puzzle game for X11
-USES= compiler tar:tgz
+USES= compiler tar:tgz xorg
USE_XORG= x11 xorgproto xext
MAKEFILE= Makefile.Linux
PLIST_FILES= bin/xjig man/man1/xjig.1.gz
diff --git a/games/xjump/Makefile b/games/xjump/Makefile
index d37b41f5dc34..80d6c2449bd0 100644
--- a/games/xjump/Makefile
+++ b/games/xjump/Makefile
@@ -13,6 +13,7 @@ COMMENT= Simple X game where one tries to jump up as many levels as possible
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/g}
+USES= xorg
USE_XORG= xpm xaw
MAKE_ARGS= CC="${CC} ${CFLAGS}" RECORD_FILE="/var/games/xjump.record" \
IDIR="-I${LOCALBASE}/include" LDIR="-L${LOCALBASE}/lib"
diff --git a/games/xjumpx/Makefile b/games/xjumpx/Makefile
index 6d08328ce31f..93c2d5e8b23c 100644
--- a/games/xjumpx/Makefile
+++ b/games/xjumpx/Makefile
@@ -13,6 +13,7 @@ COMMENT= Improved version of xjump
LICENSE= BSD2CLAUSE
MAKE_ENV= X11BASE=${LOCALBASE}
+USES= xorg
USE_XORG= xpm xaw
SUB_FILES= pkg-message
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 8877079d680c..2bc6b7e84b34 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -20,7 +20,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME:S/x//}${PORTVERSION}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
MAKE_JOBS_UNSAFE= yes
diff --git a/games/xlaby/Makefile b/games/xlaby/Makefile
index 343b2ca844e7..6a8e0b997589 100644
--- a/games/xlaby/Makefile
+++ b/games/xlaby/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Daemonic X Labyrinth played directly with the mouse pointer
NO_WRKSUBDIR= yes
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11
PLIST_FILES= man/man6/xlaby.6.gz
diff --git a/games/xlife/Makefile b/games/xlife/Makefile
index b398d8f214fe..949fedec9b00 100644
--- a/games/xlife/Makefile
+++ b/games/xlife/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS= gawk:lang/gawk
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
-USES= imake:notall tar:bzip2
+USES= imake:notall tar:bzip2 xorg
USE_XORG= x11
PORTDOCS= *
diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile
index b17409c161a6..9e9a8d876b8e 100644
--- a/games/xmahjongg/Makefile
+++ b/games/xmahjongg/Makefile
@@ -12,6 +12,7 @@ COMMENT= Chinese game of Mahjongg for X11
LICENSE= GPLv2
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/games/xmastermind/Makefile b/games/xmastermind/Makefile
index 544cb095b7ee..3e27408cbcb6 100644
--- a/games/xmastermind/Makefile
+++ b/games/xmastermind/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libforms.so:x11-toolkits/xforms
+USES= xorg
USE_XORG= x11 xpm
MAKE_ENV= GRAPHLIBS="${LDFLAGS}"
diff --git a/games/xmball/Makefile b/games/xmball/Makefile
index 4093c4ab5a51..d3e274494fac 100644
--- a/games/xmball/Makefile
+++ b/games/xmball/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Masterball puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xmball \
diff --git a/games/xmemory/Makefile b/games/xmemory/Makefile
index a00c56796b51..88fe44f69e25 100644
--- a/games/xmemory/Makefile
+++ b/games/xmemory/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/games/multiplayer
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-player memory game
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_CXXSTD= c++98
USE_XORG= x11 xext
MAKE_ENV= DATADIR="${DATADIR}"
diff --git a/games/xmille/Makefile b/games/xmille/Makefile
index 2e59e05d728c..074e87a19314 100644
--- a/games/xmille/Makefile
+++ b/games/xmille/Makefile
@@ -13,7 +13,7 @@ COMMENT= X window mille bourne game
WRKSRC= ${WRKDIR}/Mille
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xmille man/man1/xmille.1.gz
MAKE_JOBS_UNSAFE= yes
diff --git a/games/xmine/Makefile b/games/xmine/Makefile
index 1de812b32a6b..9110bfc5489b 100644
--- a/games/xmine/Makefile
+++ b/games/xmine/Makefile
@@ -14,7 +14,7 @@ COMMENT= The `Athena' port of the xminesweeper game
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
-USES= imake
+USES= imake xorg
USE_XORG= x11 xaw xext xmu xt xpm sm ice
.include <bsd.port.mk>
diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile
index 156741afc4ed..f09a8a3e3a0a 100644
--- a/games/xminehunter/Makefile
+++ b/games/xminehunter/Makefile
@@ -17,7 +17,7 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= compiler motif
+USES= compiler motif xorg
USE_XORG= xpm
ALL_TARGET= ${PORTNAME}
diff --git a/games/xmines/Makefile b/games/xmines/Makefile
index 34a40dfb18f5..3fa1e284c583 100644
--- a/games/xmines/Makefile
+++ b/games/xmines/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Minesweeper game for the X Window System
+USES= xorg
USE_XORG= x11 xt
CFLAGS+= -Wno-error=return-type
diff --git a/games/xminesweep/Makefile b/games/xminesweep/Makefile
index 743ed0004100..699190a89de6 100644
--- a/games/xminesweep/Makefile
+++ b/games/xminesweep/Makefile
@@ -14,7 +14,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 minesweeper game
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext xmu xaw xt xpm sm ice
PLIST_FILES= bin/xminesweep man/man1/xminesweep.1.gz
diff --git a/games/xmlink/Makefile b/games/xmlink/Makefile
index 4131d63435fb..7bee826d6278 100644
--- a/games/xmlink/Makefile
+++ b/games/xmlink/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Missing Link puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xmlink \
diff --git a/games/xmris/Makefile b/games/xmris/Makefile
index 209c89e88e84..44a15328c519 100644
--- a/games/xmris/Makefile
+++ b/games/xmris/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Version of the Mr Do video arcade game for X11
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext xaw xmu xt sm ice
ALL_TARGET= xmris xmred Xmris.ad
diff --git a/games/xmulti/Makefile b/games/xmulti/Makefile
index c85450d169d2..9ccaef092af4 100644
--- a/games/xmulti/Makefile
+++ b/games/xmulti/Makefile
@@ -13,7 +13,7 @@ COMMENT= X11 mascot based on gal-game "To Heart"
WRKSRC= ${WRKDIR}/xmulti200beta4
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xaw xmu xt xpm sm ice
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
diff --git a/games/xneko/Makefile b/games/xneko/Makefile
index 04832c9d18b6..444f832404fc 100644
--- a/games/xneko/Makefile
+++ b/games/xneko/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The classic cat-and-mouse
NO_WRKSUBDIR= yes
-USES= imake
+USES= imake xorg
USE_XORG= x11
PLIST_FILES= bin/xneko man/man6/xneko.6.gz
diff --git a/games/xoct/Makefile b/games/xoct/Makefile
index 4383136bb0a7..7e24146d3ba5 100644
--- a/games/xoct/Makefile
+++ b/games/xoct/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Oct puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xoct \
diff --git a/games/xoids/Makefile b/games/xoids/Makefile
index 275e06a1c800..755d8d15cea3 100644
--- a/games/xoids/Makefile
+++ b/games/xoids/Makefile
@@ -13,7 +13,7 @@ COMMENT= X Window Asteroids style game with full color pixmaps
NOT_FOR_ARCHS= mips64
NOT_FOR_ARCHS_REASON= unknown architecture
-USES= imake
+USES= imake xorg
USE_XORG= xpm
PLIST_FILES= bin/xoids \
diff --git a/games/xoj/Makefile b/games/xoj/Makefile
index 1f466f81130a..2d9842ae19c7 100644
--- a/games/xoj/Makefile
+++ b/games/xoj/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SUNSITE/X11/demos
MAINTAINER= ports@FreeBSD.org
COMMENT= O. J. Simpson Simulator root window demo
-USES= imake:noman tar:tgz
+USES= imake:noman tar:tgz xorg
USE_XORG= xaw
PLIST_FILES= bin/xoj
diff --git a/games/xorgramana/Makefile b/games/xorgramana/Makefile
index 81e56ef74778..37b8e3dd5f90 100644
--- a/games/xorgramana/Makefile
+++ b/games/xorgramana/Makefile
@@ -12,7 +12,7 @@ DISTNAME= XorGramana-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Logic word puzzle game set inside a series of mazes
-USES= tar:bzip2 gmake
+USES= gl gmake sdl tar:bzip2
USE_SDL= sdl image
USE_GL= glu
diff --git a/games/xosmulti/Makefile b/games/xosmulti/Makefile
index 72bdfa7681bf..c576a8f6114d 100644
--- a/games/xosmulti/Makefile
+++ b/games/xosmulti/Makefile
@@ -16,6 +16,7 @@ LICENSE= PD
LICENSE_FILE= ${WRKSRC}/README.jp
WRKSRC= ${WRKDIR}/xosmulti
+USES= xorg
USE_XORG= x11 xbitmaps xext
OPTIONS_DEFINE= DOCS
diff --git a/games/xpanex/Makefile b/games/xpanex/Makefile
index da8d5d8a0783..b1cc0e9c395d 100644
--- a/games/xpanex/Makefile
+++ b/games/xpanex/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Panex puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xpanex \
diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile
index 41fe00a690af..7a598aa09fba 100644
--- a/games/xpat2/Makefile
+++ b/games/xpat2/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-USES= imake
+USES= imake xorg
USE_XORG= xaw
CFLAGS+= -D_POSIX_SOURCE -DNO_CUSERID -D_POSIX_SAVED_IDS
diff --git a/games/xpenguins/Makefile b/games/xpenguins/Makefile
index 7495b24ce44d..0a74182212af 100644
--- a/games/xpenguins/Makefile
+++ b/games/xpenguins/Makefile
@@ -16,6 +16,7 @@ COMMENT= Cute little penguins that walk along the tops of your windows
LICENSE= GPLv2
+USES= xorg
USE_XORG= xpm
GNU_CONFIGURE= yes
diff --git a/games/xpilot/Makefile b/games/xpilot/Makefile
index 5e6768b3abe9..44af8442f98d 100644
--- a/games/xpilot/Makefile
+++ b/games/xpilot/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}game/${PORTNAME}-4/${PORTNAME}-${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= Xpilot(client) and xpilots(server)
+USES= imake tar:bzip2 xorg
USE_XORG= x11 xext
-USES= imake tar:bzip2
.include <bsd.port.mk>
diff --git a/games/xpipeman/Makefile b/games/xpipeman/Makefile
index b98e91f9db8c..f8d0acd3a103 100644
--- a/games/xpipeman/Makefile
+++ b/games/xpipeman/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Connect the pipes to stop the leaks
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xaw xext xmu xt sm ice
CFLAGS+= -Wno-error=return-type
diff --git a/games/xpuzzletama/Makefile b/games/xpuzzletama/Makefile
index 9bb82b953a23..f520fb8a2655 100644
--- a/games/xpuzzletama/Makefile
+++ b/games/xpuzzletama/Makefile
@@ -17,7 +17,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle tama, a Tetris like game
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= xpm
PLIST_FILES= bin/xpuzzletama lib/X11/xpuzzletama/tama_score
diff --git a/games/xpyraminx/Makefile b/games/xpyraminx/Makefile
index e41d11ed5dab..33d3720f7a30 100644
--- a/games/xpyraminx/Makefile
+++ b/games/xpyraminx/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Pyraminx puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xpyraminx \
diff --git a/games/xqf/Makefile b/games/xqf/Makefile
index b734e1e26bbd..507b0d9c4060 100644
--- a/games/xqf/Makefile
+++ b/games/xqf/Makefile
@@ -12,8 +12,8 @@ COMMENT= Server browser for many popular 3D action games
RUN_DEPENDS= qstat:games/qstat
+USES= gettext gmake gnome pkgconfig xorg
USE_GNOME= intlhack
-USES= gettext gmake pkgconfig
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/games/xrally/Makefile b/games/xrally/Makefile
index 1b0fafbeac47..3dc8460eb1df 100644
--- a/games/xrally/Makefile
+++ b/games/xrally/Makefile
@@ -14,8 +14,8 @@ COMMENT= XRally is a Linux clone of the classic Rally X arcade game
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+USES= gmake tar:bzip2 xorg
USE_XORG= x11 xi xpm
-USES= gmake tar:bzip2
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
MAKE_ENV= INCLUDES="-I${LOCALBASE}/include"
diff --git a/games/xrisk/Makefile b/games/xrisk/Makefile
index 72c9d168aa7d..3481bdfe3886 100644
--- a/games/xrisk/Makefile
+++ b/games/xrisk/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://my.pages.de/pub/comp/unix/games/xrisk/old/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Game for X11, much like the popular board game
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt
RESTRICTED= Possible trademark infringement
diff --git a/games/xroach/Makefile b/games/xroach/Makefile
index c7f36505dacf..896167700331 100644
--- a/games/xroach/Makefile
+++ b/games/xroach/Makefile
@@ -21,7 +21,7 @@ BINOWN= bin
BINDIR= ${LOCALBASE}/bin
BINMODE= 755
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
USE_CSTD= gnu99
PLIST_FILES= bin/xroach man/man6/xroach.6.gz
diff --git a/games/xrobots/Makefile b/games/xrobots/Makefile
index 71a62e294a49..7592fca7937d 100644
--- a/games/xrobots/Makefile
+++ b/games/xrobots/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-ss-10.20
MAINTAINER= ports@FreeBSD.org
COMMENT= Fight off villainous robots (X version)
-USES= imake
+USES= imake xorg
USE_XORG= x11 xaw xext xmu xt sm ice
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/xrot/Makefile b/games/xrot/Makefile
index eb27bb86e81c..22802722cfc0 100644
--- a/games/xrot/Makefile
+++ b/games/xrot/Makefile
@@ -18,7 +18,7 @@ COMMENT= Falling ball puzzle game for X
WRKSRC= ${WRKDIR}/xrot
-USES= imake
+USES= imake xorg
USE_XORG= xpm
ALL_TARGET= xrot
CFLAGS+= -Wno-return-type
diff --git a/games/xrubik/Makefile b/games/xrubik/Makefile
index afd9f44a1a40..7e73a4c1f65f 100644
--- a/games/xrubik/Makefile
+++ b/games/xrubik/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= X-based rubik's cube(tm)
WRKSRC= ${WRKDIR}/xrubik
-USES= imake
+USES= imake xorg
USE_XORG= xt sm ice xext x11
do-install:
diff --git a/games/xsc/Makefile b/games/xsc/Makefile
index 7a20f5d48095..4c0713424385 100644
--- a/games/xsc/Makefile
+++ b/games/xsc/Makefile
@@ -16,7 +16,7 @@ COMMENT= Vector graphics space shoot'em up game
LICENSE= GPLv2
-USES= compiler
+USES= compiler xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
diff --git a/games/xscavenger/Makefile b/games/xscavenger/Makefile
index 415ce99b0447..8b7d267130c9 100644
--- a/games/xscavenger/Makefile
+++ b/games/xscavenger/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/../copyright
WRKSRC_SUBDIR= src
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
CFLAGS+= -Wno-return-type -Wno-pointer-sign
diff --git a/games/xscrabble/Makefile b/games/xscrabble/Makefile
index a811cd747678..12b6824b3287 100644
--- a/games/xscrabble/Makefile
+++ b/games/xscrabble/Makefile
@@ -14,7 +14,7 @@ COMMENT= X version of the popular board game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= tar:bzip2 imake
+USES= tar:bzip2 imake xorg
USE_XORG= xaw
XSCRABBLEDIR= ${PREFIX}/lib/X11/xscrabble
diff --git a/games/xshisen/Makefile b/games/xshisen/Makefile
index c177e4f25ebd..810a5902d070 100644
--- a/games/xshisen/Makefile
+++ b/games/xshisen/Makefile
@@ -13,6 +13,7 @@ COMMENT= Shisen-sho puzzle game for X11
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= xorg
USE_XORG= xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sharedstatedir="${DATADIR}"
diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index 236e83a4510a..52221abcf9b4 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -11,6 +11,7 @@ COMMENT= Japanese chess-like game for X Window System
RUN_DEPENDS= gnushogi:games/gnushogi
+USES= xorg
USE_XORG= xt xaw x11
GNU_CONFIGURE= yes
diff --git a/games/xskat/Makefile b/games/xskat/Makefile
index ca40b458646d..b6dfe1313968 100644
--- a/games/xskat/Makefile
+++ b/games/xskat/Makefile
@@ -15,6 +15,7 @@ LICENSE_NAME= xskat license clause
LICENSE_FILE= ${WRKSRC}/README
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xskat \
man/man1/xskat.1.gz \
diff --git a/games/xskewb/Makefile b/games/xskewb/Makefile
index 700fb7441403..66b13a697a94 100644
--- a/games/xskewb/Makefile
+++ b/games/xskewb/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Skewb puzzle (similar to Rubik's Cube) for X Window
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xskewb \
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
index cb1984eb7e98..996f282d85bd 100644
--- a/games/xsokoban/Makefile
+++ b/games/xsokoban/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.cs.cornell.edu/andru/release/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle of pushing objects to the goals
-USES= imake
+USES= imake xorg
USE_XORG= xpm
WRKSRC= ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban
diff --git a/games/xsoldier/Makefile b/games/xsoldier/Makefile
index 1ad75406aa16..8eccfe50bc1a 100644
--- a/games/xsoldier/Makefile
+++ b/games/xsoldier/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://www.interq.or.jp/libra/oohara/xsoldier/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Space-based shoot-em up game for X11
+USES= xorg
USE_XORG= x11 ice sm xpm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
diff --git a/games/xspacewarp/Makefile b/games/xspacewarp/Makefile
index 969d65fcd3df..51b5f2a87d2c 100644
--- a/games/xspacewarp/Makefile
+++ b/games/xspacewarp/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Time Trek - like game for X Window System
-USES= imake:noman
+USES= imake:noman xorg
USE_XORG= x11 xaw xext xmu xt xpm sm ice
PLIST_FILES= bin/xspacewarp \
diff --git a/games/xspringies/Makefile b/games/xspringies/Makefile
index ebeaa9f149eb..6476cb04c427 100644
--- a/games/xspringies/Makefile
+++ b/games/xspringies/Makefile
@@ -14,6 +14,7 @@ COMMENT= Mass and spring simulation system
LICENSE= GPLv1+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= xorg
USE_XORG= x11 xext
ALL_TARGET= ${PORTNAME}
diff --git a/games/xtet42/Makefile b/games/xtet42/Makefile
index 4de1af7808a4..ccadf2e3827b 100644
--- a/games/xtet42/Makefile
+++ b/games/xtet42/Makefile
@@ -12,6 +12,7 @@ COMMENT= One or two player T*tris game
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
+USES= xorg
USE_XORG= x11
ALL_TARGET= ${PORTNAME}
diff --git a/games/xtic/Makefile b/games/xtic/Makefile
index 33101d6e8e66..df8a039833a3 100644
--- a/games/xtic/Makefile
+++ b/games/xtic/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= X version of a simple but tricky board game
-USES= imake
+USES= imake xorg
USE_XORG= xaw
PLIST_FILES= bin/xtic man/man1/xtic.1.gz
diff --git a/games/xtriangles/Makefile b/games/xtriangles/Makefile
index 3bd32cb6ad12..53241d1374c4 100644
--- a/games/xtriangles/Makefile
+++ b/games/xtriangles/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Triangles puzzle
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext xt sm ice
PLIST_FILES= bin/xtriangles \
diff --git a/games/xtris/Makefile b/games/xtris/Makefile
index 9c59385bd781..d16f8d547b14 100644
--- a/games/xtris/Makefile
+++ b/games/xtris/Makefile
@@ -22,6 +22,7 @@ LICENSE= GPLv2
BROKEN= unfetchable
RESTRICTED= Possible trademark infringement
WRKSRC= ${WRKDIR}/xtris
+USES= xorg
USE_XORG= x11 xext
MAKE_ENV= IPV6_CFLAGS="-DINET6"
diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile
index 7f955cdd1fbd..29aa8c02cfac 100644
--- a/games/xtrojka/Makefile
+++ b/games/xtrojka/Makefile
@@ -10,6 +10,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g}
MAINTAINER= ports@edwinm.ik.nu
COMMENT= Game of skill similar to T*tris
+USES= xorg
USE_XORG= x11 xt xorgproto xaw xmu xext
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
index 26598628711c..0d84af4e3dab 100644
--- a/games/xtron/Makefile
+++ b/games/xtron/Makefile
@@ -11,6 +11,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Avoid running into walls, your own tail, and that of your opponent
+USES= xorg
USE_XORG= x11 xpm
PLIST_FILES= bin/${PORTNAME} lib/X11/app-defaults/Tron
diff --git a/games/xtruco/Makefile b/games/xtruco/Makefile
index ce19ba4825bb..5642c11603ae 100644
--- a/games/xtruco/Makefile
+++ b/games/xtruco/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple version for X Window of the famous card game Super Truco
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xtruco
diff --git a/games/xtux/Makefile b/games/xtux/Makefile
index 7a5d753513a3..03519eba08a8 100644
--- a/games/xtux/Makefile
+++ b/games/xtux/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= gmake
+USES= gmake xorg
USE_XORG= xpm
MAKE_ENV= CPP="${CC} -E"
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 91cac400e6b9..4e9eebb42802 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -14,7 +14,7 @@ EXTRACT_ONLY= ${PORTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Throw stones into free columns
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext
USE_CSTD= gnu89
diff --git a/games/xvmines/Makefile b/games/xvmines/Makefile
index 35f3b8a12bba..5c0b646aa127 100644
--- a/games/xvmines/Makefile
+++ b/games/xvmines/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= libxview.so:x11-toolkits/xview
OPTIONS_DEFINE= DOCS
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11
PORTDOCS= Copyright
diff --git a/games/xworm/Makefile b/games/xworm/Makefile
index 23c77806bd01..4079a0dc1be5 100644
--- a/games/xworm/Makefile
+++ b/games/xworm/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}102
MAINTAINER= ports@FreeBSD.org
COMMENT= Classic game with apples and hungry worm
+USES= xorg
USE_XORG= x11 xt
WRKSRC= ${WRKDIR}/XWorm
ALL_TARGET= linux
diff --git a/games/xzip/Makefile b/games/xzip/Makefile
index c880cac16edf..31fc860fc743 100644
--- a/games/xzip/Makefile
+++ b/games/xzip/Makefile
@@ -14,6 +14,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Infocom game interpreter that runs under X11
+USES= xorg
USE_XORG= x11
WRKSRC= ${WRKDIR}/xzip
ALL_TARGET=
diff --git a/games/yadex/Makefile b/games/yadex/Makefile
index e3e4e6f5e1a8..0e11c85afac4 100644
--- a/games/yadex/Makefile
+++ b/games/yadex/Makefile
@@ -13,7 +13,7 @@ COMMENT= WAD file editor, for games like Doom and Heretic
LICENSE= GPLv2
-USES= gmake perl5 shebangfix
+USES= gmake perl5 shebangfix xorg
HAS_CONFIGURE= yes
CONFIGURE_ENV= CC="${CC}" CXX="${CXX}" PREFIX="${PREFIX}"
USE_CXXSTD= c++98 # required for 3D preview option (see r479036)
diff --git a/games/zoom/Makefile b/games/zoom/Makefile
index 2b31b4bb4e28..3021062dd5ff 100644
--- a/games/zoom/Makefile
+++ b/games/zoom/Makefile
@@ -15,7 +15,7 @@ LICENSE= LGPL21
LIB_DEPENDS= libt1.so:devel/t1lib \
libpng.so:graphics/png
-USES= gmake perl5
+USES= gmake perl5 xorg
GNU_CONFIGURE= yes
USE_CSTD= gnu89
USE_XORG= xft
diff --git a/graphics/4va/Makefile b/graphics/4va/Makefile
index 8d5dd10a8018..43d6c148c4ed 100644
--- a/graphics/4va/Makefile
+++ b/graphics/4va/Makefile
@@ -10,8 +10,8 @@ MASTER_SITES= SUNSITE/apps/graphics/hacks/X
MAINTAINER= ports@FreeBSD.org
COMMENT= Four-Dimensional graphics tumbler for X11
+USES= tar:tgz xorg
USE_XORG= x11
-USES= tar:tgz
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CLIBS="-lm -lX11 -L${LOCALBASE}/lib"
diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile
index d00c7bcb8094..76615d6d2e7b 100644
--- a/graphics/Coin/Makefile
+++ b/graphics/Coin/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.GPL
LIB_DEPENDS= libsimage.so:graphics/simage
-USES= gl openal:al libtool pathfix
+USES= gl openal:al libtool pathfix xorg
USE_GL= gl
USE_XORG= ice sm x11 xext xt
GNU_CONFIGURE= yes
diff --git a/graphics/EZWGL/Makefile b/graphics/EZWGL/Makefile
index 01a263286324..73f0aa3bf0a0 100644
--- a/graphics/EZWGL/Makefile
+++ b/graphics/EZWGL/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_sparc64= does not compile on sparc64
-USES= localbase
+USES= localbase xorg
USE_XORG= x11 xext
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index a18463acbe9f..37afffdcbe52 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/copying
LIB_DEPENDS= libfreetype.so:print/freetype2
GNU_CONFIGURE= yes
-USES= autoreconf gmake libtool pathfix pkgconfig
+USES= autoreconf gmake libtool pathfix pkgconfig sdl xorg
USE_XORG= x11
USE_SDL= sdl
USE_LDCONFIG= yes
diff --git a/graphics/argyllcms/Makefile b/graphics/argyllcms/Makefile
index 131f5d74f94b..fa216f7a509c 100644
--- a/graphics/argyllcms/Makefile
+++ b/graphics/argyllcms/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libtiff.so:graphics/tiff \
WRKSRC= ${WRKDIR}/Argyll_V${PORTVERSION}
-USES= compiler:c11 cpe jpeg ssl zip
+USES= compiler:c11 cpe jpeg ssl xorg zip
USE_XORG= x11 xau xdmcp xext xinerama xrandr xscrnsaver xxf86vm
post-patch:
diff --git a/graphics/aseprite/Makefile b/graphics/aseprite/Makefile
index 554aa15ca9f7..23b835d38fc2 100644
--- a/graphics/aseprite/Makefile
+++ b/graphics/aseprite/Makefile
@@ -34,7 +34,8 @@ LIB_DEPENDS= liballeg.so:devel/allegro \
libtinyxml.so:textproc/tinyxml \
libzstd.so:archivers/zstd
-USES= cmake compiler:c++11-lib iconv:wchar_t jpeg localbase:ldflags pkgconfig ssl
+USES= cmake compiler:c++11-lib gnome iconv:wchar_t jpeg \
+ localbase:ldflags pkgconfig ssl xorg
USE_GITHUB= yes
GH_TUPLE= aseprite:libarchive:c51dbfc:libarchive/third_party/libarchive
GH_TUPLE+= aseprite:clip:964a64a:clip/src/clip
diff --git a/graphics/atril/Makefile b/graphics/atril/Makefile
index 75438830586d..850b6ef1ae3e 100644
--- a/graphics/atril/Makefile
+++ b/graphics/atril/Makefile
@@ -28,7 +28,7 @@ PORTSCOUT= limitw:1,even
SLAVEPORT?= no
USES= compiler:c11 desktop-file-utils gettext gmake gnome libarchive \
- libtool mate pathfix pkgconfig tar:xz
+ libtool mate pathfix pkgconfig tar:xz xorg
USE_MATE= icontheme
USE_XORG= ice sm x11
USE_GNOME= cairo gtk30 intlhack libxml2
diff --git a/graphics/azpainter/Makefile b/graphics/azpainter/Makefile
index 44fc792fde32..b1a18329bed0 100644
--- a/graphics/azpainter/Makefile
+++ b/graphics/azpainter/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libpng.so:graphics/png
USES= compiler:c11 desktop-file-utils jpeg localbase \
- shared-mime-info tar:xz
+ shared-mime-info tar:xz xorg
USE_XORG= x11 xext xi
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-freetype-dir=${LOCALBASE}/include/freetype2
diff --git a/graphics/backfract/Makefile b/graphics/backfract/Makefile
index 8b6b2e34f070..ccb3a9b63165 100644
--- a/graphics/backfract/Makefile
+++ b/graphics/backfract/Makefile
@@ -12,6 +12,7 @@ COMMENT= Fractal image animated wallpaper program
LICENSE= GPLv2+
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
ALL_TARGET= # none
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 052d39f00064..ea99678e7e62 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYNUMPY}
# libraries are used, if either of the most common options in blender
# are set. We will pull boost in just to be on the safe side.
-USES= cmake compiler:c++14-lang gl jpeg python:3.7 shebangfix
+USES= cmake compiler:c++14-lang gl jpeg python:3.7 shebangfix xorg
USE_XORG= x11 xext xfixes xmu xrender
USE_GL= gl glu glew
diff --git a/graphics/bugle/Makefile b/graphics/bugle/Makefile
index b88d4bfe95d0..00f9e8e234ee 100644
--- a/graphics/bugle/Makefile
+++ b/graphics/bugle/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libltdl.so:devel/libltdl
-USES= libtool pathfix perl5
+USES= gl libtool pathfix perl5
USE_GL= gl
USE_GCC= 7
GNU_CONFIGURE= yes
@@ -31,6 +31,7 @@ OPTIONS_DEFAULT= READLINE THREADS
FFMPEG_CONFIGURE_WITH= lavc
FFMPEG_LIB_DEPENDS= libavcodec.so.1:multimedia/ffmpeg
GTK2_LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
+GTK2_USES= gnome
GTK2_USE= gnome=gtk20
GTK2_CONFIGURE_WITH= gtk gtkglext
READLINE_USES= readline
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index d06279eb3139..b06bd19655f4 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
PORTSCOUT= skipv:5c-1.1,5c-1.2,5c-1.5
-USES= cpe gnome libtool pathfix pkgconfig tar:xz
+USES= cpe gnome libtool pathfix pkgconfig tar:xz xorg
CPE_VENDOR= cairographics
USE_XORG= pixman
USE_LDCONFIG= yes
diff --git a/graphics/cairomm/Makefile b/graphics/cairomm/Makefile
index 623ce890b9e4..cd82ff01a6c5 100644
--- a/graphics/cairomm/Makefile
+++ b/graphics/cairomm/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USES= gmake gnome libtool pathfix pkgconfig compiler:c++11-lang
+USES= gmake gnome libtool pathfix pkgconfig compiler:c++11-lang xorg
USE_CXXSTD= c++11
USE_GNOME= cairo libxml++26
USE_XORG= x11 xext xrender
diff --git a/graphics/clutter-gtk3/Makefile b/graphics/clutter-gtk3/Makefile
index b4968daa680b..22190ba5ad64 100644
--- a/graphics/clutter-gtk3/Makefile
+++ b/graphics/clutter-gtk3/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libcogl.so:graphics/cogl \
libclutter-1.0.so:graphics/clutter \
libjson-glib-1.0.so:devel/json-glib
-USES= gettext gnome localbase meson pkgconfig tar:xz
+USES= gettext gl gnome localbase meson pkgconfig tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
USE_GL= egl
diff --git a/graphics/clutter/Makefile b/graphics/clutter/Makefile
index e7493c1ca253..13540a894e8b 100644
--- a/graphics/clutter/Makefile
+++ b/graphics/clutter/Makefile
@@ -19,7 +19,8 @@ LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
PORTSCOUT= limit:1,even
-USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz
+USES= gettext gl gmake gnome libtool localbase pathfix pkgconfig \
+ tar:xz xorg
USE_GNOME= atk cairo gdkpixbuf2 pango introspection:build
USE_GL= egl
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
diff --git a/graphics/cogl/Makefile b/graphics/cogl/Makefile
index 6c3d177b5294..2244aee2e78b 100644
--- a/graphics/cogl/Makefile
+++ b/graphics/cogl/Makefile
@@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= clutter-1.6.[0-9]*
-USES= gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz
+USES= gettext gl gmake gnome libtool localbase pathfix pkgconfig \
+ tar:xz xorg
GNU_CONFIGURE= yes
USE_GNOME= cairo gdkpixbuf2 pango introspection:build
USE_GL= egl
diff --git a/graphics/colmap/Makefile b/graphics/colmap/Makefile
index 54fffa312e2c..eaf9a33fca5e 100644
--- a/graphics/colmap/Makefile
+++ b/graphics/colmap/Makefile
@@ -27,7 +27,8 @@ LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libfreeimage.so:graphics/freeimage \
libceres.so:math/ceres-solver
-USES= cmake compiler:${OPENMP}c++11-lib eigen:3 localbase qt:5 sqlite
+USES= cmake compiler:${OPENMP}c++11-lib eigen:3 gl localbase qt:5 \
+ sqlite
USE_GITHUB= yes
USE_GL= gl glew
USE_QT= qmake_build buildtools_build core gui opengl_build widgets
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index d9ff11a7cf0c..5426d89e2958 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -29,7 +29,7 @@ ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space
USES= cmake compiler:c++11-lib desktop-file-utils \
- gl gnome jpeg pkgconfig sqlite tar:xz
+ gl gnome jpeg pkgconfig sqlite tar:xz xorg
USE_GL= glu
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2
USE_XORG= ice sm x11 xext xrandr
diff --git a/graphics/dataplot/Makefile b/graphics/dataplot/Makefile
index 73d909be763c..0e90a7d26acc 100644
--- a/graphics/dataplot/Makefile
+++ b/graphics/dataplot/Makefile
@@ -13,7 +13,7 @@ LICENSE= PD
LIB_DEPENDS= libgd.so:graphics/gd \
libpng.so:graphics/png
-USES= gmake fortran jpeg readline
+USES= gmake gnome fortran jpeg readline xorg
USE_GITHUB= yes
GH_ACCOUNT= usnistgov
diff --git a/graphics/diffpdf/Makefile b/graphics/diffpdf/Makefile
index c41910897991..26d10bb66b49 100644
--- a/graphics/diffpdf/Makefile
+++ b/graphics/diffpdf/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2+
LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5
-USES= compiler:c++11-lang qmake qt:5
+USES= compiler:c++11-lang gl qmake qt:5
USE_GL= gl
USE_QT= buildtools linguist_build core gui printsupport widgets
diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile
index 65ac4f81966f..86d7343884f0 100644
--- a/graphics/digikam/Makefile
+++ b/graphics/digikam/Makefile
@@ -31,8 +31,8 @@ LIB_DEPENDS= libKF5KGeoMap.so:astro/libkgeomap \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
-USES= bison cmake compiler:c++11-lib desktop-file-utils eigen:3 gl jpeg \
- kde:5 pkgconfig qt:5 shebangfix tar:xz
+USES= bison cmake compiler:c++11-lib desktop-file-utils eigen:3 gl \
+ gnome jpeg kde:5 pkgconfig qt:5 shebangfix tar:xz xorg
USE_GL= gl glu
USE_GNOME= glib20 libxml2 libxslt
USE_KDE= archive auth bookmarks calendarcore codecs completion config \
diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile
index 556f860ad820..c3631bfb8ea6 100644
--- a/graphics/djview4/Makefile
+++ b/graphics/djview4/Makefile
@@ -18,8 +18,8 @@ LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre \
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
-USES= autoreconf desktop-file-utils gettext-runtime gmake libtool \
- localbase pkgconfig qt:5 webplugin:native
+USES= autoreconf desktop-file-utils gettext-runtime gl gmake gnome \
+ libtool localbase pkgconfig qt:5 webplugin:native xorg
USE_GL= gl
USE_QT= core gui network opengl printsupport widgets \
buildtools_build linguisttools_build qmake_build
diff --git a/graphics/driconf/Makefile b/graphics/driconf/Makefile
index 586ae86600ed..5b497d9a014a 100644
--- a/graphics/driconf/Makefile
+++ b/graphics/driconf/Makefile
@@ -14,10 +14,10 @@ COMMENT= Configuration program for DRI drivers
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:x11-toolkits/py-gtk2 \
xdriinfo:x11/xdriinfo
+USES= gettext gl python:2.7
USE_GL= glut
USE_PYTHON= distutils
NO_BUILD= yes
-USES= gettext python:2.7
PYDISTUTILS_EGGINFODIR= ${STAGEDIR}${PREFIX}/lib/driconf
pre-patch:
diff --git a/graphics/dynamechs/Makefile b/graphics/dynamechs/Makefile
index 605f16654d5b..115d6703477b 100644
--- a/graphics/dynamechs/Makefile
+++ b/graphics/dynamechs/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/.p/pre/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multibody Dynamic Simulation Library
-USES= gmake perl5 shebangfix tar:bzip2
+USES= gl gmake perl5 shebangfix tar:bzip2
USE_GL= glut
USE_PERL5= build
SHEBANG_FILES= make/*.pl
diff --git a/graphics/electricsheep/Makefile b/graphics/electricsheep/Makefile
index 316fcd853934..08d8164a3fe2 100644
--- a/graphics/electricsheep/Makefile
+++ b/graphics/electricsheep/Makefile
@@ -23,7 +23,8 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libtinyxml.so:textproc/tinyxml
RUN_DEPENDS= flam3-animate:graphics/flam3
-USES= autoreconf compiler:c++11-lang dos2unix gl gnome libtool localbase:ldflags lua:51 pkgconfig gettext-runtime
+USES= autoreconf compiler:c++11-lang dos2unix gl gnome libtool \
+ localbase:ldflags lua:51 pkgconfig gettext-runtime xorg
USE_GITHUB= yes
GH_ACCOUNT= scottdraves
GH_TAGNAME= 4949c31
diff --git a/graphics/entangle/Makefile b/graphics/entangle/Makefile
index 36e5f9889d9a..da3409106b51 100644
--- a/graphics/entangle/Makefile
+++ b/graphics/entangle/Makefile
@@ -28,7 +28,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS:Nitstool*} \
${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR}
USES= compiler:c++11-lang gettext-tools gmake gnome libtool \
- pkgconfig python:3.4+
+ pkgconfig python:3.4+ xorg
GNU_CONFIGURE= yes
USE_GNOME= cairo gtk30 intltool introspection
USE_GSTREAMER1= core
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile
index 2d64d2c78009..a0c730da86b3 100644
--- a/graphics/eog/Makefile
+++ b/graphics/eog/Makefile
@@ -23,7 +23,8 @@ RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
PORTSCOUT= limitw:1,even
USES= compiler:c++11-lang desktop-file-utils gettext gnome jpeg \
- localbase meson pkgconfig python:build,3.4+ shebangfix tar:xz
+ localbase meson pkgconfig python:build,3.4+ shebangfix tar:xz \
+ xorg
USE_GNOME= cairo librsvg2 gtk30 gnomedesktop3 introspection
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/graphics/eom/Makefile b/graphics/eom/Makefile
index f730298f95f3..b0c95453658b 100644
--- a/graphics/eom/Makefile
+++ b/graphics/eom/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \
PORTSCOUT= limitw:1,even
USES= compiler:c11 desktop-file-utils gettext gmake gnome \
- jpeg libtool localbase mate pathfix pkgconfig tar:xz
+ jpeg libtool localbase mate pathfix pkgconfig tar:xz xorg
USE_MATE= desktop icontheme
USE_XORG= x11
USE_GNOME= cairo gnomeprefix gtk30 intltool introspection \
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index e7d89ad1a00b..d9cdc5b3b1d6 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -28,7 +28,7 @@ PORTSCOUT= limitw:1,even
SLAVEPORT?= no
USES= compiler:c++11-lib desktop-file-utils gettext gmake \
- gnome libarchive libtool localbase pathfix pkgconfig tar:xz
+ gnome libarchive libtool localbase pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30 intlhack
USE_GSTREAMER1= yes
USE_LDCONFIG= yes
diff --git a/graphics/evolvotron/Makefile b/graphics/evolvotron/Makefile
index 5dd80831ddd7..c24e992c5724 100644
--- a/graphics/evolvotron/Makefile
+++ b/graphics/evolvotron/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= compiler:c++11-lib python qmake qt:5
+USES= compiler:c++11-lib gl python qmake qt:5
USE_QT= core gui widgets xml buildtools_build
USE_GL= gl
QMAKE_ARGS= VERSION_NUMBER="${PORTVERSION}"
diff --git a/graphics/exact-image/Makefile b/graphics/exact-image/Makefile
index 5ab89058d9cb..a4a9415665d0 100644
--- a/graphics/exact-image/Makefile
+++ b/graphics/exact-image/Makefile
@@ -29,7 +29,7 @@ LIB_DEPENDS= libagg.so:graphics/agg \
#hack to get custom exactcode configure script to enable tiff support with
#broken headers on c++ in base system:
CPPFLAGS+= -fpermissive -I${LOCALBASE}/include
-USES= gmake jpeg perl5 pkgconfig python:2.7 tar:bzip2
+USES= gmake jpeg perl5 pkgconfig python:2.7 tar:bzip2 xorg
USE_CXXSTD= c++03
USE_XORG= x11
HAS_CONFIGURE= yes
diff --git a/graphics/exiftran/Makefile b/graphics/exiftran/Makefile
index f5e5e1d0657d..6cbf55ef3096 100644
--- a/graphics/exiftran/Makefile
+++ b/graphics/exiftran/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexif.so:graphics/libexif
-USES= jpeg uidfix
+USES= jpeg uidfix xorg
USE_XORG= pixman
MAKE_ARGS+= WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile
index 11ff9ed7a5f2..572102bf42c2 100644
--- a/graphics/feh/Makefile
+++ b/graphics/feh/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
libpng.so:graphics/png
USES= compiler:c++11-lang cpe desktop-file-utils gmake localbase:ldflags \
- tar:bzip2
+ tar:bzip2 xorg
USE_XORG= x11 xt xinerama
USE_PERL5= run
CPE_VENDOR= daniel_friesel
diff --git a/graphics/figurine/Makefile b/graphics/figurine/Makefile
index e23fccf52485..4980d683199d 100644
--- a/graphics/figurine/Makefile
+++ b/graphics/figurine/Makefile
@@ -17,6 +17,7 @@ OPTIONS_DEFINE= DOCS
RUN_DEPENDS= fig2dev:print/transfig
GNU_CONFIGURE= yes
+USES= xorg
USE_XORG= xpm
PLIST_FILES= bin/figurine \
diff --git a/graphics/flphoto/Makefile b/graphics/flphoto/Makefile
index 03beed0c9828..e55767146ac9 100644
--- a/graphics/flphoto/Makefile
+++ b/graphics/flphoto/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= tar:bzip2
+USES= tar:bzip2 xorg
USE_XORG= xinerama
GNU_CONFIGURE= yes
diff --git a/graphics/fraqtive/Makefile b/graphics/fraqtive/Makefile
index 72b0b941d47d..2d35ae65f3f4 100644
--- a/graphics/fraqtive/Makefile
+++ b/graphics/fraqtive/Makefile
@@ -13,7 +13,7 @@ COMMENT= Draws Mandelbrot and Julia fractals
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang qmake qt:5
+USES= compiler:c++11-lang gl qmake qt:5
USE_QT= core gui opengl widgets xml buildtools_build
USE_GL= gl glu
diff --git a/graphics/ftgl/Makefile b/graphics/ftgl/Makefile
index 34bffd1a356e..b408b6c06bba 100644
--- a/graphics/ftgl/Makefile
+++ b/graphics/ftgl/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gl-inc="${LOCALBASE}/include" \
--without-glut-inc
-USES= pathfix gmake libtool
+USES= gl pathfix gmake libtool xorg
USE_GL= gl glu
USE_XORG= x11 xext xmu
USE_LDCONFIG= yes
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile
index 2d6122a7945d..8a1d0c06b188 100644
--- a/graphics/fv/Makefile
+++ b/graphics/fv/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2+
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake pkgconfig zip
+USES= gl gmake pkgconfig zip
USE_GL= glut
ALL_TARGET= ${PORTNAME}
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index ec417067b41b..c7b195a5d213 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -12,6 +12,7 @@ COMMENT= Easy to use, portable, and powerful 2D graphics library
LIB_DEPENDS= libgd.so:graphics/gd
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/gauche-gl/Makefile b/graphics/gauche-gl/Makefile
index d9682cca287d..d9de9550df34 100644
--- a/graphics/gauche-gl/Makefile
+++ b/graphics/gauche-gl/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gosh:lang/gauche
RUN_DEPENDS= gosh:lang/gauche
-USES= gl localbase makeinfo tar:tgz
+USES= gl localbase makeinfo tar:tgz xorg
USE_CSTD= gnu99
USE_XORG= ice sm x11 xext xmu xi
USE_GL= gl glu glut
diff --git a/graphics/geomorph/Makefile b/graphics/geomorph/Makefile
index 130d2d8d11a8..c406915c0c2d 100644
--- a/graphics/geomorph/Makefile
+++ b/graphics/geomorph/Makefile
@@ -13,7 +13,7 @@ COMMENT= Height field generator and editor
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
libpng.so:graphics/png
-USES= compiler:c++11-lang desktop-file-utils gmake pkgconfig \
+USES= compiler:c++11-lang desktop-file-utils gl gmake pkgconfig \
shebangfix
SHEBANG_FILES= update-rc
USE_GL= yes
diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile
index 524fa4afa05d..d1b2871504ea 100644
--- a/graphics/geomview/Makefile
+++ b/graphics/geomview/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= xdg-open:devel/xdg-utils
-USES= libtool makeinfo motif tar:bzip2
+USES= gl libtool makeinfo motif tar:bzip2
USE_GL= glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-htmlbrowser=xdg-open --with-pdfviewer=xdg-open \
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index 2d58a2755166..f93c668a98e1 100644
--- a/graphics/gimageview/Makefile
+++ b/graphics/gimageview/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake jpeg libtool localbase perl5 pkgconfig
+USES= gmake gnome jpeg libtool localbase perl5 pkgconfig xorg
GNU_CONFIGURE= yes
USE_GNOME= gtk20
USE_PERL5= build
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index 8408d22ec831..b0c24b9f6e37 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/Makefile
@@ -44,7 +44,7 @@ LIB_DEPENDS_i386= libunwind.so:devel/libunwind
GNU_CONFIGURE= yes
USES+= compiler:c++14-lang cpe gettext gmake gnome jpeg libtool \
- localbase pkgconfig shebangfix tar:bzip2
+ localbase pkgconfig shebangfix tar:bzip2 xorg
USE_XORG= ice sm x11 xcursor xext xfixes xmu xpm xt
USE_GNOME+= cairo gtk20 intltool librsvg2
USE_LDCONFIG= yes
diff --git a/graphics/gimp-beautify-plugin/Makefile b/graphics/gimp-beautify-plugin/Makefile
index 2f8140db6fc9..da353f1e3a22 100644
--- a/graphics/gimp-beautify-plugin/Makefile
+++ b/graphics/gimp-beautify-plugin/Makefile
@@ -24,7 +24,7 @@ USE_GITHUB= yes
GH_ACCOUNT= hejiann
GH_TAGNAME= e209c8d
-USES= gettext gmake gnome pkgconfig
+USES= gettext gmake gnome pkgconfig xorg
USE_GCC= yes
USE_GNOME= atk cairo gdkpixbuf2 gtk20
USE_XORG= x11 xcomposite xcursor xdamage xext xfixes xi xinerama xrandr xrender
diff --git a/graphics/gimp-gmic-plugin/Makefile b/graphics/gimp-gmic-plugin/Makefile
index 16cd5d2dbf29..0f75a5fb734e 100644
--- a/graphics/gimp-gmic-plugin/Makefile
+++ b/graphics/gimp-gmic-plugin/Makefile
@@ -27,7 +27,7 @@ BASH_RUN_DEPENDS= bash:shells/bash
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-USES= dos2unix gmake localbase pkgconfig
+USES= dos2unix gmake gnome localbase pkgconfig xorg
USE_GCC= yes
USE_GNOME= gtk20
USE_XORG= x11 xext xrandr
diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile
index 9989c6a3ba40..f0f41ef61da1 100644
--- a/graphics/gle/Makefile
+++ b/graphics/gle/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}\
MAINTAINER= ports@dclg.ca
COMMENT= GL Tubing and Extrusion Library
-USES= libtool
+USES= gl libtool xorg
USE_XORG= ice xt xmu
USE_GL= glut
USE_LDCONFIG= yes
diff --git a/graphics/glexcess/Makefile b/graphics/glexcess/Makefile
index 72750d798745..d572ef063c71 100644
--- a/graphics/glexcess/Makefile
+++ b/graphics/glexcess/Makefile
@@ -11,6 +11,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= hernan.di.pietro@gmail.com
COMMENT= Impressive OpenGL Demo
+USES= gl
USE_GL= glut
MAKE_ARGS= 'CXXFLAGS=${CXXFLAGS} -I${LOCALBASE}/include -pipe -s -O2' \
diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 17c517d5978b..831cb8f34826 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -13,7 +13,7 @@ COMMENT= Portable framework for OpenGL development
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/README.md
-USES= cmake:insource localbase zip
+USES= cmake:insource gl localbase zip
USE_GL= glu
USE_LDCONFIG= yes
@@ -35,6 +35,7 @@ WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \
WAYLAND_USES= kde:5 pkgconfig
WAYLAND_USE= KDE=ecm
+X11_USES= xorg
X11_USE= XORG=x11,xcursor,xi,xinerama,xrandr,xxf86vm
PLIST_SUB= VERSION="${PORTVERSION}" MAJVER="${PORTVERSION:C|\..*||}"
diff --git a/graphics/glfw2/Makefile b/graphics/glfw2/Makefile
index dc27dce91f70..0c6d1eae8ee2 100644
--- a/graphics/glfw2/Makefile
+++ b/graphics/glfw2/Makefile
@@ -13,7 +13,7 @@ COMMENT= Portable framework for OpenGL development
LICENSE= ZLIB
-USES= tar:bzip2
+USES= gl tar:bzip2 xorg
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= compile.sh
ALL_TARGET= x11
diff --git a/graphics/glosm/Makefile b/graphics/glosm/Makefile
index b93214dd15db..0830483defde 100644
--- a/graphics/glosm/Makefile
+++ b/graphics/glosm/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libexpat.so:textproc/expat2
-USES= cmake gl sdl tar:bzip2
+USES= cmake gl sdl tar:bzip2 xorg
USE_GL= gl
USE_XORG= x11
USE_SDL= sdl
diff --git a/graphics/glpng/Makefile b/graphics/glpng/Makefile
index ba485f61d1f3..e5cd57d3c527 100644
--- a/graphics/glpng/Makefile
+++ b/graphics/glpng/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/glpng-1079563
-USES= cmake zip
+USES= cmake gl zip
USE_GL= gl
OPTIONS_DEFINE= DOCS
diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile
index 9966bc1090e4..10624cc3833e 100644
--- a/graphics/gltt/Makefile
+++ b/graphics/gltt/Makefile
@@ -12,7 +12,7 @@ COMMENT= TrueType fonts rendering using OpenGL
LIB_DEPENDS= libttf.so:print/freetype
-USES= gmake libtool
+USES= gl gmake libtool
USE_GL= gl glut
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/gmic-qt/Makefile b/graphics/gmic-qt/Makefile
index 9b0eb4ed76b3..00374ecac5bd 100644
--- a/graphics/gmic-qt/Makefile
+++ b/graphics/gmic-qt/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libfftw3.so:math/fftw3 \
libpng.so:graphics/png
-USES= cmake compiler:c++14-lang pkgconfig qt:5
+USES= cmake compiler:c++14-lang pkgconfig qt:5 xorg
USE_QT= core gui network widgets \
buildtools_build linguisttools_build qmake_build
USE_XORG= ice sm x11 xext
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index 1d0cfd34053e..ad743c5aeb72 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -26,8 +26,8 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
CONFLICTS= gnash-devel-[0-9]*
-USES= cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \
- pkgconfig jpeg gnome gl desktop-file-utils
+USES= cpe tar:bzip2 compiler:c++11-lang autoreconf gl gmake gnome \
+ libtool pkgconfig jpeg gnome gl desktop-file-utils xorg
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
WANT_GSTREAMER= yes
diff --git a/graphics/gpicview/Makefile b/graphics/gpicview/Makefile
index c382987c9fbf..c82685b3cf1a 100644
--- a/graphics/gpicview/Makefile
+++ b/graphics/gpicview/Makefile
@@ -11,8 +11,8 @@ COMMENT= Simple and fast image viewer for X11
LICENSE= GPLv2
-USES= desktop-file-utils gettext-tools gmake jpeg localbase \
- pkgconfig tar:xz
+USES= desktop-file-utils gettext-tools gmake gnome jpeg localbase \
+ pkgconfig tar:xz xorg
USE_GNOME= gtk20 intltool
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/graphics/grx/Makefile b/graphics/grx/Makefile
index a56bee11f380..04ae661b9aa2 100644
--- a/graphics/grx/Makefile
+++ b/graphics/grx/Makefile
@@ -14,7 +14,7 @@ COMMENT= 2D graphics library
LICENSE= LGPL20 MIT
LICENSE_COMB= multi
-USES= gmake
+USES= gmake xorg
USE_XORG= x11 xau xcb xdmcp
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --with-fontpath=${DATADIR}/fonts \
diff --git a/graphics/gsculpt/Makefile b/graphics/gsculpt/Makefile
index 3758f8aeb797..407cfd8496a6 100644
--- a/graphics/gsculpt/Makefile
+++ b/graphics/gsculpt/Makefile
@@ -24,7 +24,7 @@ BROKEN_sparc64= fails to compile
WRKSRC= ${WRKDIR}/${DISTNAME:S,-src,,}
-USES= compiler:c++11-lang pkgconfig python:2.7 scons
+USES= compiler:c++11-lang gl gnome pkgconfig python:2.7 scons xorg
USE_GNOME= pygtk2
USE_GL= glu
USE_XORG= x11
diff --git a/graphics/gstreamer-plugins-gl/Makefile b/graphics/gstreamer-plugins-gl/Makefile
index 68f76579e86d..3a0d758d7ceb 100644
--- a/graphics/gstreamer-plugins-gl/Makefile
+++ b/graphics/gstreamer-plugins-gl/Makefile
@@ -13,7 +13,7 @@ COMMENT= GStreamer OpenGL video plugin
LIB_DEPENDS= libpng.so:graphics/png
-USES= gettext gmake jpeg libtool pathfix pkgconfig tar:bzip2
+USES= gettext gmake gl jpeg libtool pathfix pkgconfig tar:bzip2 xorg
USE_LDCONFIG= yes
USE_GSTREAMER= yes
USE_XORG= ice x11
diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile
index 29f293560964..13ce5935cccc 100644
--- a/graphics/gthumb/Makefile
+++ b/graphics/gthumb/Makefile
@@ -28,8 +28,8 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
libtiff.so:graphics/tiff
RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
-USES= bison compiler:c++11-lib desktop-file-utils gettext gmake \
- jpeg libtool localbase pathfix pkgconfig tar:xz
+USES= bison compiler:c++11-lib desktop-file-utils gettext gl gmake \
+ gnome jpeg libtool localbase pathfix pkgconfig tar:xz xorg
USE_GL= egl
USE_GNOME= cairo gtk30 intltool librsvg2
USE_XORG= x11 xcomposite xdamage xext xfixes xrandr xi
diff --git a/graphics/gtk-update-icon-cache/Makefile b/graphics/gtk-update-icon-cache/Makefile
index 538b84220549..84fb0fad272b 100644
--- a/graphics/gtk-update-icon-cache/Makefile
+++ b/graphics/gtk-update-icon-cache/Makefile
@@ -19,7 +19,8 @@ RUN_DEPENDS+= update-mime-database:misc/shared-mime-info \
PORTSCOUT= ignore:1
-USES= gettext gmake libtool localbase:ldflags pathfix perl5 pkgconfig tar:xz
+USES= gettext gmake gnome libtool localbase:ldflags pathfix perl5 \
+ pkgconfig tar:xz xorg
USE_PERL5= build
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index 36244d1cf977..8414672c4ec9 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -28,7 +28,7 @@ RUN_DEPENDS= enblend>=4.1.4:graphics/enblend \
BROKEN_i386= Fails to build: ld: error: src/hugin_base/libhuginbase.so.0.0: undefined reference to __atomic_load
-USES= cmake compiler:c++11-lib desktop-file-utils \
+USES= cmake compiler:c++11-lib gl desktop-file-utils \
gettext jpeg pkgconfig shared-mime-info shebangfix tar:bzip2
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
USE_WX= 3.0+
diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile
index 9e0e132c5377..4ba94e301b04 100644
--- a/graphics/ida/Makefile
+++ b/graphics/ida/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libexif.so:graphics/libexif
-USES= desktop-file-utils gmake iconv jpeg motif perl5 pkgconfig
+USES= desktop-file-utils gmake iconv jpeg motif perl5 pkgconfig xorg
USE_PERL5= build
USE_XORG= pixman x11 xext xt
MAKEFILE= GNUmakefile
diff --git a/graphics/iiview/Makefile b/graphics/iiview/Makefile
index f0a3f08fb629..37b95f07999b 100644
--- a/graphics/iiview/Makefile
+++ b/graphics/iiview/Makefile
@@ -14,7 +14,7 @@ LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:graphics/png \
${LOCALBASE}/lib/libtiff.a:graphics/tiff
-USES= jpeg:build
+USES= jpeg:build xorg
USE_XORG= xpm x11
USE_GITHUB= yes
diff --git a/graphics/imlib2_loaders/Makefile b/graphics/imlib2_loaders/Makefile
index 25b3b93ce5bf..aa29ae7253e1 100644
--- a/graphics/imlib2_loaders/Makefile
+++ b/graphics/imlib2_loaders/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libImlib2.so:graphics/imlib2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= libtool localbase pathfix pkgconfig tar:bzip2
+USES= libtool localbase pathfix pkgconfig tar:bzip2 xorg
USE_XORG= x11 xext
CONFIGURE_ARGS= --disable-static
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index 468ee8358175..6f8b774ac4a2 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -35,7 +35,7 @@ RUN_DEPENDS= ${PYNUMPY} \
USES= compiler:c++11-lib cmake cpe desktop-file-utils gnome \
iconv:wchar_t jpeg pathfix pkgconfig python:2.7 \
- shebangfix tar:bzip2
+ shebangfix tar:bzip2 xorg
USE_GNOME= gtkmm24 libxml2 libxslt
USE_XORG= x11
INSTALLS_ICONS= yes
diff --git a/graphics/instant-meshes/Makefile b/graphics/instant-meshes/Makefile
index 9910c13eca03..04f417664514 100644
--- a/graphics/instant-meshes/Makefile
+++ b/graphics/instant-meshes/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS= libglfw.so:graphics/glfw \
libtbb.so:devel/tbb
RUN_DEPENDS= zenity:x11/zenity
-USES= cmake compiler:c++14-lang eigen:3 gl localbase:ldflags pkgconfig
+USES= cmake compiler:c++14-lang eigen:3 gl localbase:ldflags \
+ pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= wjakob
GH_TUPLE= wjakob:nanogui:2a61f03:nanogui/ext/nanogui \
diff --git a/graphics/jogamp-jogl/Makefile b/graphics/jogamp-jogl/Makefile
index 28a43ffb8306..5cb1e8ff512d 100644
--- a/graphics/jogamp-jogl/Makefile
+++ b/graphics/jogamp-jogl/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:x11-toolkits/swt
ONLY_FOR_ARCHS= i386 amd64
-USES= tar:xz
+USES= tar:xz xorg
USE_ANT= yes
USE_GCC= yes
diff --git a/graphics/jogl/Makefile b/graphics/jogl/Makefile
index 6acda2ed1e1e..ddd0f9ad3bd2 100644
--- a/graphics/jogl/Makefile
+++ b/graphics/jogl/Makefile
@@ -28,7 +28,7 @@ ALL_TARGET= all
# jogl/make/build.xml
ONLY_FOR_ARCHS= i386 amd64
-USES= zip
+USES= gl xorg zip
USE_XORG= x11 xau xdamage xdmcp xext xfixes xorgproto xt xxf86vm
USE_GL= gl
USE_ANT= yes
diff --git a/graphics/kludge3d/Makefile b/graphics/kludge3d/Makefile
index ada590370575..d6262c42e313 100644
--- a/graphics/kludge3d/Makefile
+++ b/graphics/kludge3d/Makefile
@@ -13,7 +13,7 @@ COMMENT= Simple 3D editor
LIB_DEPENDS= lib3ds.so:graphics/lib3ds \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
-USES= gmake pkgconfig python
+USES= gl gmake gnome pkgconfig python
USE_GL= gl
USE_GNOME= gtk20
GNU_CONFIGURE= yes
diff --git a/graphics/kudu/Makefile b/graphics/kudu/Makefile
index fd9fad86dcee..75beda1b2495 100644
--- a/graphics/kudu/Makefile
+++ b/graphics/kudu/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
-USES= compiler:c++11-lang localbase tar:bzip2 pkgconfig python:2.7
+USES= compiler:c++11-lang gl localbase tar:bzip2 pkgconfig python:2.7
GNU_CONFIGURE= yes
USE_GL= gl
diff --git a/graphics/kxstitch/Makefile b/graphics/kxstitch/Makefile
index fc757fa89931..562296e2085e 100644
--- a/graphics/kxstitch/Makefile
+++ b/graphics/kxstitch/Makefile
@@ -12,7 +12,8 @@ COMMENT= Cross stitch pattern editor
LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6 \
libMagickCore-6.so:graphics/ImageMagick6
-USES= cmake compiler:c++11-lang desktop-file-utils kde:5 qt:5 tar:xz
+USES= cmake compiler:c++11-lang desktop-file-utils kde:5 qt:5 tar:xz \
+ xorg
USE_KDE= auth bookmarks codecs completion config configwidgets coreaddons \
i18n itemviews jobwidgets kio service solid sonnet textwidgets \
widgetsaddons xmlgui
diff --git a/graphics/lazpaint/Makefile b/graphics/lazpaint/Makefile
index da9ffc7432a0..b33cb085579a 100644
--- a/graphics/lazpaint/Makefile
+++ b/graphics/lazpaint/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv3
gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5
qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2
-USES= dos2unix fpc lazarus:flavors
+USES= dos2unix fpc lazarus:flavors xorg
USE_FPC= chm fcl-base fcl-image fcl-json fcl-net fcl-web fcl-xml \
opengl openssl pasjpeg rtl-extra rtl-objpas x11
USE_XORG= x11
diff --git a/graphics/lfview/Makefile b/graphics/lfview/Makefile
index 4baa09757ae7..7860e32d15eb 100644
--- a/graphics/lfview/Makefile
+++ b/graphics/lfview/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://hoshina.denpa.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphic viewer for Leaf products
-USES= imake tar:tgz
+USES= imake tar:tgz xorg
USE_XORG= x11 xext
USE_LDCONFIG= yes
diff --git a/graphics/lib3ds/Makefile b/graphics/lib3ds/Makefile
index 42195c2a9e6d..c8f5832ae1ad 100644
--- a/graphics/lib3ds/Makefile
+++ b/graphics/lib3ds/Makefile
@@ -13,7 +13,7 @@ COMMENT= Library for handling 3DS (3D Studio) files
LICENSE= LGPL21+
-USES= libtool localbase zip
+USES= gl libtool localbase zip
GNU_CONFIGURE= yes
USE_GL= gl glu glut
INSTALL_TARGET= install-strip
diff --git a/graphics/libafterimage/Makefile b/graphics/libafterimage/Makefile
index 21c30f9a1432..4d7284ce0b15 100644
--- a/graphics/libafterimage/Makefile
+++ b/graphics/libafterimage/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libgif.so:graphics/giflib \
libtiff.so:graphics/tiff \
libfreetype.so:print/freetype2
-USES= jpeg pkgconfig tar:bzip2
+USES= gnome jpeg pkgconfig tar:bzip2 xorg
USE_XORG= xext
USE_GNOME= librsvg2
GNU_CONFIGURE= yes
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile
index 8eebb0584a3a..d52df5328764 100644
--- a/graphics/libchamplain/Makefile
+++ b/graphics/libchamplain/Makefile
@@ -18,8 +18,8 @@ LIB_DEPENDS= libcogl.so:graphics/cogl \
libjson-glib-1.0.so:devel/json-glib \
libsoup-2.4.so:devel/libsoup
-USES= gettext-runtime gmake gnome libtool localbase pathfix \
- pkgconfig sqlite tar:xz
+USES= gettext-runtime gl gmake gnome libtool localbase pathfix \
+ pkgconfig sqlite tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
USE_GL= egl
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr
diff --git a/graphics/libgfx/Makefile b/graphics/libgfx/Makefile
index 4f9a67ff1b2d..3c3dd1ae5806 100644
--- a/graphics/libgfx/Makefile
+++ b/graphics/libgfx/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
BUILD_WRKSRC= ${WRKSRC}/src
-USES= gmake jpeg
+USES= gl gmake jpeg xorg
USE_GL= glu
USE_XORG= x11 xext xft xinerama
GNU_CONFIGURE= yes
diff --git a/graphics/libgltext/Makefile b/graphics/libgltext/Makefile
index b487f6c9736d..98dd43a20141 100644
--- a/graphics/libgltext/Makefile
+++ b/graphics/libgltext/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= gmake localbase libtool
+USES= gl gmake localbase libtool xorg
USE_GL= gl glu
USE_XORG= x11 xmu
GNU_CONFIGURE= yes
diff --git a/graphics/libgltf/Makefile b/graphics/libgltf/Makefile
index abc06716b9ac..1238a6358b91 100644
--- a/graphics/libgltf/Makefile
+++ b/graphics/libgltf/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:devel/boost-libs \
${LOCALBASE}/include/glm/glm.hpp:math/glm
-USES= compiler:c++0x libtool pathfix pkgconfig tar:bzip2
+USES= compiler:c++0x gl libtool pathfix pkgconfig tar:bzip2
USE_GL= glew
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/graphics/libimg/Makefile b/graphics/libimg/Makefile
index 70d2f84421ae..3b39afa9168c 100644
--- a/graphics/libimg/Makefile
+++ b/graphics/libimg/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-USES= autoreconf jpeg tk:tea zip
+USES= autoreconf jpeg tk:tea xorg zip
USE_XORG= x11 xext xft xrender xscrnsaver
OPTIONS_DEFINE= EXAMPLES
OPTIONS_SUB= yes
diff --git a/graphics/liblug/Makefile b/graphics/liblug/Makefile
index 2680c460185d..70076018b87d 100644
--- a/graphics/liblug/Makefile
+++ b/graphics/liblug/Makefile
@@ -13,6 +13,7 @@ COMMENT= Multi-format graphics manipulation library
LIB_DEPENDS= libtiff.so:graphics/tiff
PLIST_FILES= lib/liblug.a
+USES= xorg
USE_XORG= x11
CFLAGS+= -Wno-return-type
diff --git a/graphics/libreatlas/Makefile b/graphics/libreatlas/Makefile
index c2046dbca96b..4391101c71ea 100644
--- a/graphics/libreatlas/Makefile
+++ b/graphics/libreatlas/Makefile
@@ -31,7 +31,8 @@ LIB_DEPENDS= libmspack.so:archivers/libmspack \
libfontconfig.so:x11-fonts/fontconfig
GNU_CONFIGURE= yes
-USES= compiler:c++11-lang gettext gmake iconv jpeg pathfix pkgconfig
+USES= compiler:c++11-lang gettext gmake gnome iconv jpeg pathfix \
+ pkgconfig xorg
USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
xfixes xi xinerama xrandr xrender xxf86vm
USE_GNOME= atk gdkpixbuf2 glib20 gtk20 pango
diff --git a/graphics/libvisual04-plugins/Makefile b/graphics/libvisual04-plugins/Makefile
index 9794605a179f..6410c4b64c90 100644
--- a/graphics/libvisual04-plugins/Makefile
+++ b/graphics/libvisual04-plugins/Makefile
@@ -14,7 +14,7 @@ COMMENT= Set of plugins for the libvisual framework
LIB_DEPENDS= libvisual-${MAJORMINOR}.so:graphics/libvisual04
-USES= libtool pkgconfig
+USES= gl libtool pkgconfig xorg
USE_GL= yes
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/graphics/lightzone/Makefile b/graphics/lightzone/Makefile
index 4ec9103854c6..c54eee0d01f3 100644
--- a/graphics/lightzone/Makefile
+++ b/graphics/lightzone/Makefile
@@ -34,7 +34,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ktgw0316
GH_PROJECT= LightZone
-USES= desktop-file-utils gmake jpeg pkgconfig
+USES= desktop-file-utils gmake jpeg pkgconfig xorg
USE_ANT= yes
USE_JAVA= yes
USE_GCC= yes
diff --git a/graphics/lximage-qt/Makefile b/graphics/lximage-qt/Makefile
index 909e50b7a04b..fb99e4eb6dfd 100644
--- a/graphics/lximage-qt/Makefile
+++ b/graphics/lximage-qt/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libexif.so:graphics/libexif \
libmenu-cache.so:x11/menu-cache
USES= cmake compiler:c++14-lang desktop-file-utils gettext-runtime \
- localbase:ldflags lxqt pkgconfig qt:5 gnome tar:xz
+ gnome localbase:ldflags lxqt pkgconfig qt:5 gnome tar:xz xorg
USE_GNOME= glib20
USE_QT= buildtools_build qmake_build core dbus gui linguisttools \
diff --git a/graphics/magnum-examples/Makefile b/graphics/magnum-examples/Makefile
index f96cc87b0e47..f77a2b301f3d 100644
--- a/graphics/magnum-examples/Makefile
+++ b/graphics/magnum-examples/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libBox2D.so:misc/box2d \
libglfw.so:graphics/glfw \
libMagnum.so:graphics/magnum
-USES= cmake compiler:c++14-lang gl localbase:ldflags openal
+USES= cmake compiler:c++14-lang gl localbase:ldflags openal sdl xorg
USE_GITHUB= yes
GH_ACCOUNT= mosra
GH_TUPLE= mosra:toolchains:fc22ff5:t/toolchains
diff --git a/graphics/magnum/Makefile b/graphics/magnum/Makefile
index dc9fe0270152..c7214ece928c 100644
--- a/graphics/magnum/Makefile
+++ b/graphics/magnum/Makefile
@@ -17,7 +17,7 @@ BROKEN= fails to build
LIB_DEPENDS= libCorradeUtility.so:devel/corrade \
libglfw.so:graphics/glfw
-USES= cmake compiler:c++14-lang gl openal
+USES= cmake compiler:c++14-lang gl openal sdl xorg
USE_GITHUB= yes
GH_ACCOUNT= mosra
GH_TUPLE= mosra:toolchains:a3e0aff:t/toolchains
diff --git a/graphics/maim/Makefile b/graphics/maim/Makefile
index 9b72268f9c36..0257a5589d7d 100644
--- a/graphics/maim/Makefile
+++ b/graphics/maim/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
libpng.so:graphics/png \
libslopy.so:x11/slop
-USES= cmake compiler:c++11-lang jpeg
+USES= cmake compiler:c++11-lang gl jpeg xorg
USE_GITHUB= yes
GH_ACCOUNT= naelstrof
USE_GL= gl glut
diff --git a/graphics/mhgui/Makefile b/graphics/mhgui/Makefile
index 063896912727..0c4bfa2e8e08 100644
--- a/graphics/mhgui/Makefile
+++ b/graphics/mhgui/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libanimorph.so:graphics/animorph \
libpng.so:graphics/png
GNU_CONFIGURE= yes
-USES= pkgconfig gmake libtool
+USES= pkgconfig gl gmake libtool xorg
USE_LDCONFIG= yes
USE_XORG= xi xmu ice sm
USE_GL= glut
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile
index 13195e190d7a..3639f201815b 100644
--- a/graphics/mupdf/Makefile
+++ b/graphics/mupdf/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libjbig2dec.so:graphics/jbig2dec \
libopenjp2.so:graphics/openjpeg
-USES= cpe compiler:c++11-lang gl gmake jpeg pkgconfig
+USES= cpe compiler:c++11-lang gl gmake jpeg pkgconfig xorg
USE_XORG= x11 xcursor xext xinerama xrandr
USE_GL= gl glut
USE_LDCONFIG= yes
diff --git a/graphics/mxp/Makefile b/graphics/mxp/Makefile
index 30f059b18ddb..7705722b71b8 100644
--- a/graphics/mxp/Makefile
+++ b/graphics/mxp/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= xorg
USE_XORG= xaw xbitmaps xpm
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_UNSAFE= yes
diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile
index c5128fcace44..f90eb0ffe2db 100644
--- a/graphics/ocaml-images/Makefile
+++ b/graphics/ocaml-images/Makefile
@@ -66,6 +66,7 @@ GTK2_RUN_DEPENDS= lablgtk2:x11-toolkits/ocaml-lablgtk2
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXPM}
+USES+= xorg
USE_XORG= xpm
.endif
diff --git a/graphics/ocaml-lablgl/Makefile b/graphics/ocaml-lablgl/Makefile
index 6c63e7159e00..a0215d0ffa4d 100644
--- a/graphics/ocaml-lablgl/Makefile
+++ b/graphics/ocaml-lablgl/Makefile
@@ -17,7 +17,7 @@ LICENSE= BSD3CLAUSE
CONFLICTS= ocaml-nox11-[0-9]*
-USES= gmake tk
+USES= gl gmake tk xorg
USE_XORG= x11 xext xmu
USE_GL= glut
USE_OCAML= yes
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 04bc289ba7f6..549d4acb882d 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libzzip.so:devel/zziplib \
CONFLICTS= ogre3d19-[0-9]*
USE_LDCONFIG= yes
-USES= cmake pkgconfig compiler:c++11-lib sdl
+USES= cmake pkgconfig compiler:c++11-lib sdl xorg
USE_SDL= sdl2
USE_XORG= x11 xaw xext xrandr xt
diff --git a/graphics/ogre3d19/Makefile b/graphics/ogre3d19/Makefile
index fe006ec86cb2..94c54d004d6c 100644
--- a/graphics/ogre3d19/Makefile
+++ b/graphics/ogre3d19/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libzzip.so:devel/zziplib \
CONFLICTS= ogre3d-[0-9]*
USE_LDCONFIG= yes
-USES= tar:bzip2 cmake pkgconfig compiler:c++11-lib
+USES= tar:bzip2 cmake pkgconfig compiler:c++11-lib sdl xorg
USE_SDL= sdl
USE_XORG= xaw xrandr
WRKSRC= ${WRKDIR}/sinbad-ogre-dd30349ea667
diff --git a/graphics/open3d/Makefile b/graphics/open3d/Makefile
index b9d2cbb867c5..014c234cd40a 100644
--- a/graphics/open3d/Makefile
+++ b/graphics/open3d/Makefile
@@ -16,7 +16,8 @@ LIB_DEPENDS= libglfw.so:graphics/glfw \
libjsoncpp.so:devel/jsoncpp \
libpng.so:graphics/png
-USES= cmake compiler:c++14-lang eigen:3 jpeg localbase:ldflags pkgconfig
+USES= cmake compiler:c++14-lang eigen:3 gl jpeg localbase:ldflags \
+ pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= IntelVCL
USE_GL= gl glew glu
diff --git a/graphics/opencolorio/Makefile b/graphics/opencolorio/Makefile
index e8449d9bdfc8..80bb066ca5a2 100644
--- a/graphics/opencolorio/Makefile
+++ b/graphics/opencolorio/Makefile
@@ -51,6 +51,7 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2 \
CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS
CMAKE_OFF+= OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE
LDFLAGS+= -lOpenColorIO
+USES+= gl xorg
USE_GL= gl glu glut glew
USE_XORG= xi xmu
PLIST= ${PKGDIR}/pkg-plist-tools
diff --git a/graphics/opencsg/Makefile b/graphics/opencsg/Makefile
index 12a00a47b029..8bc51e731d57 100644
--- a/graphics/opencsg/Makefile
+++ b/graphics/opencsg/Makefile
@@ -14,7 +14,7 @@ COMMENT= Constructive Solid Geometry rendering library
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/../license.txt
-USES= compiler:c++11-lang qmake qt:5
+USES= compiler:c++11-lang gl qmake qt:5
USE_GL= gl glesv2 glew
USE_QT= opengl qmake_build
WRKSRC= ${WRKDIR}/${DISTNAME}/src
diff --git a/graphics/openfx-arena/Makefile b/graphics/openfx-arena/Makefile
index 960f9ab8f0ea..e47a54f973a7 100644
--- a/graphics/openfx-arena/Makefile
+++ b/graphics/openfx-arena/Makefile
@@ -35,7 +35,7 @@ LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \
libltdl.so:devel/libltdl \
libpoppler.so:graphics/poppler
-USES= gmake iconv
+USES= gl gmake gnome iconv xorg
USE_GITHUB= yes
GH_ACCOUNT= NatronGitHub
GH_PROJECT= openfx-arena
diff --git a/graphics/openfx-misc/Makefile b/graphics/openfx-misc/Makefile
index 3d55d0cb9d66..e1bbf076c1fe 100644
--- a/graphics/openfx-misc/Makefile
+++ b/graphics/openfx-misc/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64
-USES= gmake
+USES= gl gmake
USE_GITHUB= yes
GH_ACCOUNT= NatronGitHub
GH_PROJECT= openfx-misc
diff --git a/graphics/openrm/Makefile b/graphics/openrm/Makefile
index 1a4d06a4d1a4..6d3475fdbe9e 100644
--- a/graphics/openrm/Makefile
+++ b/graphics/openrm/Makefile
@@ -16,7 +16,7 @@ COMMENT= Development environment used to build 2D/3D/stereo graphics
LICENSE= LGPL20+ # from sources, though LICENSE file is LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE.html
-USES= jpeg perl5 shebangfix
+USES= gl jpeg perl5 shebangfix xorg
SHEBANG_FILES= doc/*.pl
USE_GL= glu
USE_XORG= xmu
diff --git a/graphics/opensubdiv/Makefile b/graphics/opensubdiv/Makefile
index 3b895d2189b3..db77308083f7 100644
--- a/graphics/opensubdiv/Makefile
+++ b/graphics/opensubdiv/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= glfw>2.7.0:graphics/glfw
-USES= cmake
+USES= cmake gl
USE_GITHUB= yes
GH_ACCOUNT= PixarAnimationStudios
@@ -34,6 +34,7 @@ DOCS_BUILD_DEPENDS= rst2html.py:textproc/py-docutils \
DOCS_USES= python:build
EXAMPLES_CMAKE_BOOL_OFF= NO_EXAMPLES
+EXAMPLES_USES= xorg
EXAMPLES_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm
EXAMPLES_LIB_DEPENDS= libglfw.so:graphics/glfw
@@ -55,6 +56,7 @@ TBB_LIB_DEPENDS= libtbb.so:devel/tbb
TEST_CMAKE_BOOL_OFF= NO_REGRESSION NO_TESTS NO_GL_TESTS
TEST_LIB_DEPENDS= libglfw.so:graphics/glfw
+TEST_USES= xorg
TEST_USE= xorg=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm
TUTORIALS_DESC= Install tutorial programs
diff --git a/graphics/oyranos/Makefile b/graphics/oyranos/Makefile
index 99e47c7f8db7..6e48c38f5376 100644
--- a/graphics/oyranos/Makefile
+++ b/graphics/oyranos/Makefile
@@ -30,7 +30,8 @@ LIB_DEPENDS= libraw.so:graphics/libraw \
USE_GITHUB= yes
GH_ACCOUNT= oyranos-cms
-USES= cmake compiler:c++11-lib desktop-file-utils gettext iconv jpeg pkgconfig qt:5
+USES= cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \
+ iconv jpeg pkgconfig qt:5 xorg
USE_GL= gl
USE_LDCONFIG= yes
USE_GNOME= libxml2
diff --git a/graphics/p5-OpenGL/Makefile b/graphics/p5-OpenGL/Makefile
index 38bf7ba10976..9713cf1766dd 100644
--- a/graphics/p5-OpenGL/Makefile
+++ b/graphics/p5-OpenGL/Makefile
@@ -17,7 +17,7 @@ MANUAL_PACKAGE_BUILD= needs the X server it will be used with to build
PORTSCOUT= limit:^[0-9\.]*$$
CONFIGURE_ARGS= interface=FREEGLUT
-USES= perl5 display:configure
+USES= gl perl5 display:configure xorg
USE_PERL5= configure
USE_GL= glut
USE_XORG= x11 xext xmu xi ice
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 2c2e77adf382..7642a65b2f60 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= p5-ExtUtils-F77>=1.13:lang/p5-ExtUtils-F77
LIB_DEPENDS= libpgplot.so:graphics/pgplot \
libpng.so:graphics/png
-USES= fortran perl5
+USES= fortran perl5 xorg
USE_XORG= x11
INSTALL_TARGET= pure_install
TEST_TARGET= test
diff --git a/graphics/panoglview/Makefile b/graphics/panoglview/Makefile
index 8d8131594851..f2ebd90cd7f3 100644
--- a/graphics/panoglview/Makefile
+++ b/graphics/panoglview/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ii@any.com.ru
COMMENT= Panorama viewer using OpenGL
-USES= compiler:c++11-lang gmake
+USES= compiler:c++11-lang gl gmake
USE_GL= glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-unicode
diff --git a/graphics/partio/Makefile b/graphics/partio/Makefile
index 4734608e16ff..de81abdd4467 100644
--- a/graphics/partio/Makefile
+++ b/graphics/partio/Makefile
@@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= swig3.0:devel/swig30
-USES= cmake compiler:c++11-lang gl python:2.7 shebangfix
+USES= cmake compiler:c++11-lang gl python:2.7 shebangfix xorg
SHEBANG_FILES= src/tools/partedit.py src/tools/partinspect.py \
src/tools/partjson.py
USE_GL= gl glu glut
diff --git a/graphics/pcl-pointclouds/Makefile b/graphics/pcl-pointclouds/Makefile
index 51441481e604..bd32869e0a8d 100644
--- a/graphics/pcl-pointclouds/Makefile
+++ b/graphics/pcl-pointclouds/Makefile
@@ -27,7 +27,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpcap.so:net/libpcap \
libtiff.so:graphics/tiff
-USES= cmake compiler eigen:3 jpeg python
+USES= cmake compiler eigen:3 jpeg python xorg
USE_GITHUB= yes
GH_ACCOUNT= PointCloudLibrary
USE_XORG= x11 xext xt ice sm
diff --git a/graphics/pgplot/Makefile b/graphics/pgplot/Makefile
index 4530e8867bdf..888174b03522 100644
--- a/graphics/pgplot/Makefile
+++ b/graphics/pgplot/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libpng.so:graphics/png
MAKE_JOBS_UNSAFE= yes
-USES= fortran shebangfix
+USES= fortran shebangfix xorg
USE_LDCONFIG= yes
USE_XORG= x11 xorgproto xt
diff --git a/graphics/pinpoint/Makefile b/graphics/pinpoint/Makefile
index 2a5f5704c052..fd55e2404beb 100644
--- a/graphics/pinpoint/Makefile
+++ b/graphics/pinpoint/Makefile
@@ -15,10 +15,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libclutter-glx-1.0.so:graphics/clutter
+USES= gl gnome pathfix pkgconfig gmake tar:xz
USE_GL= gl
USE_GNOME= librsvg2
GNU_CONFIGURE= yes
-USES= pathfix pkgconfig gmake tar:xz
OPTIONS_DEFINE= GST
GST_DESC= Live videos as slide backgrounds
diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile
index f76f7f726869..aa88a72199f2 100644
--- a/graphics/pixie/Makefile
+++ b/graphics/pixie/Makefile
@@ -23,8 +23,8 @@ BROKEN_armv6= fails to compile: use of undeclared identifier CRenderer
BROKEN_armv7= fails to compile: use of undeclared identifier CRenderer
BROKEN_sparc64= fails to compile
+USES= bison compiler:c++0x gl libtool pathfix tar:tgz
USE_GL= glu
-USES= bison compiler:c++0x libtool pathfix tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/pixie \
--libdir=${PREFIX}/lib/pixie \
diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile
index e1304258081e..14537da78f45 100644
--- a/graphics/plotutils/Makefile
+++ b/graphics/plotutils/Makefile
@@ -13,7 +13,7 @@ COMMENT= Plotting library and toolkit
LIB_DEPENDS= libpng.so:graphics/png
-USES= gmake libtool # parallel builds are broken with bmake(1)
+USES= gmake libtool xorg # parallel builds are broken with bmake(1)
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-libplotter --enable-libxmi
USE_LDCONFIG= yes
diff --git a/graphics/povray36/Makefile b/graphics/povray36/Makefile
index bbab6770cee9..62c09aae276a 100644
--- a/graphics/povray36/Makefile
+++ b/graphics/povray36/Makefile
@@ -17,8 +17,8 @@ COMMENT= Persistence of Vision Ray Tracer
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff
+USES= compiler:c11 gmake jpeg tar:bzip2 xorg
USE_XORG= x11
-USES= compiler:c11 gmake jpeg tar:bzip2
GNU_CONFIGURE= yes
USE_CXXSTD= gnu++98
diff --git a/graphics/pqiv/Makefile b/graphics/pqiv/Makefile
index e608453329c2..6fa9bc47e697 100644
--- a/graphics/pqiv/Makefile
+++ b/graphics/pqiv/Makefile
@@ -32,7 +32,7 @@ WAND_DESC= ImageMagick image processing support
OPTIONS_DEFAULT= GTK2 PIXBUF
-USES= compiler gettext-runtime gmake gnome pkgconfig
+USES= compiler gettext-runtime gmake gnome pkgconfig xorg
USE_XORG= x11
USE_GNOME= cairo gdkpixbuf2
HAS_CONFIGURE= yes
diff --git a/graphics/py-PyOpenGL/Makefile b/graphics/py-PyOpenGL/Makefile
index 697072df68ab..ab88134abfe3 100644
--- a/graphics/py-PyOpenGL/Makefile
+++ b/graphics/py-PyOpenGL/Makefile
@@ -20,7 +20,7 @@ OPTIONS_DEFINE= TKINTER
OPTIONS_DEFAULT= TKINTER
TKINTER_DESC= Build with tkinter for X support
-USES= dos2unix python
+USES= dos2unix gl python
USE_GL= glut
USE_PYTHON= distutils autoplist
diff --git a/graphics/py-glewpy/Makefile b/graphics/py-glewpy/Makefile
index 0a2a8d089b23..f36e2e29845b 100644
--- a/graphics/py-glewpy/Makefile
+++ b/graphics/py-glewpy/Makefile
@@ -18,7 +18,7 @@ COMMENT= Advanced OpenGL extensions to Python
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyrex>=0.9.6.2:devel/pyrex@${PY_FLAVOR}
-USES= python:2.7
+USES= gl python:2.7
USE_GL= glew
USE_PYTHON= distutils
diff --git a/graphics/py-qt5-svg/Makefile b/graphics/py-qt5-svg/Makefile
index 2f0c00c6e011..5561edcf9133 100644
--- a/graphics/py-qt5-svg/Makefile
+++ b/graphics/py-qt5-svg/Makefile
@@ -12,7 +12,7 @@ RUN_DEPENDS= ${PY_ENUM34}
CONFIGURE_ARGS= --enable QtSvg
PYQT_DIST= yes
-USES= python pyqt:5 qt:5
+USES= gl python pyqt:5 qt:5
USE_GL= gl
USE_PYQT= sip_build core_run gui_run widgets_run
USE_PYTHON= concurrent flavors py3kplist
diff --git a/graphics/py-soya3d/Makefile b/graphics/py-soya3d/Makefile
index 63358e8246ea..1142b812b36f 100644
--- a/graphics/py-soya3d/Makefile
+++ b/graphics/py-soya3d/Makefile
@@ -22,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/editobj/editor.py:graphics/py-editobj@${PY_FLA
${PYTHON_SITELIBDIR}/tofu/client.py:net/py-tofu@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/cerealizer/__init__.py:security/py-cerealizer@${PY_FLAVOR}
-USES= gmake openal:al,alut python:2.7 tar:bzip2
+USES= gl gmake openal:al,alut python:2.7 sdl tar:bzip2
USE_GL= glew glu
USE_PYTHON= autoplist distutils
USE_SDL= sdl
diff --git a/graphics/qiv/Makefile b/graphics/qiv/Makefile
index 9219b355adba..f28e92c9dcb2 100644
--- a/graphics/qiv/Makefile
+++ b/graphics/qiv/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
liblcms2.so:graphics/lcms2 \
libexif.so:graphics/libexif
-USES= gmake pkgconfig tar:tgz
+USES= gmake gnome pkgconfig tar:tgz xorg
USE_GNOME= gtk20
PLIST_FILES= bin/qiv man/man1/qiv.1.gz
diff --git a/graphics/qt5-wayland/Makefile b/graphics/qt5-wayland/Makefile
index e44ec5b9b1d5..83ec9e196800 100644
--- a/graphics/qt5-wayland/Makefile
+++ b/graphics/qt5-wayland/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c++11-lang gl gnome pkgconfig qmake:norecursive \
- qt-dist:5,wayland
+ qt-dist:5,wayland xorg
USE_GL= egl gl
USE_GNOME= glib20
USE_QT= core dbus gui declarative \
diff --git a/graphics/quat-gui/Makefile b/graphics/quat-gui/Makefile
index 35c8d01c7aaa..e03342c5c809 100644
--- a/graphics/quat-gui/Makefile
+++ b/graphics/quat-gui/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
+USES= gl xorg
USE_XORG= xext
USE_GL= gl glut
GNU_CONFIGURE= yes
diff --git a/graphics/quesa/Makefile b/graphics/quesa/Makefile
index a8c902672cb0..caece3b5b9ca 100644
--- a/graphics/quesa/Makefile
+++ b/graphics/quesa/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= High level 3D graphics library compatible with Apple's QuickDraw(TM)
-USES= libtool
+USES= gl libtool xorg
USE_CXXSTD= gnu++98
GNU_CONFIGURE= yes
USE_GL= glut
diff --git a/graphics/quesoglc/Makefile b/graphics/quesoglc/Makefile
index a9ac4177411e..b9e92d2cf4af 100644
--- a/graphics/quesoglc/Makefile
+++ b/graphics/quesoglc/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libfribidi.so:converters/fribidi \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
-USES= gmake libtool localbase pathfix pkgconfig tar:bzip2
+USES= gl gmake libtool localbase pathfix pkgconfig tar:bzip2 xorg
GNU_CONFIGURE= yes
USE_GL= gl glu
USE_XORG= x11
diff --git a/graphics/radius-engine/Makefile b/graphics/radius-engine/Makefile
index f53a3a460d2c..2f4be0fd5105 100644
--- a/graphics/radius-engine/Makefile
+++ b/graphics/radius-engine/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= liblua-5.1.so:lang/lua51 \
libpng.so:graphics/png \
libphysfs.so.1:devel/physfs
-USES= pathfix pkgconfig
+USES= gl pathfix pkgconfig sdl
USE_SDL= sdl sound
USE_GL= glu
GNU_CONFIGURE= yes
diff --git a/graphics/reallyslick/Makefile b/graphics/reallyslick/Makefile
index d0ef3e39c570..50528500b6a9 100644
--- a/graphics/reallyslick/Makefile
+++ b/graphics/reallyslick/Makefile
@@ -14,7 +14,7 @@ COMMENT= OpenGL screensaver collection
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 \
libGLC.so:graphics/quesoglc
-USES= compiler:c++11-lang gmake pathfix pkgconfig tar:bzip2 libtool
+USES= compiler:c++11-lang gl gmake pathfix pkgconfig tar:bzip2 libtool
USE_GL= glut
GNU_CONFIGURE= yes
diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 3910ab0d39d2..f80f5256ec11 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -46,6 +46,7 @@ WITH_X11_CHECK= # empty
.endif
.if !empty(WITH_X11_CHECK)
+USES= xorg
USE_XORG= xpm x11
PKGNAMESUFFIX_XPM= +xpm
CONFIGURE_ARGS+= --with-X11-dir="${LOCALBASE}" --with-xpm
diff --git a/graphics/rubygem-opengl/Makefile b/graphics/rubygem-opengl/Makefile
index 28a73f794760..544f97a50178 100644
--- a/graphics/rubygem-opengl/Makefile
+++ b/graphics/rubygem-opengl/Makefile
@@ -14,8 +14,8 @@ COMMENT= OpenGL wrapper for Ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+USES= gl gem
USE_GL= glut
USE_RUBY= yes
-USES= gem
.include <bsd.port.mk>
diff --git a/graphics/sage/Makefile b/graphics/sage/Makefile
index ee1412018d63..99b296d28426 100644
--- a/graphics/sage/Makefile
+++ b/graphics/sage/Makefile
@@ -12,8 +12,8 @@ COMMENT= OpenGL extension library
CONFIGURE_ARGS= --program-transform-name=
GNU_CONFIGURE= yes
+USES= gl libtool pathfix sdl
USE_GL= yes
-USES= libtool pathfix
USE_LDCONFIG= yes
USE_SDL= sdl
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile
index 33298e6a2954..bf45852aba73 100644
--- a/graphics/scrot/Makefile
+++ b/graphics/scrot/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libgiblib.so:graphics/giblib \
USE_GITHUB= yes
GH_ACCOUNT= resurrecting-open-source-projects
-USES= autoreconf
+USES= autoreconf xorg
USE_CSTD= c99
GNU_CONFIGURE= yes
USE_XORG= x11 xfixes xcursor
diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile
index 7c2d96ad1dda..d21cf1c7828f 100644
--- a/graphics/sdl_ttf/Makefile
+++ b/graphics/sdl_ttf/Makefile
@@ -15,7 +15,7 @@ LICENSE= ZLIB
LIB_DEPENDS= libfreetype.so:print/freetype2
-USES= gmake iconv libtool pathfix pkgconfig
+USES= gmake iconv libtool pathfix pkgconfig sdl xorg
USE_SDL= sdl
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/graphics/seom/Makefile b/graphics/seom/Makefile
index f1caee8debf2..8e375668d62c 100644
--- a/graphics/seom/Makefile
+++ b/graphics/seom/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= not yet ported to any arch other than x86
-USES= gmake tar:bzip2
+USES= gl gmake tar:bzip2 xorg
USE_XORG= x11 xv xext
USE_GL= gl
USE_LDCONFIG= yes
diff --git a/graphics/sharpconstruct/Makefile b/graphics/sharpconstruct/Makefile
index 87a856fa4e05..ddd666e66b53 100644
--- a/graphics/sharpconstruct/Makefile
+++ b/graphics/sharpconstruct/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= uses SSE instructions
-USES= compiler:c++11-lang tar:bzip2 gmake pkgconfig
+USES= compiler:c++11-lang gl tar:bzip2 gmake pkgconfig
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
USE_GL= yes
diff --git a/graphics/shotwell/Makefile b/graphics/shotwell/Makefile
index 683bfa576206..79583800777f 100644
--- a/graphics/shotwell/Makefile
+++ b/graphics/shotwell/Makefile
@@ -32,7 +32,7 @@ LIB_DEPENDS= libgio-2.0.so:devel/glib20 \
libxml2.so:textproc/libxml2
USES= gettext desktop-file-utils gnome meson ninja pkgconfig \
- python:3.4+,build shebangfix sqlite tar:xz
+ python:3.4+,build shebangfix sqlite tar:xz xorg
USE_GNOME= cairo dconf gtk30 gnomedocutils
USE_GSTREAMER1= yes
USE_LDCONFIG= yes
diff --git a/graphics/simpleviewer/Makefile b/graphics/simpleviewer/Makefile
index ae1ad2b9ee20..4893f9b302e4 100644
--- a/graphics/simpleviewer/Makefile
+++ b/graphics/simpleviewer/Makefile
@@ -25,7 +25,8 @@ LIB_DEPENDS= libIlmImf.so:graphics/openexr \
libtiff.so:graphics/tiff \
libwebp.so:graphics/webp
-USES= cmake:insource compiler:c++11-lang jpeg pkgconfig tar:bzip2
+USES= cmake:insource compiler:c++11-lang gl jpeg pkgconfig tar:bzip2 \
+ xorg
USE_GL= glu
USE_XORG= ice sm x11 xcursor xext xinerama xrandr xxf86vm
diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile
index 9ef554f82a23..64d2d1e7400f 100644
--- a/graphics/swftools/Makefile
+++ b/graphics/swftools/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libt1.so:devel/t1lib \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
-USES= gmake pkgconfig jpeg
+USES= gl gmake pkgconfig jpeg
USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_lib_zzip_zzip_file_open=no
diff --git a/graphics/sxiv/Makefile b/graphics/sxiv/Makefile
index c144b9c19aac..811297d898d5 100644
--- a/graphics/sxiv/Makefile
+++ b/graphics/sxiv/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libexif.so:graphics/libexif \
libgif.so:graphics/giflib \
libImlib2.so:graphics/imlib2
-USES= gmake localbase:ldflags pkgconfig
+USES= gmake localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= muennich
USE_XORG= x11 xft
diff --git a/graphics/telak/Makefile b/graphics/telak/Makefile
index d860b3a8bf8e..259e9a56e14e 100644
--- a/graphics/telak/Makefile
+++ b/graphics/telak/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libgcrypt.so:security/libgcrypt \
libImlib2.so:graphics/imlib2
-USES= gmake
+USES= gmake xorg
USE_XORG= x11
ALL_TARGET= ${PORTNAME}
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
index 451d8624588b..a4a7c3cf584d 100644
--- a/graphics/tgif/Makefile
+++ b/graphics/tgif/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= giftopnm:graphics/netpbm
OPTIONS_DEFINE= NLS A4SIZE DOCS
A4SIZE_DESC= Set default paper size to A4
-USES= imake
+USES= imake xorg
PORTDOCS= HISTORY README
USE_XORG= x11 xext xt sm ice
diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile
index 4ad0bac6829d..bc628432ab1b 100644
--- a/graphics/togl/Makefile
+++ b/graphics/togl/Makefile
@@ -14,7 +14,7 @@ COMMENT= Tk OpenGL widget
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake tk:tea
+USES= gl gmake tk:tea xorg
USE_XORG= x11 xt xmu
USE_GL= gl
USE_LDCONFIG= yes
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index 41fbc42eb136..b82def978c83 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/copyright
LIB_DEPENDS= libnetpbm.so:graphics/netpbm \
libtiff.so:graphics/tiff
-USES= gmake tar:xz
+USES= gmake tar:xz xorg
OPTIONS_DEFINE= DOCS EXAMPLES
diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile
index 6a491d87a1f8..915b41ac42c7 100644
--- a/graphics/vcg/Makefile
+++ b/graphics/vcg/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv2+
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
-USES= imake:env tar:tgz
+USES= imake:env tar:tgz xorg
USE_XORG= x11 xext
MAKE_JOBS_UNSAFE= yes
diff --git a/graphics/vv/Makefile b/graphics/vv/Makefile
index 2ee7046c7532..adb1e9e7629b 100644
--- a/graphics/vv/Makefile
+++ b/graphics/vv/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 \
libtiff.so:graphics/tiff \
libvtkIOSQL-8.1.so:math/vtk8
-USES= cmake compiler:c++11-lang jpeg qt:5
+USES= cmake compiler:c++11-lang jpeg qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= open-vv
USE_QT= core designer gui network sql widgets xml buildtools_build qmake_build
diff --git a/graphics/xbmbrowser/Makefile b/graphics/xbmbrowser/Makefile
index 21964a94f04e..441c9c24a848 100644
--- a/graphics/xbmbrowser/Makefile
+++ b/graphics/xbmbrowser/Makefile
@@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= View complete directories of X bitmaps and X pixmaps
-USES= gmake imake
+USES= gmake imake xorg
USE_XORG= xaw xmu
.include <bsd.port.mk>
diff --git a/graphics/xd3d/Makefile b/graphics/xd3d/Makefile
index 24ae2b4a0b41..417b00a94e3e 100644
--- a/graphics/xd3d/Makefile
+++ b/graphics/xd3d/Makefile
@@ -41,7 +41,7 @@ REINPLACE_ARGS= -i ""
FETCH_ARGS=
FETCH_BEFORE_ARGS= -R -o ${DISTDIR}/${DISTFILES}
-USES= fortran
+USES= fortran xorg
USE_XORG= x11 xpm
FFLAGS+= -O
MEMORY_XD3D?= 64
diff --git a/graphics/xdgagrab/Makefile b/graphics/xdgagrab/Makefile
index f9531e3b0658..486c9d2e622f 100644
--- a/graphics/xdgagrab/Makefile
+++ b/graphics/xdgagrab/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://www.infonets.hiroshima-u.ac.jp/~taoka/FreeBSD/ports/
MAINTAINER= ports@FreeBSD.org
COMMENT= Capture an X server screen with a mouse pointer
+USES= xorg
USE_XORG= x11 xxf86dga
ALL_TARGET= xdgagrab
PLIST_FILES= bin/xdgagrab
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 8dd9e4b16af7..5ee68bbca027 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -17,7 +17,7 @@ CONFLICTS= xfig-[12].* xfig-3.1* xfig-3.2.[1234]*
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= desktop-file-utils gmake jpeg tar:xz
+USES= desktop-file-utils gmake jpeg tar:xz xorg
GNU_CONFIGURE= yes
USE_XORG= ice sm x11 xaw xext xi xmu xpm xt
USE_CSTD= gnu89
diff --git a/graphics/xfpovray/Makefile b/graphics/xfpovray/Makefile
index 607cc99cbc64..5b91fd60a29f 100644
--- a/graphics/xfpovray/Makefile
+++ b/graphics/xfpovray/Makefile
@@ -17,7 +17,7 @@ RUN_DEPENDS= povray:graphics/povray-meta
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= tar:tgz uidfix
+USES= tar:tgz uidfix xorg
USE_XORG= x11 xext xpm
MAKEFILE= ${FILESDIR}/BSDmakefile
MAKE_ENV= DOCSDIR="${DOCSDIR}"
diff --git a/graphics/xfractint/Makefile b/graphics/xfractint/Makefile
index a7e2af0da8ff..a80308f07f1f 100644
--- a/graphics/xfractint/Makefile
+++ b/graphics/xfractint/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://www.fractint.org/ftp/current/linux/ \
MAINTAINER= onemda@gmail.com
COMMENT= Unix port of FractInt
-USES= gmake
+USES= gmake xorg
USE_XORG= x11 xft
ALL_TARGET= ${PORTNAME}
diff --git a/graphics/xglurbules/Makefile b/graphics/xglurbules/Makefile
index 7f7719b0e8fb..391fa459ef47 100644
--- a/graphics/xglurbules/Makefile
+++ b/graphics/xglurbules/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://stephenroome.com/xglurbules/
MAINTAINER= steve@pepcross.com
COMMENT= Burning particle system eye candy program thingy for X11
+USES= xorg
USE_XORG= xt x11 sm ice xpm
PLIST_FILES= bin/xglurbules \
diff --git a/graphics/xgrasp/Makefile b/graphics/xgrasp/Makefile
index 744b1299d577..8156bd473d46 100644
--- a/graphics/xgrasp/Makefile
+++ b/graphics/xgrasp/Makefile
@@ -13,7 +13,7 @@ COMMENT= Display GL animations on X screen
NO_WRKSUBDIR= yes
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= x11 xext
PLIST_FILES= bin/glib bin/xgrasp \
diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile
index 627749230c3e..0a62edcf1d2b 100644
--- a/graphics/xli/Makefile
+++ b/graphics/xli/Makefile
@@ -15,7 +15,7 @@ LIB_DEPENDS= libpng.so:graphics/png
CONFLICTS_INSTALL= xloadimage-*
-USES= imake jpeg
+USES= imake jpeg xorg
USE_XORG= xi
WRKSRC= ${WRKDIR}/xli-${XLI_SNAPVER}
diff --git a/graphics/xmountains/Makefile b/graphics/xmountains/Makefile
index 97c59515f99f..0ebae7f3badf 100644
--- a/graphics/xmountains/Makefile
+++ b/graphics/xmountains/Makefile
@@ -16,6 +16,7 @@ COMMENT= X11 based fractal landscape generator
NO_WRKSUBDIR= yes
+USES= xorg
USE_XORG= xbitmaps x11
PLIST_FILES= bin/${PORTNAME} \
diff --git a/graphics/xoris/Makefile b/graphics/xoris/Makefile
index 9a44f7ff1b7d..67f85755b4bb 100644
--- a/graphics/xoris/Makefile
+++ b/graphics/xoris/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= alexander.gromnitsky@gmail.com
COMMENT= X11 pixel color grabber
-USES= imake
+USES= imake xorg
USE_XORG= x11
OPTIONS_DEFINE= DOCS
diff --git a/graphics/xournal/Makefile b/graphics/xournal/Makefile
index 21c1fd1169e3..8c5a1dee7927 100644
--- a/graphics/xournal/Makefile
+++ b/graphics/xournal/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= pkgconfig desktop-file-utils shared-mime-info
+USES= gnome pkgconfig desktop-file-utils shared-mime-info xorg
USE_GNOME= cairo libgnomecanvas
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 9fa3263b78ea..a623a1a2d7f0 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -21,10 +21,10 @@ LIB_DEPENDS= libpng.so:graphics/png \
RUN_DEPENDS= psselect:print/psutils \
bash:shells/bash
-USE_XORG= xft xmu xpm
GNU_CONFIGURE= yes
USES= ghostscript:run jpeg libtool:build pkgconfig shebangfix \
- tar:bzip2
+ tar:bzip2 xorg
+USE_XORG= xft xmu xpm
SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/xpx/Makefile b/graphics/xpx/Makefile
index a593598fd081..82dd1d58a176 100644
--- a/graphics/xpx/Makefile
+++ b/graphics/xpx/Makefile
@@ -13,7 +13,7 @@ COMMENT= Simple pixel editing tool to generate data for KISS
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= imake:notall
+USES= imake:notall xorg
USE_XORG= x11 xext
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
diff --git a/graphics/xsvg/Makefile b/graphics/xsvg/Makefile
index f706f76763ab..4f619b91d400 100644
--- a/graphics/xsvg/Makefile
+++ b/graphics/xsvg/Makefile
@@ -13,7 +13,7 @@ COMMENT= X11 SVG viewer
LIB_DEPENDS= libsvg-cairo.so:graphics/libsvg-cairo
-USES= pkgconfig
+USES= pkgconfig xorg
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lXrender -lm
USE_XORG= x11 xrender
diff --git a/graphics/xtexcad/Makefile b/graphics/xtexcad/Makefile
index 060d1405664a..eaa9e2fb3dc7 100644
--- a/graphics/xtexcad/Makefile
+++ b/graphics/xtexcad/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= TEX_CTAN/graphics/xtexcad
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple drawing program enforcing limited slopes and diameters
-USES= imake
+USES= imake xorg
USE_XORG= ice sm x11 xaw xext xmu xpm xt
PLIST_FILES= bin/xtexcad lib/X11/app-defaults/XTeXcad \
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index afbccf244266..ae7a948ec3f4 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= libtiff.so:graphics/tiff \
libpng.so:graphics/png \
libjasper.so:graphics/jasper
-USES= imake jpeg
+USES= imake jpeg xorg
USE_XORG= xext x11 xt
OPTIONS_DEFINE= M17N DOCS
diff --git a/graphics/xwpick/Makefile b/graphics/xwpick/Makefile
index 67b47ece9d3d..36f418523e8f 100644
--- a/graphics/xwpick/Makefile
+++ b/graphics/xwpick/Makefile
@@ -15,7 +15,7 @@ LICENSE_NAME= xwpick license # non-commercial
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
OPTIONS_DEFINE= DOCS
diff --git a/graphics/xzgv/Makefile b/graphics/xzgv/Makefile
index 02ff8c7c8332..3cb87e03a3a1 100644
--- a/graphics/xzgv/Makefile
+++ b/graphics/xzgv/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libexif.so:graphics/libexif \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
-USES= gmake gnome pkgconfig
+USES= gmake gnome pkgconfig xorg
USE_GNOME= cairo gdkpixbuf2 gtk20
USE_XORG= x11
diff --git a/graphics/yukon/Makefile b/graphics/yukon/Makefile
index 0ca207f286f5..81bfb90d7a36 100644
--- a/graphics/yukon/Makefile
+++ b/graphics/yukon/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libseom.so:graphics/seom
-USES= gmake tar:bzip2
+USES= gl gmake tar:bzip2 xorg
USE_XORG= x11 xv
USE_GL= gl
USE_LDCONFIG= ${PREFIX}/lib/yukon