aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/boinc-astropulse/Makefile2
-rw-r--r--astro/boinc-setiathome/Makefile2
-rw-r--r--astro/opencpn/Makefile2
-rw-r--r--astro/openuniverse/Makefile4
-rw-r--r--astro/saoimage/Makefile1
-rw-r--r--astro/stars/Makefile1
-rw-r--r--astro/sunclock/Makefile2
-rw-r--r--astro/viking/Makefile3
-rw-r--r--astro/wmglobe/Makefile1
-rw-r--r--astro/wmjupiter/Makefile2
-rw-r--r--astro/wmmoonclock/Makefile2
-rw-r--r--astro/wmsolar/Makefile2
-rw-r--r--astro/wmspaceweather/Makefile2
-rw-r--r--astro/wmsun/Makefile1
-rw-r--r--astro/xearth/Makefile2
-rw-r--r--astro/xmoontool/Makefile2
-rw-r--r--astro/xphoon/Makefile2
-rw-r--r--astro/xplanet/Makefile3
-rw-r--r--astro/xtide/Makefile1
-rw-r--r--astro/xworld/Makefile1
-rw-r--r--audio/abgate-lv2/Makefile2
-rw-r--r--audio/amarok/Makefile2
-rw-r--r--audio/ardour5/Makefile5
-rw-r--r--audio/artyfx-lv2/Makefile2
-rw-r--r--audio/asmix/Makefile1
-rw-r--r--audio/asmixer/Makefile1
-rw-r--r--audio/avldrums-lv2/Makefile2
-rw-r--r--audio/baresip/Makefile1
-rw-r--r--audio/carla/Makefile3
-rw-r--r--audio/clementine-player/Makefile3
-rw-r--r--audio/dpf-plugins-lv2/Makefile2
-rw-r--r--audio/drumgizmo/Makefile2
-rw-r--r--audio/dssi/Makefile2
-rw-r--r--audio/fabla2-lv2/Makefile2
-rw-r--r--audio/faustlive/Makefile2
-rw-r--r--audio/fossmixer/Makefile2
-rw-r--r--audio/geonkick-lv2/Makefile3
-rw-r--r--audio/giada/Makefile2
-rw-r--r--audio/gmpc/Makefile3
-rw-r--r--audio/gogglesmm/Makefile3
-rw-r--r--audio/goobox/Makefile3
-rw-r--r--audio/gqradio/Makefile2
-rw-r--r--audio/guidolib/Makefile2
-rw-r--r--audio/gxplugins-lv2/Makefile3
-rw-r--r--audio/jalv-select/Makefile2
-rw-r--r--audio/lsp-plugins-lv2/Makefile2
-rw-r--r--audio/luppp/Makefile2
-rw-r--r--audio/mate-media/Makefile4
-rw-r--r--audio/midi-matrix-lv2/Makefile2
-rw-r--r--audio/mixer.app/Makefile1
-rw-r--r--audio/mixxx/Makefile2
-rw-r--r--audio/mixxx21/Makefile2
-rw-r--r--audio/moony-lv2/Makefile2
-rw-r--r--audio/nekobi-lv2/Makefile2
-rw-r--r--audio/pulseaudio/Makefile2
-rw-r--r--audio/py-karaoke/Makefile3
-rw-r--r--audio/rhythmbox/Makefile2
-rw-r--r--audio/rosegarden/Makefile2
-rw-r--r--audio/sonic-visualiser/Makefile4
-rw-r--r--audio/spiralsynthmodular/Makefile1
-rw-r--r--audio/stegosaurus-lv2/Makefile2
-rw-r--r--audio/string-machine-lv2/Makefile2
-rw-r--r--audio/suil/Makefile3
-rw-r--r--audio/supercollider/Makefile2
-rw-r--r--audio/synthpod-lv2/Makefile4
-rw-r--r--audio/timidity++/Makefile1
-rw-r--r--audio/timidity++/Makefile.interface4
-rw-r--r--audio/vm-lv2/Makefile2
-rw-r--r--audio/vmpk/Makefile2
-rw-r--r--audio/volumeicon/Makefile2
-rw-r--r--audio/wmix/Makefile1
-rw-r--r--audio/wmmp/Makefile2
-rw-r--r--audio/wmrecord/Makefile1
-rw-r--r--audio/workman/Makefile2
-rw-r--r--audio/x42-plugins-lv2/Makefile3
-rw-r--r--audio/xcdplayer/Makefile2
-rw-r--r--audio/xmix/Makefile2
-rw-r--r--audio/xmixer/Makefile1
-rw-r--r--audio/xoscope/Makefile2
-rw-r--r--audio/xwave/Makefile2
-rw-r--r--audio/zam-plugins-lv2/Makefile2
-rw-r--r--audio/zrythm/Makefile3
82 files changed, 103 insertions, 72 deletions
diff --git a/astro/boinc-astropulse/Makefile b/astro/boinc-astropulse/Makefile
index 32791ccfd8c7..591c06e806cb 100644
--- a/astro/boinc-astropulse/Makefile
+++ b/astro/boinc-astropulse/Makefile
@@ -63,7 +63,7 @@ OPTIONS_SUB= yes
X11_DESC= Build screensaver (requires net/boinc-client with X11)
X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:net/boinc-client
-X11_USES= gl jpeg
+X11_USES= gl jpeg xorg
X11_USE= GL=gl,glu,glut \
XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm
X11_CONFIGURE_ENABLE= graphics
diff --git a/astro/boinc-setiathome/Makefile b/astro/boinc-setiathome/Makefile
index 8ed56bde2f02..fa111f79867d 100644
--- a/astro/boinc-setiathome/Makefile
+++ b/astro/boinc-setiathome/Makefile
@@ -47,7 +47,7 @@ X11_DESC= Build screensaver (requires net/boinc-client with X11)
OPTIONS_SUB= yes
X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:net/boinc-client
-X11_USES= gl jpeg
+X11_USES= gl jpeg xorg
X11_USE= GL=gl,glu,glut \
XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm
X11_CONFIGURE_ENABLE= graphics
diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile
index 57c66f63dcab..ec083030fbc0 100644
--- a/astro/opencpn/Makefile
+++ b/astro/opencpn/Makefile
@@ -20,7 +20,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ${GH_PROJECT}
GH_PROJECT= OpenCPN
-USES= cmake compiler:c++11-lang gettext-tools gl gnome localbase
+USES= cmake compiler:c++11-lang gettext-tools gl gnome localbase xorg
USE_CXXSTD= c++11
USE_GL= gl
USE_GNOME= cairo gdkpixbuf2 gtk20
diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile
index cd2485bcac17..10842f65243a 100644
--- a/astro/openuniverse/Makefile
+++ b/astro/openuniverse/Makefile
@@ -10,9 +10,9 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL Solar System simulator for X Window System
-USE_GL= glut
-USES= gmake jpeg
+USES= gl gmake jpeg xorg
+USE_GL= glut
USE_XORG= sm ice xmu xi xext x11
GNU_CONFIGURE= yes
diff --git a/astro/saoimage/Makefile b/astro/saoimage/Makefile
index f9e8b910c1ae..ee8469992946 100644
--- a/astro/saoimage/Makefile
+++ b/astro/saoimage/Makefile
@@ -13,6 +13,7 @@ COMMENT= Smithsonian Astrophysical Observatory image utility for X
MAKEFILE= makefile
MAKE_ENV= OFLAGS="${CFLAGS}"
ALL_TARGET= ${OPSYS}
+USES= xorg
USE_XORG= x11
PLIST_FILES= bin/saoimage etc/imtoolrc.sample man/man1/saoimage.1.gz
diff --git a/astro/stars/Makefile b/astro/stars/Makefile
index 5ce02e8bb829..70e6345a19b1 100644
--- a/astro/stars/Makefile
+++ b/astro/stars/Makefile
@@ -13,6 +13,7 @@ COMMENT= Star field demo
PLIST_FILES= bin/stars
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USES= xorg
USE_XORG= x11
do-build:
diff --git a/astro/sunclock/Makefile b/astro/sunclock/Makefile
index f3b1817cd66c..bcc3e9a2da60 100644
--- a/astro/sunclock/Makefile
+++ b/astro/sunclock/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= jpeg
+USES= jpeg xorg
USE_XORG= xpm
CPPFLAGS+= $$(libpng-config --I_opts) \
diff --git a/astro/viking/Makefile b/astro/viking/Makefile
index 4c19735738b0..ca80e4103634 100644
--- a/astro/viking/Makefile
+++ b/astro/viking/Makefile
@@ -25,7 +25,8 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
liboauth.so:net/liboauth
RUN_DEPENDS= gpsbabel:astro/gpsbabel
-USES= compiler:c++11-lib gmake iconv desktop-file-utils perl5 pkgconfig tar:bzip2
+USES= compiler:c++11-lib gmake gnome iconv desktop-file-utils perl5 \
+ pkgconfig tar:bzip2 xorg
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
xfixes xi xinerama xrandr xrender
USE_GNOME= cairo gnomedocutils gtk20 intlhack
diff --git a/astro/wmglobe/Makefile b/astro/wmglobe/Makefile
index 52ac6ba44b4f..5317c62ef03f 100644
--- a/astro/wmglobe/Makefile
+++ b/astro/wmglobe/Makefile
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libwraster.so:x11-wm/libwraster
+USES= xorg
USE_XORG= x11 xext xpm
PLIST_FILES= bin/wmglobe \
diff --git a/astro/wmjupiter/Makefile b/astro/wmjupiter/Makefile
index 5f18ff350eb0..796cb89b3f27 100644
--- a/astro/wmjupiter/Makefile
+++ b/astro/wmjupiter/Makefile
@@ -15,8 +15,8 @@ USE_GITHUB= yes
GH_ACCOUNT= engerim42
PLIST_FILES= bin/wmJupiter
+USES= gmake xorg
USE_XORG= x11 xext xpm
-USES= gmake
pre-patch:
@${REINPLACE_CMD} -e 's|values.h|float.h|; s|MAXDOUBLE|DBL_MAX|g' \
diff --git a/astro/wmmoonclock/Makefile b/astro/wmmoonclock/Makefile
index ab7353b43480..b3591df84b8f 100644
--- a/astro/wmmoonclock/Makefile
+++ b/astro/wmmoonclock/Makefile
@@ -14,8 +14,8 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
+USES= gmake xorg
USE_XORG= xpm
-USES= gmake
PLIST_FILES= bin/wmmoonclock man/man1/wmmoonclock.1.gz
diff --git a/astro/wmsolar/Makefile b/astro/wmsolar/Makefile
index f254968678b5..f1a9f39eb386 100644
--- a/astro/wmsolar/Makefile
+++ b/astro/wmsolar/Makefile
@@ -14,8 +14,8 @@ USE_GITHUB= yes
GH_ACCOUNT= engerim42
PLIST_FILES= bin/wmSolar
+USES= dos2unix gmake xorg
USE_XORG= x11 xext xpm
-USES= dos2unix gmake
USE_CXXSTD= gnu++98
pre-patch:
diff --git a/astro/wmspaceweather/Makefile b/astro/wmspaceweather/Makefile
index 73c8032fe30c..d1070fb28c2a 100644
--- a/astro/wmspaceweather/Makefile
+++ b/astro/wmspaceweather/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= p5-Time-modules>=0:devel/p5-Time-modules
WRKSRC= ${WRKDIR}/${DISTNAME}/wmSpaceWeather
-USES= shebangfix
+USES= shebangfix xorg
SHEBANG_FILES= GetKp
USE_XORG= x11 xext xpm
ALL_TARGET= clean all
diff --git a/astro/wmsun/Makefile b/astro/wmsun/Makefile
index ecef19aed6e4..27617e436775 100644
--- a/astro/wmsun/Makefile
+++ b/astro/wmsun/Makefile
@@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdockapp.so:x11-wm/libdockapp
+USES= xorg
USE_XORG= xext xpm x11
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
diff --git a/astro/xearth/Makefile b/astro/xearth/Makefile
index 091432c1c745..7b2c53532402 100644
--- a/astro/xearth/Makefile
+++ b/astro/xearth/Makefile
@@ -14,7 +14,7 @@ LICENSE_NAME= Xearth license
LICENSE_FILE= ${WRKSRC}/README
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
-USES= tar:xz
+USES= tar:xz xorg
USE_XORG= x11 xext sm ice xt
PLIST_FILES= bin/xearth \
diff --git a/astro/xmoontool/Makefile b/astro/xmoontool/Makefile
index dde438c05f0b..cf50c0785f0d 100644
--- a/astro/xmoontool/Makefile
+++ b/astro/xmoontool/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://www.senax.net/xmoontool/
MAINTAINER= frank@dynamical-systems.org
COMMENT= Version of John Walker's classical moontool for X11/Motif
-USES= motif
+USES= motif xorg
USE_XORG= x11 xt
PLIST_FILES= bin/xmoontool man/man1/xmoontool.1.gz
diff --git a/astro/xphoon/Makefile b/astro/xphoon/Makefile
index 5122be9302af..d0cb14b04854 100644
--- a/astro/xphoon/Makefile
+++ b/astro/xphoon/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Set the root window to the moon in its current phase
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/xphoon man/man1/xphoon.1.gz
diff --git a/astro/xplanet/Makefile b/astro/xplanet/Makefile
index fdba821db70c..5bc06306553c 100644
--- a/astro/xplanet/Makefile
+++ b/astro/xplanet/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Draw pictures of the earth textured by an image
GNU_CONFIGURE= yes
-USES= iconv localbase
+USES= iconv localbase xorg
USE_XORG= xt xscrnsaver
CONFIGURE_ARGS= --with-map-extension=jpg
CPPFLAGS+= -I${LOCALBASE}/include/netpbm
@@ -23,6 +23,7 @@ OPTIONS_DEFAULT= FREETYPE PANGO GIF JPEG PNG PNM TIFF
FREETYPE_CONFIGURE_WITH= --with-freetype
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
PANGO_CONFIGURE_WITH= pango
+PANGO_USES= gnome
PANGO_USE= GNOME=pango
GIF_CONFIGURE_WITH= gif
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
index 33be33fc6dca..816c06415f24 100644
--- a/astro/xtide/Makefile
+++ b/astro/xtide/Makefile
@@ -35,6 +35,7 @@ OPTIONS_SUB= yes
WVS_DESC= Use world vector shoreline data (37MB)
WVS_DISTFILES= ${DISTNAME_WVS}${EXTRACT_SUFX}
+X11_USES= xorg
X11_USE= xorg=ice,sm,x11,xaw,xext,xmu,xpm,xt
X11_CONFIGURE_WITH= x
X11_DESKTOP_ENTRIES= "XTide" "" "xtide" "xtide" "" ""
diff --git a/astro/xworld/Makefile b/astro/xworld/Makefile
index 950198bd1a18..191fdb6c1b4a 100644
--- a/astro/xworld/Makefile
+++ b/astro/xworld/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= LOCAL/naddy
MAINTAINER= naddy@FreeBSD.org
COMMENT= Earth as seen from the direction of the sun
+USES= xorg
USE_XORG= x11
HAS_CONFIGURE= yes
diff --git a/audio/abgate-lv2/Makefile b/audio/abgate-lv2/Makefile
index c94cab3c99e9..20757bd447c7 100644
--- a/audio/abgate-lv2/Makefile
+++ b/audio/abgate-lv2/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2
-USES= compiler:c++11-lang gmake pkgconfig qt:5
+USES= compiler:c++11-lang gl gmake gnome pkgconfig qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= antanasbruzas
USE_CXXSTD= c++11
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile
index 40aba4addd5d..808ce21b0245 100644
--- a/audio/amarok/Makefile
+++ b/audio/amarok/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
liblz4.so:archivers/liblz4
USES= cmake compiler:c++11-lang desktop-file-utils \
- kde:5 mysql:client,embedded pkgconfig qt:5 shebangfix ssl
+ kde:5 mysql:client,embedded pkgconfig qt:5 shebangfix ssl xorg
USE_QT= core concurrent declarative dbus gui location network phonon4 \
quickcontrols2 script scripttools sql svg webchannel \
diff --git a/audio/ardour5/Makefile b/audio/ardour5/Makefile
index 2221f4ca670b..96e3dc3cd3f6 100644
--- a/audio/ardour5/Makefile
+++ b/audio/ardour5/Makefile
@@ -39,8 +39,9 @@ LIB_DEPENDS= libserd-0.so:devel/serd \
libogg.so:audio/libogg \
libFLAC.so:audio/flac
-USES= compiler:c++11-lang desktop-file-utils gettext libarchive \
- pkgconfig python:2.7,build readline:port tar:bzip2 waf
+USES= compiler:c++11-lang desktop-file-utils gettext gnome \
+ libarchive pkgconfig python:2.7,build readline:port tar:bzip2 \
+ waf xorg
USE_CXXSTD= c++11
USE_XORG= x11
USE_GNOME= atk cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 pango
diff --git a/audio/artyfx-lv2/Makefile b/audio/artyfx-lv2/Makefile
index eb7b6a69f034..9fc367cb082f 100644
--- a/audio/artyfx-lv2/Makefile
+++ b/audio/artyfx-lv2/Makefile
@@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libsndfile.so:audio/libsndfile
-USES= cmake compiler:c++11-lang gnome localbase:ldflags pkgconfig
+USES= cmake compiler:c++11-lang gnome localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= openAVproductions
GH_PROJECT= openAV-ArtyFX
diff --git a/audio/asmix/Makefile b/audio/asmix/Makefile
index b974faa4fbe4..01187b45fa63 100644
--- a/audio/asmix/Makefile
+++ b/audio/asmix/Makefile
@@ -13,6 +13,7 @@ COMMENT= Volume control dock-app for the AfterStep Window Manager
LICENSE= GPLv2
+USES= xorg
USE_XORG= xpm x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-xpm \
diff --git a/audio/asmixer/Makefile b/audio/asmixer/Makefile
index 48bcbdcb1af4..b4c9cbaa097c 100644
--- a/audio/asmixer/Makefile
+++ b/audio/asmixer/Makefile
@@ -12,6 +12,7 @@ COMMENT= Mixer control for AfterStep window manager
LICENSE= GPLv2
+USES= xorg
USE_XORG= xpm x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-xpm \
diff --git a/audio/avldrums-lv2/Makefile b/audio/avldrums-lv2/Makefile
index 536c1a5b4461..ecb0691e8fab 100644
--- a/audio/avldrums-lv2/Makefile
+++ b/audio/avldrums-lv2/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2
-USES= gl gmake gnome pkgconfig
+USES= gl gmake gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= x42
GH_PROJECT= ${PORTNAME}.lv2
diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile
index 7262ca3a6bba..36a4859d0909 100644
--- a/audio/baresip/Makefile
+++ b/audio/baresip/Makefile
@@ -94,6 +94,7 @@ BROKEN= OPTIONS marked as BROKEN have not been updated to the new Baresip API
.endfor
.if ${PORT_OPTIONS:MX11}
+USES+= xorg
USE_XORG= x11
.endif
diff --git a/audio/carla/Makefile b/audio/carla/Makefile
index 340717d00e94..d8f0cab532f9 100644
--- a/audio/carla/Makefile
+++ b/audio/carla/Makefile
@@ -19,7 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblo>0:audio/py-pyliblo@${PY_FLAVOR}
CONFLICTS_BUILD= rtaudio-* rtmidi-*
USES= compiler:c++11-lib desktop-file-utils gl gmake gnome localbase \
- pkgconfig pyqt:5 python:3.4+ qt:5 shared-mime-info shebangfix tar:bz2
+ pkgconfig pyqt:5 python:3.4+ qt:5 shared-mime-info shebangfix \
+ tar:bz2 xorg
USE_GITHUB= yes
GH_ACCOUNT= falkTX
USE_PYQT= core_run gui_run sip svg_run widgets_run xml_build # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040
diff --git a/audio/clementine-player/Makefile b/audio/clementine-player/Makefile
index 240ff4e0ed87..33338327f080 100644
--- a/audio/clementine-player/Makefile
+++ b/audio/clementine-player/Makefile
@@ -31,7 +31,8 @@ USES= cmake \
pkgconfig \
qt:5 \
sqlite \
- gl
+ gl \
+ xorg
USE_CXXSTD= c++11
diff --git a/audio/dpf-plugins-lv2/Makefile b/audio/dpf-plugins-lv2/Makefile
index 6d353ad2ec36..a6feeeb347cd 100644
--- a/audio/dpf-plugins-lv2/Makefile
+++ b/audio/dpf-plugins-lv2/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \
LIB_DEPENDS= liblo.so:audio/liblo \
libprojectM.so:graphics/libprojectm
-USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix
+USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg
SHEBANG_FILES= dpf/utils/generate-ttl.sh
USE_GITHUB= yes
GH_ACCOUNT= DISTRHO
diff --git a/audio/drumgizmo/Makefile b/audio/drumgizmo/Makefile
index 9cb41f5027d7..bec5a38b743d 100644
--- a/audio/drumgizmo/Makefile
+++ b/audio/drumgizmo/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libsmf.so:audio/libsmf \
libexpat.so:textproc/expat2
GNU_CONFIGURE= yes
-USES= compiler:c++11-lang gettext-runtime gnome libtool pkgconfig
+USES= compiler:c++11-lang gettext-runtime gnome libtool pkgconfig xorg
USE_GNOME= glib20
USE_XORG= x11 xext
diff --git a/audio/dssi/Makefile b/audio/dssi/Makefile
index ab3ef6bbe3ee..eb9bb477eb23 100644
--- a/audio/dssi/Makefile
+++ b/audio/dssi/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libdssialsacompat.so:audio/libdssialsacompat \
libjack.so:audio/jack
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
-USES= gmake pathfix pkgconfig localbase libtool
+USES= gmake pathfix pkgconfig localbase libtool xorg
GNU_CONFIGURE= yes
USE_XORG= x11
diff --git a/audio/fabla2-lv2/Makefile b/audio/fabla2-lv2/Makefile
index 0b2afc4de0b3..40fc64b22650 100644
--- a/audio/fabla2-lv2/Makefile
+++ b/audio/fabla2-lv2/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
-USES= cmake compiler:c++11-lang gnome pkgconfig
+USES= cmake compiler:c++11-lang gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= openAVproductions
GH_PROJECT= openAV-Fabla2
diff --git a/audio/faustlive/Makefile b/audio/faustlive/Makefile
index 649f2b002c34..fa237c8faaac 100644
--- a/audio/faustlive/Makefile
+++ b/audio/faustlive/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libLLVM-${LLVM_VERSION:C/([1-9])([0-9])/\1.\2/}.so:devel/llvm${LLVM
libmicrohttpd.so:www/libmicrohttpd \
libqrencode.so:graphics/libqrencode # audio/alsa-lib isn't really needed: https://github.com/grame-cncm/faustlive/issues/3
-USES= compiler:c++11-lang gmake qt:5 ssl
+USES= compiler:c++11-lang gl gmake qt:5 ssl
USE_GITHUB= yes
GH_ACCOUNT= grame-cncm
GH_TAGNAME= 281fcb8
diff --git a/audio/fossmixer/Makefile b/audio/fossmixer/Makefile
index 88e49061d2c9..61421620e097 100644
--- a/audio/fossmixer/Makefile
+++ b/audio/fossmixer/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libao.so:audio/libao \
libltdl.so:devel/libltdl \
libfreetype.so:print/freetype2
-USES= gettext-runtime gl perl5
+USES= gettext-runtime gl perl5 xorg
USE_GL= gl
USE_PERL5= patch build
USE_XORG= x11 xext xrandr
diff --git a/audio/geonkick-lv2/Makefile b/audio/geonkick-lv2/Makefile
index 363c40868909..b3f7d15538e9 100644
--- a/audio/geonkick-lv2/Makefile
+++ b/audio/geonkick-lv2/Makefile
@@ -24,7 +24,8 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \
LIB_DEPENDS= libjack.so:audio/jack \
libsndfile.so:audio/libsndfile
-USES= compiler:c++14-lang cmake:noninja gnome localbase:ldflags pkgconfig shared-mime-info
+USES= compiler:c++14-lang cmake:noninja gnome localbase:ldflags \
+ pkgconfig shared-mime-info xorg
USE_GITHUB= yes
GH_ACCOUNT= quamplex
USE_GNOME= cairo
diff --git a/audio/giada/Makefile b/audio/giada/Makefile
index e7c1a4eebcde..632d08ff118d 100644
--- a/audio/giada/Makefile
+++ b/audio/giada/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
-USES= autoreconf compiler:c++11-lang gmake localbase
+USES= autoreconf compiler:c++11-lang gmake localbase xorg
USE_GITHUB= yes
GH_ACCOUNT= monocasual
GNU_CONFIGURE= yes
diff --git a/audio/gmpc/Makefile b/audio/gmpc/Makefile
index 0a181632ee1f..4ed5544887d0 100644
--- a/audio/gmpc/Makefile
+++ b/audio/gmpc/Makefile
@@ -24,7 +24,8 @@ LIB_DEPENDS= libmpd.so:audio/libmpd \
libfreetype.so:print/freetype2
GNU_CONFIGURE= yes
-USES= gettext gmake libtool localbase pathfix pkgconfig sqlite
+USES= gettext gmake gnome libtool localbase pathfix pkgconfig sqlite \
+ xorg
USE_XORG= ice sm x11
USE_GNOME= cairo glib20 gtk20 intltool libglade2
INSTALLS_ICONS= yes
diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile
index 797fea97b8b4..cc45df267a0a 100644
--- a/audio/gogglesmm/Makefile
+++ b/audio/gogglesmm/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= libtag.so:audio/taglib \
libFOX-1.7.so:x11-toolkits/fox17
USES= cmake compiler:c++11-lib desktop-file-utils \
- localbase:ldflags pkgconfig shebangfix sqlite
+ localbase:ldflags pkgconfig shebangfix sqlite xorg
USE_GITHUB= yes
USE_XORG= ice sm x11
@@ -78,6 +78,7 @@ OGG_LIB_DEPENDS= libogg.so:audio/libogg
OGG_CMAKE_BOOL= WITH_OGG
OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy
+OPENGL_USES= gl
OPENGL_USE= GL=gl,glu
OPENGL_CMAKE_BOOL= WITH_OPENGL
diff --git a/audio/goobox/Makefile b/audio/goobox/Makefile
index f2901ab59640..a8822c144be8 100644
--- a/audio/goobox/Makefile
+++ b/audio/goobox/Makefile
@@ -19,7 +19,8 @@ LIB_DEPENDS= libdiscid.so:audio/libdiscid \
libbrasero-media3.so:sysutils/brasero \
libunique-1.0.so:x11-toolkits/unique
-USES= desktop-file-utils gettext gmake gnome localbase pkgconfig tar:xz
+USES= desktop-file-utils gettext gmake gnome localbase pkgconfig \
+ tar:xz xorg
USE_GNOME= glib20 gtk30 intlhack
USE_XORG= x11
USE_GSTREAMER1= yes
diff --git a/audio/gqradio/Makefile b/audio/gqradio/Makefile
index a4284edb1be2..6235fd39ea6e 100644
--- a/audio/gqradio/Makefile
+++ b/audio/gqradio/Makefile
@@ -12,7 +12,7 @@ COMMENT= GTK2 based FM tuner
LICENSE= GPLv2
-USES= gettext pathfix pkgconfig
+USES= gettext gnome pathfix pkgconfig xorg
USE_GNOME= gtk20
USE_XORG= x11
GNU_CONFIGURE= yes
diff --git a/audio/guidolib/Makefile b/audio/guidolib/Makefile
index 31e8ecc78381..572d9d0a33b6 100644
--- a/audio/guidolib/Makefile
+++ b/audio/guidolib/Makefile
@@ -17,7 +17,7 @@ LICENSE= MPL20
BUILD_DEPENDS= cmake:devel/cmake
-USES= compiler:c++11-lang gmake gnome pkgconfig qt:5
+USES= compiler:c++11-lang gl gmake gnome pkgconfig qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= grame-cncm
USE_QT= core gui widgets printsupport xml buildtools_build qmake_build
diff --git a/audio/gxplugins-lv2/Makefile b/audio/gxplugins-lv2/Makefile
index f3fef0fd0fe6..a7c4d0075f3e 100644
--- a/audio/gxplugins-lv2/Makefile
+++ b/audio/gxplugins-lv2/Makefile
@@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2
-USES= compiler:c++11-lang gettext-runtime gmake gnome localbase pkgconfig
+USES= compiler:c++11-lang gettext-runtime gmake gnome localbase \
+ pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= brummer10
GH_PROJECT= GxPlugins.lv2
diff --git a/audio/jalv-select/Makefile b/audio/jalv-select/Makefile
index 0746791847c5..597f22bfa991 100644
--- a/audio/jalv-select/Makefile
+++ b/audio/jalv-select/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libsratom-0.so:audio/sratom
RUN_DEPENDS= jalv:audio/jalv
-USES= gettext-runtime gmake gnome pkgconfig
+USES= gettext-runtime gmake gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= brummer10
GH_PROJECT= jalv_select
diff --git a/audio/lsp-plugins-lv2/Makefile b/audio/lsp-plugins-lv2/Makefile
index 0e8c0ced0022..9b65dbcc622c 100644
--- a/audio/lsp-plugins-lv2/Makefile
+++ b/audio/lsp-plugins-lv2/Makefile
@@ -18,7 +18,7 @@ ONLY_FOR_ARCHS_REASON= assembly only for these architectures
BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libsndfile.so:audio/libsndfile
-USES= compiler:c11 gmake gl gnome iconv:wchar_t pkgconfig
+USES= compiler:c11 gmake gl gnome iconv:wchar_t pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= sadko4u
USE_GCC= any # clang breaks: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232911
diff --git a/audio/luppp/Makefile b/audio/luppp/Makefile
index f55d1535aad9..84f98603e810 100644
--- a/audio/luppp/Makefile
+++ b/audio/luppp/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= libjack.so:audio/jack \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
-USES= cmake compiler:c++11-lang gnome pkgconfig
+USES= cmake compiler:c++11-lang gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= openAVproductions
GH_PROJECT= openAV-Luppp
diff --git a/audio/mate-media/Makefile b/audio/mate-media/Makefile
index b5721041968b..1a290aded240 100644
--- a/audio/mate-media/Makefile
+++ b/audio/mate-media/Makefile
@@ -23,8 +23,8 @@ LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra \
PORTSCOUT= limitw:1,even
-USES= gettext gmake libtool localbase pathfix \
- pkgconfig tar:xz
+USES= gettext gmake gnome libtool localbase mate pathfix \
+ pkgconfig tar:xz xorg
USE_MATE= desktop mixer panel
USE_GNOME= cairo glib20 gtk30 intlhack libxml2
USE_XORG= x11
diff --git a/audio/midi-matrix-lv2/Makefile b/audio/midi-matrix-lv2/Makefile
index 69e50ce9b968..4bd4681bb178 100644
--- a/audio/midi-matrix-lv2/Makefile
+++ b/audio/midi-matrix-lv2/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \
lv2lint:audio/lv2lint \
sord_validate:devel/sord
-USES= compiler:c11 gl meson pkgconfig
+USES= compiler:c11 gl meson pkgconfig xorg
USE_XORG= x11 xext
USE_GL= gl glu
diff --git a/audio/mixer.app/Makefile b/audio/mixer.app/Makefile
index d0894a83d243..9a28cd12a45b 100644
--- a/audio/mixer.app/Makefile
+++ b/audio/mixer.app/Makefile
@@ -17,6 +17,7 @@ CXXFLAGS+= -fno-rtti -fno-exceptions -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lXpm -lXext -lX11
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
+USES= xorg
USE_XORG= xpm xext x11
do-install:
diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile
index 23471d0fa0e3..619d8f84ed67 100644
--- a/audio/mixxx/Makefile
+++ b/audio/mixxx/Makefile
@@ -35,7 +35,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libprotobuf.so:devel/protobuf \
liblilv-0.so:audio/lilv
-USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons
+USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes
diff --git a/audio/mixxx21/Makefile b/audio/mixxx21/Makefile
index dc648bc7c6e0..8b11d56360bd 100644
--- a/audio/mixxx21/Makefile
+++ b/audio/mixxx21/Makefile
@@ -34,7 +34,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libtag.so:audio/taglib \
libprotobuf.so:devel/protobuf
-USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons
+USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes
diff --git a/audio/moony-lv2/Makefile b/audio/moony-lv2/Makefile
index 7bb3dbd2ae99..aa380d42b06b 100644
--- a/audio/moony-lv2/Makefile
+++ b/audio/moony-lv2/Makefile
@@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2
-USES= compiler:c++11-lang gl meson pkgconfig
+USES= compiler:c++11-lang gl meson pkgconfig xorg
USE_XORG= x11 xext
USE_GL= gl glu
diff --git a/audio/nekobi-lv2/Makefile b/audio/nekobi-lv2/Makefile
index 4478935dd1b1..30b66b72366f 100644
--- a/audio/nekobi-lv2/Makefile
+++ b/audio/nekobi-lv2/Makefile
@@ -16,7 +16,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \
bash:shells/bash
LIB_DEPENDS= libjack.so:audio/jack
-USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix
+USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg
SHEBANG_FILES= dpf/utils/generate-ttl.sh
USE_GITHUB= yes
GH_ACCOUNT= DISTRHO
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 2999db890da9..bf09e77751c0 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= libsndfile.so:audio/libsndfile \
libck-connector.so:sysutils/consolekit2
USES= compiler:c11 cpe gettext gmake gnome iconv libtool \
- pathfix pkgconfig python:run shebangfix ssl tar:xz
+ pathfix pkgconfig python:run shebangfix ssl tar:xz xorg
USE_GNOME= glib20
USE_XORG= ice sm x11 xcb xtst
diff --git a/audio/py-karaoke/Makefile b/audio/py-karaoke/Makefile
index 3dbdf401e78c..5071cbb41785 100644
--- a/audio/py-karaoke/Makefile
+++ b/audio/py-karaoke/Makefile
@@ -23,7 +23,8 @@ RUN_DEPENDS= dejavu>0:x11-fonts/dejavu \
${PYGAME} \
${PYNUMPY}
-USES= compiler:c++11-lib desktop-file-utils iconv python:2.7 shebangfix zip
+USES= compiler:c++11-lib desktop-file-utils iconv python:2.7 \
+ shebangfix zip xorg
SHEBANG_FILES= install/pykaraoke_mini install/pykar install/pykaraoke \
install/pycdg install/pympg
USE_SDL= sdl
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
index 321a3ec3b3b9..4cd5cdc471a5 100644
--- a/audio/rhythmbox/Makefile
+++ b/audio/rhythmbox/Makefile
@@ -32,7 +32,7 @@ LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
libtdb.so:databases/tdb
USES= desktop-file-utils gmake gnome libtool localbase \
- pathfix pkgconfig tar:xz
+ pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo intlhack glib20 gnomeprefix gtk30 introspection \
pygobject3 libxml2
USE_XORG= ice x11 xorgproto
diff --git a/audio/rosegarden/Makefile b/audio/rosegarden/Makefile
index d70f30c2e038..c0402ebfd7fc 100644
--- a/audio/rosegarden/Makefile
+++ b/audio/rosegarden/Makefile
@@ -30,7 +30,7 @@ RUN_DEPENDS= dssi_osc_update:audio/dssi \
USES= alias cmake compiler:c++11-lib desktop-file-utils \
localbase:ldflags pkgconfig shared-mime-info tar:bzip2 \
- qt:5
+ qt:5 xorg
USE_QT= core gui network printsupport testlib widgets xml \
buildtools_build linguisttools_build qmake_build
USE_XORG= ice sm x11 xext
diff --git a/audio/sonic-visualiser/Makefile b/audio/sonic-visualiser/Makefile
index a54a4d599948..abdbaa834fe0 100644
--- a/audio/sonic-visualiser/Makefile
+++ b/audio/sonic-visualiser/Makefile
@@ -21,8 +21,8 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
libsord-0.so:devel/sord \
libvamp-hostsdk.so:audio/vamp-plugin-sdk
-USES= autoreconf compiler:c++11-lang desktop-file-utils gmake \
- pkgconfig qt:5
+USES= autoreconf compiler:c++11-lang desktop-file-utils gmake gl \
+ pkgconfig qt:5 xorg
GNU_CONFIGURE= yes
USE_QT= buildtools_build core gui network qmake_build testlib widgets xml
diff --git a/audio/spiralsynthmodular/Makefile b/audio/spiralsynthmodular/Makefile
index 88b942a8703b..80ffd2293a71 100644
--- a/audio/spiralsynthmodular/Makefile
+++ b/audio/spiralsynthmodular/Makefile
@@ -16,6 +16,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libsndfile.so:audio/libsndfile
+USES= xorg
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ENV= FLTK_CONFIG="${FLTK_CONFIG}"
diff --git a/audio/stegosaurus-lv2/Makefile b/audio/stegosaurus-lv2/Makefile
index 9f039b8af6b1..42b6fd14ab54 100644
--- a/audio/stegosaurus-lv2/Makefile
+++ b/audio/stegosaurus-lv2/Makefile
@@ -12,7 +12,7 @@ LICENSE= GPLv3
BUILD_DEPENDS= lv2>0:audio/lv2
-USES= gnome waf localbase:ldflags pkgconfig
+USES= gnome waf localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= mxmilkb
GH_TAGNAME= 543a95d
diff --git a/audio/string-machine-lv2/Makefile b/audio/string-machine-lv2/Makefile
index d06e94adf32c..76311ec31a9e 100644
--- a/audio/string-machine-lv2/Makefile
+++ b/audio/string-machine-lv2/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2 \
${LOCALBASE}/include/boost/intrusive/list.hpp:devel/boost-libs
-USES= compiler:c++0x gmake gnome localbase pkgconfig
+USES= compiler:c++0x gmake gnome localbase pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= jpcima
GH_TUPLE= DISTRHO:DPF:7a056bb:d/dpf
diff --git a/audio/suil/Makefile b/audio/suil/Makefile
index dee4cf8902da..eec4df4264ac 100644
--- a/audio/suil/Makefile
+++ b/audio/suil/Makefile
@@ -18,7 +18,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= lv2>=1.14.0:audio/lv2
-USES= compiler:c++11-lang gnome pkgconfig python:build qt:5 tar:bzip2 waf
+USES= compiler:c++11-lang gnome pkgconfig python:build qt:5 \
+ tar:bzip2 waf xorg
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango
USE_QT= core gui widgets
USE_XORG= x11
diff --git a/audio/supercollider/Makefile b/audio/supercollider/Makefile
index f7c571e5d254..74f648f52094 100644
--- a/audio/supercollider/Makefile
+++ b/audio/supercollider/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= libavahi-client.so:net/avahi-app \
libfftw3f.so:math/fftw3-float
USES= cmake compiler:c++11-lang iconv localbase pkgconfig \
- qt:5 readline shared-mime-info tar:bzip2
+ qt:5 readline shared-mime-info tar:bzip2 xorg
USE_QT= buildtools_build concurrent core declarative gui linguisttools location \
network opengl printsupport qmake_build sensors \
sql widgets webengine websockets webchannel svg
diff --git a/audio/synthpod-lv2/Makefile b/audio/synthpod-lv2/Makefile
index 0f98cc168797..62581d3db90b 100644
--- a/audio/synthpod-lv2/Makefile
+++ b/audio/synthpod-lv2/Makefile
@@ -41,12 +41,12 @@ GTK2_DESC= Build GTK-2 sandbox
GTK2_MESON_OFF= -Duse-gtk2=false
GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-GTK2_USES= gl gnome
+GTK2_USES= gl gnome xorg
GTK2_USE= XORG=x11,xcb,xext GL=gl,glu GNOME=glib20,gtk20,gdkpixbuf2,atk,cairo,pango gettext-runtime
GTK3_DESC= Build GTK-3 sandbox
GTK3_MESON_OFF= -Duse-gtk3=false
-GTK3_USES= gl gnome
+GTK3_USES= gl gnome xorg
GTK3_USE= XORG=x11,xcb,xext GL=glu GNOME=glib20,gtk30,gdkpixbuf2,atk,cairo,pango gettext-runtime
JACK_DESC= Build JACK standalone host
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index d07d29b44466..e3ebeb95dc07 100644
--- a/audio/timidity++/Makefile
+++ b/audio/timidity++/Makefile
@@ -36,6 +36,7 @@ CONFIGURE_ARGS+= --enable-audio=oss,vorbis
EAWPLUS_DESC= Collection of Gravis Ultrasound MIDI patches
EAWPLUS_RUN_DEPENDS= eawplus>0:audio/eawplus
X11_LIB_DEPENDS= libpng.so:graphics/png
+X11_USES= xorg
X11_USE= xorg=x11,xext
X11_CONFIGURE_ON= --with-x --enable-spectrogram --enable-wrd \
--enable-dynamic
diff --git a/audio/timidity++/Makefile.interface b/audio/timidity++/Makefile.interface
index 2f0bfa188666..00bc36620b6b 100644
--- a/audio/timidity++/Makefile.interface
+++ b/audio/timidity++/Makefile.interface
@@ -89,7 +89,7 @@ CONFIGURE_ARGS+=\
--with-tk-libs=${LOCALBASE}/lib
.endif
-USES+= shebangfix
+USES+= shebangfix xorg
SHEBANG_FILES= interface/tkmidity.ptcl interface/tkpanel.tcl
SHEBANG_LANG= wish
wish_OLD_CMD= /usr/bin/wish
@@ -107,6 +107,7 @@ LINK= xawmidi
LIB_DEPENDS+= libXaw3d.so:x11-toolkits/Xaw3d
+USES+= xorg
USE_XORG= x11 xext xmu xt sm ice xpm
DESKTOP_ENTRIES="XawMidi" "" "" "${LINK}" "AudioVideo;Audio;Midi;" ""
@@ -115,6 +116,7 @@ DESKTOP_ENTRIES="XawMidi" "" "" "${LINK}" "AudioVideo;Audio;Midi;" ""
.if ${INTERFACE} == "xskin"
LINK= xskinmidi
+USES= xorg
USE_XORG= x11
DESKTOP_ENTRIES="XSkinMidi" "" "" "${LINK}" "AudioVideo;Audio;Midi;" ""
diff --git a/audio/vm-lv2/Makefile b/audio/vm-lv2/Makefile
index d6df8a65f399..d2be75b62e8b 100644
--- a/audio/vm-lv2/Makefile
+++ b/audio/vm-lv2/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= liblilv-0.so:audio/lilv \
libsord-0.so:devel/sord \
libsratom-0.so:audio/sratom
-USES= compiler:c++11-lib gl meson pkgconfig localbase
+USES= compiler:c++11-lib gl meson pkgconfig localbase xorg
USE_XORG= x11 xext
USE_GL= gl glu
diff --git a/audio/vmpk/Makefile b/audio/vmpk/Makefile
index e5a44bd93284..618b66c1df04 100644
--- a/audio/vmpk/Makefile
+++ b/audio/vmpk/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdrumstick-rt.so:audio/drumstick
-USES= compiler:c++11-lang cmake pkgconfig qt:5 tar:bz2
+USES= compiler:c++11-lang cmake pkgconfig qt:5 tar:bz2 xorg
USE_QT= core gui network svg widgets x11extras \
buildtools_build linguisttools_build qmake_build
USE_XORG= xcb
diff --git a/audio/volumeicon/Makefile b/audio/volumeicon/Makefile
index 200f70273705..513a059a2c2a 100644
--- a/audio/volumeicon/Makefile
+++ b/audio/volumeicon/Makefile
@@ -16,7 +16,7 @@ CONFIGURE_ARGS= --enable-oss=v3 \
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
-USES= autoreconf gmake gettext pkgconfig
+USES= autoreconf gmake gnome gettext pkgconfig xorg
USE_GNOME= gtk30 intltool cairo gdkpixbuf2
USE_XORG= x11
USE_CSTD= gnu99
diff --git a/audio/wmix/Makefile b/audio/wmix/Makefile
index cfda1a35c63b..2e2e6e64defd 100644
--- a/audio/wmix/Makefile
+++ b/audio/wmix/Makefile
@@ -14,6 +14,7 @@ OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/wmix
ALL_TARGET= ${PORTNAME}
+USES= xorg
USE_XORG= xpm
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
diff --git a/audio/wmmp/Makefile b/audio/wmmp/Makefile
index 572340bdaae7..91a49e66afad 100644
--- a/audio/wmmp/Makefile
+++ b/audio/wmmp/Makefile
@@ -11,7 +11,7 @@ COMMENT= Dockable musicpd client applet for Window Maker
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake
+USES= cmake xorg
USE_GITHUB= yes
GH_ACCOUNT= yogsothoth
USE_XORG= xpm x11 xext
diff --git a/audio/wmrecord/Makefile b/audio/wmrecord/Makefile
index e00bfb7c448d..d3bd34d3740a 100644
--- a/audio/wmrecord/Makefile
+++ b/audio/wmrecord/Makefile
@@ -11,6 +11,7 @@ MASTER_SITES= http://linkinnovations.linux.tucows.com/files/x11/dock/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose audio recording utility for the WindowMaker dock
+USES= xorg
USE_XORG= xpm x11 xext
MAKE_ARGS= LIBS="-L${LOCALBASE}/lib -lXpm -lX11 -lXext" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LIBDIR=""
diff --git a/audio/workman/Makefile b/audio/workman/Makefile
index d445be7ea380..6d7e959d8683 100644
--- a/audio/workman/Makefile
+++ b/audio/workman/Makefile
@@ -14,7 +14,7 @@ COMMENT= Open Look-based CD player tool
LIB_DEPENDS= libxview.so:x11-toolkits/xview
WRKSRC= ${WRKDIR}/workman
-USES= imake
+USES= imake xorg
USE_XORG= x11 xext
PLIST_FILES= bin/workman lib/help/workman.info man/man1/workman.1.gz man/man5/workmandb.5.gz
diff --git a/audio/x42-plugins-lv2/Makefile b/audio/x42-plugins-lv2/Makefile
index 31a932a014b3..08ef475625c5 100644
--- a/audio/x42-plugins-lv2/Makefile
+++ b/audio/x42-plugins-lv2/Makefile
@@ -25,7 +25,8 @@ LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libsndfile.so:audio/libsndfile \
libzita-convolver.so:audio/zita-convolver
-USES= compiler:c++11-lang gl gmake gnome localbase pkgconfig tar:xz shebangfix
+USES= compiler:c++11-lang gl gmake gnome localbase pkgconfig tar:xz \
+ shebangfix xorg
USE_GITHUB= nodefault
GH_TUPLE= x42:convoLV2:f814f1e:x/convoLV2zita4
USE_GNOME= glib20 pango cairo
diff --git a/audio/xcdplayer/Makefile b/audio/xcdplayer/Makefile
index b05bb7c24e74..5786ca66ed52 100644
--- a/audio/xcdplayer/Makefile
+++ b/audio/xcdplayer/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= XCONTRIB/../R5contrib
MAINTAINER= ports@FreeBSD.org
COMMENT= CD player for X
-USES= imake tar:Z
+USES= imake tar:Z xorg
USE_XORG= xbitmaps xaw
PLIST_FILES= bin/xcdplayer lib/X11/app-defaults/XCdplayer \
diff --git a/audio/xmix/Makefile b/audio/xmix/Makefile
index f292249bdc36..b531580c824f 100644
--- a/audio/xmix/Makefile
+++ b/audio/xmix/Makefile
@@ -13,7 +13,7 @@ PATCHFILES= xmix-2.1.mixers.patch
MAINTAINER= ports@FreeBSD.org
COMMENT= Mixer for X Window System
-USES= imake
+USES= imake xorg
WRKSRC= ${WRKDIR}/xmix
USE_XORG= x11 xext xmu xaw xt sm ice
diff --git a/audio/xmixer/Makefile b/audio/xmixer/Makefile
index 0341c331f818..77228835dffe 100644
--- a/audio/xmixer/Makefile
+++ b/audio/xmixer/Makefile
@@ -18,6 +18,7 @@ ALL_TARGET= xmixer
PLIST_FILES= bin/xmixer \
man/man1/xmixer.1.gz
+USES= xorg
USE_XORG= x11 xt ice xaw xmu sm
LDFLAGS+= -L${LOCALBASE}/lib -lX11
diff --git a/audio/xoscope/Makefile b/audio/xoscope/Makefile
index 143b6066f531..57cb9cbe5bc9 100644
--- a/audio/xoscope/Makefile
+++ b/audio/xoscope/Makefile
@@ -11,7 +11,7 @@ COMMENT= Sound card oscilloscope
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --sysconfdir=${STAGEDIR}${PREFIX}
-USES= gmake pkgconfig tar:tgz
+USES= gmake gnome pkgconfig tar:tgz xorg
USE_GNOME= gtk20
USE_XORG= x11
diff --git a/audio/xwave/Makefile b/audio/xwave/Makefile
index 009ce540ebac..de8ffddebc21 100644
--- a/audio/xwave/Makefile
+++ b/audio/xwave/Makefile
@@ -14,7 +14,7 @@ COMMENT= Audio player/recorder/editor for the X Window System
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}2-981109
-USES= imake
+USES= imake xorg
USE_XORG= xaw
MAKE_JOBS_UNSAFE= yes
diff --git a/audio/zam-plugins-lv2/Makefile b/audio/zam-plugins-lv2/Makefile
index f2678f57b1a2..9a89c6ef2a43 100644
--- a/audio/zam-plugins-lv2/Makefile
+++ b/audio/zam-plugins-lv2/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libsamplerate.so:audio/libsamplerate \
libzita-convolver.so:audio/zita-convolver
-USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig
+USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= zamaudio
GH_TUPLE= DISTRHO:DPF:68b3a57:d/dpf
diff --git a/audio/zrythm/Makefile b/audio/zrythm/Makefile
index fa5cd19e1a87..bda71f270e7c 100644
--- a/audio/zrythm/Makefile
+++ b/audio/zrythm/Makefile
@@ -30,7 +30,8 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \
kf5-breeze-icons>0:x11-themes/kf5-breeze-icons
-USES= gettext-tools meson python:3.5+,build gettext-runtime gnome libtool pkgconfig shebangfix
+USES= gettext-tools meson python:3.5+,build gettext-runtime gnome \
+ libtool pkgconfig shebangfix xorg
USE_GITLAB= yes
GL_SITE= https://git.zrythm.org
GL_COMMIT= 5b1f4efa53ca33090ef7795204dfc387072f58f5