1 # $NetBSD: options.mk,v 1.2 2007/08/17 22:27:15 joerg Exp $
3 # Global and legacy options
5 PKG_OPTIONS_VAR
= PKG_OPTIONS.elk
6 PKG_SUPPORTED_OPTIONS
= xaw motif
9 .
include "../../mk/bsd.options.mk"
11 PLIST_VARS
+= x11 xaw motif
16 .if
!empty
(PKG_OPTIONS
:Mxaw
) ||
!empty
(PKG_OPTIONS
:Mmotif
)
18 . if
!empty
(PKG_OPTIONS
:Mxaw
)
20 CONFIGURE_ENV
+= WITH_XAW
="yes"
21 .
include "../../mk/xaw.buildlink3.mk"
23 CONFIGURE_ENV
+= WITH_XAW
="no"
25 . if
!empty
(PKG_OPTIONS
:Mmotif
)
26 .
include "../../mk/motif.buildlink3.mk"
30 CONFIGURE_ARGS
+= --without-x