ae27dd5309
Update HOMEPAGE and MASTER_SITES 3.99.* use autoconf/automake and libtool. It should work on alpha and other 64 platforms Convert to use the option framework. Options xaw and motif enable xaw and motif widget support. Both imply x11 support. The update should fix PR 31750
36 lines
841 B
Makefile
36 lines
841 B
Makefile
# $NetBSD: options.mk,v 1.1 2005/10/15 23:07:21 tonio Exp $
|
|
|
|
# Global and legacy options
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.elk
|
|
PKG_SUPPORTED_OPTIONS= xaw motif
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### x11 support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mxaw) || !empty(PKG_OPTIONS:Mmotif)
|
|
. include "../../mk/x11.buildlink3.mk"
|
|
PLIST_SUBST+= WITHX11=""
|
|
. if !empty(PKG_OPTIONS:Mxaw)
|
|
PLIST_SUBST+= WITHXAW=""
|
|
ELK_AWK="yes"
|
|
. include "../../mk/xaw.buildlink3.mk"
|
|
. else
|
|
PLIST_SUBST+= WITHXAW="@comment "
|
|
ELK_AWK="no"
|
|
. endif
|
|
. if !empty(PKG_OPTIONS:Mmotif)
|
|
. include "../../mk/motif.buildlink3.mk"
|
|
PLIST_SUBST+= WITHMOTIF=""
|
|
. else
|
|
PLIST_SUBST+= WITHMOTIF="@comment "
|
|
. endif
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
PLIST_SUBST+= WITHMOTIF="@comment "
|
|
PLIST_SUBST+= WITHX11="@comment "
|
|
PLIST_SUBST+= WITHXAW="@comment "
|
|
.endif
|