diff options
author | gdt <gdt> | 2011-11-22 14:09:49 +0000 |
---|---|---|
committer | gdt <gdt> | 2011-11-22 14:09:49 +0000 |
commit | 7d3168cc02446c827c6058b6736cf89e0668735c (patch) | |
tree | 06d2d9a26c1198eef9236b8569717f9f41d56335 /www/elinks | |
parent | cd40a1c9e9a613310fd0831539e3fdb825961413 (diff) | |
download | pkgsrc-7d3168cc02446c827c6058b6736cf89e0668735c.tar.gz |
Add option to link with python.
From reed@ and Mayuresh on pkgsrc-users.
Diffstat (limited to 'www/elinks')
-rw-r--r-- | www/elinks/options.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www/elinks/options.mk b/www/elinks/options.mk index 0ddf30227cc..a155b6acf88 100644 --- a/www/elinks/options.mk +++ b/www/elinks/options.mk @@ -1,10 +1,11 @@ -# $NetBSD: options.mk,v 1.11 2010/04/01 09:32:13 obache Exp $ +# $NetBSD: options.mk,v 1.12 2011/11/22 14:09:49 gdt Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.elinks PKG_SUPPORTED_OPTIONS+= bittorrent nntp javascript finger gopher PKG_SUPPORTED_OPTIONS+= inet6 x11 elinks-exmode expat PKG_SUPPORTED_OPTIONS+= elinks-html-highlight elinks-root-exec PKG_SUPPORTED_OPTIONS+= kerberos +PKG_SUPPORTED_OPTIONS+= python PKG_OPTIONS_GROUP.tls= gnutls ssl PKG_OPTIONS_GROUP.malloc= boehm-gc elinks-fastmem PKG_OPTIONS_REQUIRED_GROUPS= tls @@ -134,3 +135,10 @@ CONFIGURE_ARGS+= --with-gssapi .else CONFIGURE_ARGS+= --without-gssapi .endif + +.if !empty(PKG_OPTIONS:Mpython) +.include "../../lang/python/pyversion.mk" +CONFIGURE_ARGS+= --with-python=${PYTHONBIN} +.else +CONFIGURE_ARGS+= --without-python +.endif |