2005-12-31 17:28:40 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2005/12/31 16:28:40 ben Exp $
|
2005-12-09 21:40:56 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.groff
|
|
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
CONFIGURE_ARGS+= --with-appresdir=${PREFIX}/lib/X11/app-defaults
|
|
|
|
PLIST_SRC= PLIST.x11 PLIST
|
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
2005-12-31 17:28:40 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Interix"
|
|
|
|
CONFIGURE_ENV+= X_EXTRA_LIBS=-lXext
|
|
|
|
.endif
|
2005-12-09 21:40:56 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
.endif
|