summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/freerdp/Makefile2
-rw-r--r--net/freerdp1/Makefile2
-rw-r--r--net/mediastreamer/Makefile1
-rw-r--r--science/cgnslib/Makefile2
-rw-r--r--science/dlib-cpp/Makefile1
-rw-r--r--science/py-dlib/Makefile1
-rw-r--r--security/dsniff/Makefile1
-rw-r--r--sysutils/conky/Makefile1
-rw-r--r--sysutils/lcdproc/Makefile1
-rw-r--r--sysutils/nitrogen/Makefile1
-rw-r--r--www/links/Makefile1
-rw-r--r--www/w3m/Makefile1
-rw-r--r--x11-toolkits/fox16/Makefile5
-rw-r--r--x11-wm/ratpoison/Makefile1
-rw-r--r--x11/hs-xmobar/Makefile2
-rw-r--r--x11/xvkbd/Makefile1
16 files changed, 23 insertions, 1 deletions
diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index 1f67126292ca..ac740dbbb211 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -83,6 +83,7 @@ GSM_LIB_DEPENDS= libgsm.so:audio/gsm
GSM_CMAKE_BOOL= WITH_GSM
GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0
+GSTREAMER_USES= gnome xorg
GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xext,xorgproto,xrandr
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1
@@ -135,6 +136,7 @@ X11_CMAKE_ON= -DWITH_X11:BOOL=ON -DWITH_XCURSOR:BOOL=ON \
-DWITH_XRENDER:BOOL=ON -DWITH_XSHM:BOOL=ON \
-DWITH_XV:BOOL=ON
X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF -DWITH_XKBFILE:BOOL=OFF
+X11_USES= xorg
X11_USE= xorg=x11,xcursor,xext,xorgproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv
post-patch:
diff --git a/net/freerdp1/Makefile b/net/freerdp1/Makefile
index 0f04a18576d7..c494c916c6ec 100644
--- a/net/freerdp1/Makefile
+++ b/net/freerdp1/Makefile
@@ -50,6 +50,7 @@ FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
FFMPEG_CMAKE_BOOL= WITH_FFMPEG
GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0
+GSTREAMER_USES= gnome xorg
GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xorgproto,xext,xrandr
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1
@@ -68,6 +69,7 @@ X11_DESC= Build FreeRDP X11 client
X11_BUILD_DEPENDS= xmlto:textproc/xmlto
X11_CMAKE_BOOL= WITH_X11
X11_CMAKE_OFF= -DWITH_XKBFILE=OFF
+X11_USES= xorg
X11_USE= xorg=x11,xkbfile,xcursor,xorgproto,xv,xinerama,xext,xrandr,xi,xfixes,xrender
post-patch:
diff --git a/net/mediastreamer/Makefile b/net/mediastreamer/Makefile
index 0b7bcc040f17..d5f7962ab2ec 100644
--- a/net/mediastreamer/Makefile
+++ b/net/mediastreamer/Makefile
@@ -86,6 +86,7 @@ VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx
XVIDEO_IMPLIES= VIDEO
XVIDEO_CMAKE_BOOL= ENABLE_X11 ENABLE_XV
+XVIDEO_USES= xorg
XVIDEO_USE= XORG=xorgproto,x11,xv
.include <bsd.port.pre.mk>
diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile
index 0a60d06e6851..17fc430631a5 100644
--- a/science/cgnslib/Makefile
+++ b/science/cgnslib/Makefile
@@ -41,7 +41,7 @@ HDF5_CMAKE_ON= -DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include"
TESTS_CMAKE_BOOL= CGNS_ENABLE_TESTS
-TOOLS_USES= gl localbase tk
+TOOLS_USES= gl localbase tk xorg
TOOLS_USE= GL=gl,glu XORG=ice,xext,x11,xmu
TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS
TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \
diff --git a/science/dlib-cpp/Makefile b/science/dlib-cpp/Makefile
index 31a0647f2774..5f097dc6f7d8 100644
--- a/science/dlib-cpp/Makefile
+++ b/science/dlib-cpp/Makefile
@@ -22,6 +22,7 @@ OPTIONS_DEFAULT= X11 JPEG PNG GIF SQLITE
BLASLAPACK_DESC= Use Blas and Lapack libraries from ports
AVX_DESC= Use AVX instructions if supported by CPU
+X11_USES= xorg
X11_USE= xorg=x11
X11_CMAKE_OFF= -DDLIB_NO_GUI_SUPPORT=1
diff --git a/science/py-dlib/Makefile b/science/py-dlib/Makefile
index 84b0f7cd0d94..b5ece78065af 100644
--- a/science/py-dlib/Makefile
+++ b/science/py-dlib/Makefile
@@ -27,6 +27,7 @@ OPTIONS_DEFAULT= X11 JPEG PNG GIF SQLITE
BLASLAPACK_DESC= Use Blas and Lapack libraries from ports
AVX_DESC= Use AVX instructions if supported by CPU
+X11_USES= xorg
X11_USE= xorg=x11
JPEG_USES= jpeg
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile
index 3d0e0383d80c..3c33d357cf1c 100644
--- a/security/dsniff/Makefile
+++ b/security/dsniff/Makefile
@@ -29,6 +29,7 @@ OPTIONS_DEFINE= X11
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
+X11_USES= xorg
X11_USE= xorg=x11,xmu
X11_CONFIGURE_WITH=x
diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile
index de0fb05a776a..d1cb3430bb47 100644
--- a/sysutils/conky/Makefile
+++ b/sysutils/conky/Makefile
@@ -97,6 +97,7 @@ RSS_CMAKE_BOOL= BUILD_RSS
RSS_USE= gnome=glib20,libxml2
RSS_IMPLIES= CURL
+X11_USES= xorg
X11_USE= xorg=x11,xext,xdamage,xfixes
X11_CMAKE_BOOL= BUILD_X11 OWN_WINDOW
X11_VARS= EXAMPLE_CONF_FILE=${WRKSRC}/data/conky.conf
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile
index 9f1ec3f87cd2..2d3883dc56eb 100644
--- a/sysutils/lcdproc/Makefile
+++ b/sysutils/lcdproc/Makefile
@@ -47,6 +47,7 @@ SERDISP_CFLAGS= -I${LOCALBASE}/include
SERDISP_LDFLAGS= -L${LOCALBASE}/lib
SERDISP_CPPFLAGS= -I${LOCALBASE}/include
+X11_USES= xorg
X11_USE= xorg=x11
X11_CONFIGURE_ENABLE= libX11
diff --git a/sysutils/nitrogen/Makefile b/sysutils/nitrogen/Makefile
index 9bd155b347d1..b6d45c014e84 100644
--- a/sysutils/nitrogen/Makefile
+++ b/sysutils/nitrogen/Makefile
@@ -35,6 +35,7 @@ OPTIONS_DEFINE= XINERAMA
OPTIONS_DEFAULT= XINERAMA
XINERAMA_CONFIGURE_ENABLE= xinerama
+XINERAMA_USES= xorg
XINERAMA_USE= xorg=xinerama
post-patch:
diff --git a/www/links/Makefile b/www/links/Makefile
index ce6556399add..a4b8d610a319 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -58,6 +58,7 @@ TRANS_EXTRA_PATCHES= ${FILESDIR}/extra-terminal.c.diff
UTF8_CONFIGURE_ENABLE= utf8
+X11_USES= xorg
X11_USE= xorg=x11,xorgproto
X11_LIB_DEPENDS= libevent.so:devel/libevent \
libfontconfig.so:x11-fonts/fontconfig
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 700e24cae338..7ebe0ea85024 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -49,6 +49,7 @@ JAPANESE_DESC= Japanese messages and migemo support
KEY_LYNX_DESC= Keymap like lynx browser
OPTIONS_SUB= yes
+INLINE_MAGE_USES= gnome xorg
INLINE_IMAGE_USE= xorg=x11 gnome=gtk20,gdkpixbuf2
INLINE_IMAGE_CONFIGURE_ON= --with-imagelib=gtk2 --enable-image=fb,x11
INLINE_IMAGE_CONFIGURE_OFF= --enable-image=no
diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile
index f0bccf4cd20f..12448b9e5e9f 100644
--- a/x11-toolkits/fox16/Makefile
+++ b/x11-toolkits/fox16/Makefile
@@ -43,9 +43,11 @@ PROFILE_CONFIGURE_ON= --with-profiling=gprof
SHM_DESC= Shared Memory support
SHM_CONFIGURE_ON= --with-xshm=yes
SHM_CONFIGURE_OFF= --with-xshm=no
+XCURSOR_USES= xorg
XCURSOR_USE= xorg=xcursor
XCURSOR_CONFIGURE_ON= --with-xcursor=yes
XCURSOR_CONFIGURE_OFF= --with-xcursor=no
+XFT_USES= xorg
XFT_USE= xorg=xft
XFT_LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
@@ -55,13 +57,16 @@ XFT_CPPFLAGS= $$(freetype-config --cflags)
XFT_LDFLAGS= $$(freetype-config --libs)
XFT_IMPLIES= XRENDER
XINPUT_DESC= X Input extension library support
+XINPUT_USES= xorg
XINPUT_USE= xorg=xi
XINPUT_CONFIGURE_ON= --with-xinput=yes
XINPUT_CONFIGURE_OFF= --with-xinput=no
+XRANDR_USES= xorg
XRANDR_USE= xorg=xrandr
XRANDR_CONFIGURE_ON= --with-xrandr=yes
XRANDR_CONFIGURE_OFF= --with-xrandr=no
XRENDER_DESC= X Render extension library support
+XRENDER_USES= xorg
XRENDER_USE= xorg=xrender
XRENDER_CONFIGURE_ON= --with-xrender=yes
XRENDER_CONFIGURE_OFF= --with-xrender=no
diff --git a/x11-wm/ratpoison/Makefile b/x11-wm/ratpoison/Makefile
index 8495c21acafc..22d805b9ce3e 100644
--- a/x11-wm/ratpoison/Makefile
+++ b/x11-wm/ratpoison/Makefile
@@ -28,6 +28,7 @@ OPTIONS_SUB= yes
GDM_SUPPORT_DESC= Install session data files for GDM
READLINE_USES= readline
READLINE_CONFIGURE_ENABLE= history
+XFT_USES= xorg
XFT_USE= xorg=xft
XFT_CONFIGURE_WITH= xft
diff --git a/x11/hs-xmobar/Makefile b/x11/hs-xmobar/Makefile
index cb39df0ba518..939779e056e6 100644
--- a/x11/hs-xmobar/Makefile
+++ b/x11/hs-xmobar/Makefile
@@ -19,11 +19,13 @@ OPTIONS_DEFAULT= XFT UTF8
XFT_DESC= Use Xft to render text (UTF-8 support included)
XFT_CABAL_FLAGS= with_xft
XFT_USE_CABAL= utf8-string-1.0.1.1_3 X11-xft-0.3.1
+XFT_USES= xorg
XFT_USE= xorg=xft
XFT_IMPLIES= UTF8
XPM_DESC= Use Xpm to render icons
XPM_CABAL_FLAGS= with_xpm
+XPM_USES= xorg
XPM_USE= xorg=xpm
UTF8_DESC= UTF-8 support
diff --git a/x11/xvkbd/Makefile b/x11/xvkbd/Makefile
index 6d56d6be33ea..71c254a02365 100644
--- a/x11/xvkbd/Makefile
+++ b/x11/xvkbd/Makefile
@@ -22,6 +22,7 @@ OPTIONS_DEFAULT= XTEST
XAW3D_DESC= Xaw3d widget library support
XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
XTEST_DESC= XTEST extensions support
+XTEST_USES= xorg
XTEST_USE= xorg=xtst
post-patch: