diff options
Diffstat (limited to 'security/ssh2/options.mk')
-rw-r--r-- | security/ssh2/options.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/security/ssh2/options.mk b/security/ssh2/options.mk index eeb0c8e7d76..85111a30286 100644 --- a/security/ssh2/options.mk +++ b/security/ssh2/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2007/08/09 20:28:10 tnn Exp $ +# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:12 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ssh2 PKG_SUPPORTED_OPTIONS= x11 @@ -6,9 +6,11 @@ PKG_SUGGESTED_OPTIONS= x11 .include "../../mk/bsd.options.mk" +PLIST_VARS+= x11 + .if !empty(PKG_OPTIONS:Mx11) CONFIGURE_ARGS+= --with-x -PLIST_SUBST+= X11_SUPPORT= +PLIST.x11= yes .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libSM/buildlink3.mk" BUILDLINK_DEPMETHOD.libXt?= build @@ -19,5 +21,4 @@ CONFIGURE_ENV+= ac_cv_path_XAUTH_PATH=${PREFIX:Q}/bin/xauth .endif .else CONFIGURE_ARGS+= --without-x -PLIST_SUBST+= X11_SUPPORT='@comment ' .endif |