diff options
author | wiz <wiz@pkgsrc.org> | 2006-02-04 00:33:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-02-04 00:33:17 +0000 |
commit | 2fd32003081e7bd662378206efd64a0d83740858 (patch) | |
tree | 199e9c50fc7a57673ad89c2187d01b809bb0bb02 /security/ssh2/options.mk | |
parent | 359d22f89ae2b66fea5470c0ef4e0b83644548f4 (diff) | |
download | pkgsrc-2fd32003081e7bd662378206efd64a0d83740858.tar.gz |
Add x11 option to ssh2 package.
Remove obsolete ssh2-nox11 package.
Replaces PR 32716 by Tracy Di Marco White.
Diffstat (limited to 'security/ssh2/options.mk')
-rw-r--r-- | security/ssh2/options.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ssh2/options.mk b/security/ssh2/options.mk new file mode 100644 index 00000000000..34360c59435 --- /dev/null +++ b/security/ssh2/options.mk @@ -0,0 +1,16 @@ +# $NetBSD: options.mk,v 1.1 2006/02/04 00:33:17 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ssh2 +PKG_SUPPORTED_OPTIONS= x11 +PKG_SUGGESTED_OPTIONS= x11 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mx11) +CONFIGURE_ARGS+= --with-x +PLIST_SUBST+= X11_SUPPORT= +.include "../../mk/x11.buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-x +PLIST_SUBST+= X11_SUPPORT='@comment ' +.endif |