summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-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
163 files changed, 187 insertions, 157 deletions
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