version 1.14, 2013/08/18 10:15:36 |
version 1.15, 2013/08/31 22:19:32 |
Line 6 PKG_SUGGESTED_OPTIONS= x11 xcb |
|
Line 6 PKG_SUGGESTED_OPTIONS= x11 xcb |
|
|
|
.include "../../mk/bsd.options.mk" |
.include "../../mk/bsd.options.mk" |
|
|
PLIST_VARS+= carbon x11 xcb |
PLIST_VARS+= x11 xcb |
|
|
### |
### |
### X11 and XCB support (XCB implies X11) |
### X11 and XCB support (XCB implies X11) |
Line 14 PLIST_VARS+= carbon x11 xcb |
|
Line 14 PLIST_VARS+= carbon x11 xcb |
|
.if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:Mxcb) |
.if !empty(PKG_OPTIONS:Mx11) || !empty(PKG_OPTIONS:Mxcb) |
CONFIGURE_ARGS+= --enable-xlib |
CONFIGURE_ARGS+= --enable-xlib |
CONFIGURE_ARGS+= --enable-xlib-xrender |
CONFIGURE_ARGS+= --enable-xlib-xrender |
# does not build against NetBSD-5's MesaLib, and is according |
|
# to upstream, only used by "toy applications" |
|
CONFIGURE_ARGS+= --disable-gl |
|
PLIST.x11= yes |
PLIST.x11= yes |
.include "../../graphics/MesaLib/buildlink3.mk" |
.include "../../graphics/MesaLib/buildlink3.mk" |
|
.include "../../x11/libX11/buildlink3.mk" |
.include "../../x11/libXext/buildlink3.mk" |
.include "../../x11/libXext/buildlink3.mk" |
.include "../../x11/libXrender/buildlink3.mk" |
.include "../../x11/libXrender/buildlink3.mk" |
.include "../../x11/libX11/buildlink3.mk" |
BUILDLINK_DEPMETHOD.libXt+= build # only for configure |
BUILDLINK_DEPMETHOD.libXt?= build # only for configure |
|
.include "../../x11/libXt/buildlink3.mk" |
.include "../../x11/libXt/buildlink3.mk" |
|
|
. if !empty(PKG_OPTIONS:Mxcb) |
. if !empty(PKG_OPTIONS:Mxcb) |
Line 34 CONFIGURE_ARGS+= --enable-xcb=no |
|
Line 31 CONFIGURE_ARGS+= --enable-xcb=no |
|
. endif |
. endif |
|
|
.else |
.else |
CONFIGURE_ARGS+= --disable-gl |
|
CONFIGURE_ARGS+= --disable-xlib |
CONFIGURE_ARGS+= --disable-xlib |
CONFIGURE_ARGS+= --disable-xlib-xrender |
CONFIGURE_ARGS+= --disable-xlib-xrender |
.endif |
.endif |