f8e628f818
are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk".
27 lines
681 B
Makefile
27 lines
681 B
Makefile
# $NetBSD: options.mk,v 1.3 2013/07/15 02:02:28 ryoon Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pwsafe
|
|
PKG_SUPPORTED_OPTIONS= readline x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mreadline)
|
|
CONFIGURE_ARGS+= --with-readline
|
|
. include "../../devel/readline/buildlink3.mk"
|
|
. include "../../devel/ncurses/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-readline
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
.endif
|