summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/mesa/Makefile14
-rw-r--r--x11/libX11/Makefile33
-rw-r--r--x11/libXdamage/Makefile6
-rw-r--r--x11/libXext/Makefile6
-rw-r--r--x11/libXfixes/Makefile5
-rw-r--r--x11/libXfont2/Makefile18
-rw-r--r--x11/libXrandr/Makefile5
-rw-r--r--x11/libXrender/Makefile9
-rw-r--r--x11/libXxf86vm/Makefile8
-rw-r--r--x11/libxcb/Makefile7
-rw-r--r--x11/libxshmfence/Makefile2
-rw-r--r--x11/xorg-server/Makefile16
12 files changed, 57 insertions, 72 deletions
diff --git a/graphics/mesa/Makefile b/graphics/mesa/Makefile
index df5d96d..a991426 100644
--- a/graphics/mesa/Makefile
+++ b/graphics/mesa/Makefile
@@ -22,7 +22,10 @@ MAINTAINER = xenocara@openbsd.org
# MID
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = drm m pthread z expat Xau xcb X11-xcb X11 \
+ xcb-dri3 xcb-xfixes xcb-present xcb-sync \
+ xshmfence Xext Xdamage Xfixes xcb-glx xcb-dri2 \
+ Xxf86vm c++ c++abi LLVM elf xcb-randr drm_amdgpu
MASTER_SITES = https://mesa.freedesktop.org/archive/
EXTRACT_SUFX = .tar.xz
@@ -31,6 +34,10 @@ EXTRACT_SUFX = .tar.xz
#MODULES = ???
BUILD_DEPENDS = sysutils/libdrm \
devel/xorgproto \
+ www/py-mako
+
+#RUN_DEPENDS = ???
+LIB_DEPENDS = sysutils/libdrm \
x11/libX11 \
x11/libxcb \
x11/libXext \
@@ -38,11 +45,8 @@ BUILD_DEPENDS = sysutils/libdrm \
x11/libXfixes \
x11/libXxf86vm \
x11/libxshmfence \
- x11/libXrandr \
- www/py-mako
+ x11/libXrandr
-#RUN_DEPENDS = ???
-#LIB_DEPENDS = ???
#TEST_DEPENDS = ???
#MAKE_FLAGS = ???
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index 0c2c2ba..2f5ca4b 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -13,52 +13,27 @@ SHARED_LIBS= X11 17.0 X11-xcb 2.0
# MIT
PERMIT_PACKAGE = Yes
-# uses pledge()
-
-# WANTLIB = Xau xcb
+WANTLIB = Xau xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
-
-# Dependencies
BUILD_DEPENDS = x11/xtrans \
- devel/xorgproto \
- x11/libxcb
-
-#RUN_DEPENDS = ???
-#LIB_DEPENDS = ???
-#TEST_DEPENDS = ???
+ devel/xorgproto
-#MAKE_FLAGS = ???
-#MAKE_ENV = ???
-#FAKE_FLAGS = ???
-#TEST_FLAGS = ???
+LIB_DEPENDS = x11/libxcb \
+ x11/libXau
SEPARATE_BUILD = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = autoreconf
-
CONFIGURE_ARGS= --enable-tcp-transport --enable-unix-transport --enable-ipv6 \
--disable-composecache \
--without-xmlto --without-fop --without-xsltproc
-# for gnu stuff
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.12
-#NO_BUILD = Yes
NO_TEST = Yes
-# For ports that use a script or autoreconf to generate autoconf/automake
-# files (where "CONFIGURE_STYLE=autoconf" isn't enough), use some/all of these
-# dependencies, and add a do-gen target:
-#
-#BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
-# ${MODGNU_AUTOMAKE_DEPENDS} \
-# devel/libtool
-#
-#do-gen:
-# cd ${WRKSRC}; ${AUTOCONF_ENV} ./autogen.sh
-
.include <bsd.port.mk>
diff --git a/x11/libXdamage/Makefile b/x11/libXdamage/Makefile
index 9a43e8f..ee46934 100644
--- a/x11/libXdamage/Makefile
+++ b/x11/libXdamage/Makefile
@@ -13,13 +13,17 @@ SHARED_LIBS= Xdamage 4.0
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = X11 Xau Xfixes xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
# Dependencies
BUILD_DEPENDS = devel/xorg-util-macros \
devel/xorgproto \
+
+LIB_DEPENDS = x11/libxcb \
+ x11/libX11 \
+ x11/libXau \
x11/libXfixes
SEPARATE_BUILD = Yes
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile
index bc9592f..04c2479 100644
--- a/x11/libXext/Makefile
+++ b/x11/libXext/Makefile
@@ -13,7 +13,7 @@ SHARED_LIBS= Xext 13.0
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = X11 Xau xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
@@ -21,6 +21,10 @@ MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
BUILD_DEPENDS = devel/xorg-util-macros \
devel/xorgproto
+LIB_DEPENDS = x11/libxcb \
+ x11/libXau \
+ x11/libX11
+
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
diff --git a/x11/libXfixes/Makefile b/x11/libXfixes/Makefile
index db31e7e..ed1e975 100644
--- a/x11/libXfixes/Makefile
+++ b/x11/libXfixes/Makefile
@@ -13,14 +13,15 @@ SHARED_LIBS= Xfixes 6.0
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = X11 Xau xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
# Dependencies
BUILD_DEPENDS = devel/xorg-util-macros \
devel/xorgproto \
- x11/libX11
+
+LIB_DEPENDS = x11/libX11
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
diff --git a/x11/libXfont2/Makefile b/x11/libXfont2/Makefile
index a87edf1..db7d28e 100644
--- a/x11/libXfont2/Makefile
+++ b/x11/libXfont2/Makefile
@@ -13,9 +13,7 @@ SHARED_LIBS= Xfont2 1.0
# MIT
PERMIT_PACKAGE = Yes
-# uses pledge()
-
-# WANTLIB =
+WANTLIB = fontenc freetype m z
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
@@ -23,18 +21,10 @@ MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
# Dependencies
BUILD_DEPENDS = devel/xorg-util-macros \
devel/xorgproto \
- print/freetype2 \
- x11/xtrans \
- x11/libfontenc
+ x11/xtrans
-#RUN_DEPENDS = ???
-#LIB_DEPENDS = ???
-#TEST_DEPENDS = ???
-
-#MAKE_FLAGS = ???
-#MAKE_ENV = ???
-#FAKE_FLAGS = ???
-#TEST_FLAGS = ???
+LIB_DEPENDS = print/freetype2 \
+ x11/libfontenc
SEPARATE_BUILD = Yes
#USE_GMAKE = Yes
diff --git a/x11/libXrandr/Makefile b/x11/libXrandr/Makefile
index e643fae..fe735ee 100644
--- a/x11/libXrandr/Makefile
+++ b/x11/libXrandr/Makefile
@@ -13,14 +13,15 @@ SHARED_LIBS= Xrandr 7.1
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = X11 Xau Xext Xrender xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
# Dependencies
BUILD_DEPENDS = devel/xorg-util-macros \
devel/xorgproto \
- x11/libX11 \
+
+LIB_DEPENDS = x11/libX11 \
x11/libXext \
x11/libXrender
diff --git a/x11/libXrender/Makefile b/x11/libXrender/Makefile
index 92f2f21..f007d50 100644
--- a/x11/libXrender/Makefile
+++ b/x11/libXrender/Makefile
@@ -13,20 +13,19 @@ SHARED_LIBS= Xrender 6.0
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = X11 Xau xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
-# Dependencies
BUILD_DEPENDS = devel/xorg-util-macros \
- devel/xorgproto \
- x11/libX11
+ devel/xorgproto
+
+LIB_DEPENDS = x11/libX11
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
-#NO_BUILD = Yes
NO_TEST = Yes
diff --git a/x11/libXxf86vm/Makefile b/x11/libXxf86vm/Makefile
index fa9b51d..8b7086b 100644
--- a/x11/libXxf86vm/Makefile
+++ b/x11/libXxf86vm/Makefile
@@ -13,13 +13,17 @@ SHARED_LIBS= Xxf86vm 6.0
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
+WANTLIB = X11 Xau Xext xcb
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
# Dependencies
BUILD_DEPENDS = devel/xorg-util-macros \
- devel/xorgproto \
+ devel/xorgproto
+
+LIB_DEPENDS = x11/libxcb \
+ x11/libXau \
+ x11/libX11 \
x11/libXext
SEPARATE_BUILD = Yes
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index 853db5f..4075f53 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -40,14 +40,13 @@ MAINTAINER = xenocara@openbsd.org
# MIT
PERMIT_PACKAGE = Yes
-# "make port-lib-depends-check" can help
-# WANTLIB = Xau
+WANTLIB = Xau
MASTER_SITES = https://xcb.freedesktop.org/dist/
+BUILD_DEPENDS = devel/xcb-proto
-BUILD_DEPENDS = devel/xcb-proto \
- x11/libXau
+LIB_DEPENDS = x11/libXau
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoreconf
diff --git a/x11/libxshmfence/Makefile b/x11/libxshmfence/Makefile
index 8034f2a..d3c5c4a 100644
--- a/x11/libxshmfence/Makefile
+++ b/x11/libxshmfence/Makefile
@@ -13,8 +13,6 @@ SHARED_LIBS= xshmfence 0.0
# MIT
PERMIT_PACKAGE = Yes
-#WANTLIB = ???
-
MASTER_SITES = ${MASTER_SITE_XORG:=lib/}
# Dependencies
diff --git a/x11/xorg-server/Makefile b/x11/xorg-server/Makefile
index e698b99..b30d633 100644
--- a/x11/xorg-server/Makefile
+++ b/x11/xorg-server/Makefile
@@ -13,7 +13,10 @@ PERMIT_PACKAGE = Yes
# uses pledge()
-#WANTLIB = ???
+WANTLIB = GL X11 X11-xcb Xfont2 c drm expat gbm glapi kvm m pciaccess \
+ pixman-1 pthread z
+WANTLIB += Xau xcb xcb-dri2 xcb-dri3 xcb-glx xcb-present xcb-sync
+WANTLIB += xcb-xfixes
MASTER_SITES = ${MASTER_SITE_XORG:=xserver/}
@@ -22,8 +25,13 @@ MASTER_SITES = ${MASTER_SITE_XORG:=xserver/}
BUILD_DEPENDS = devel/xorg-util-macros \
fonts/xorg-font-util \
x11/xtrans \
- devel/xorgproto \
- graphics/pixman \
+ devel/xorgproto
+
+RUN_DEPENDS = x11/xkbcomp \
+ x11/xf86-input-keyboard \
+ x11/xf86-input-ws
+
+LIB_DEPENDS = graphics/pixman \
sysutils/libdrm \
x11/libX11 \
graphics/mesa \
@@ -31,8 +39,6 @@ BUILD_DEPENDS = devel/xorg-util-macros \
x11/libxkbfile \
x11/libXfont2
-#RUN_DEPENDS = ???
-#LIB_DEPENDS = ???
#TEST_DEPENDS = ???
#MAKE_FLAGS = ???