pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: elinks 0.12 python option
On Sat, 20 Aug 2011, Mayuresh wrote:
> elinks 0.12 has a python scripting option. I requested sysadmin on my
> setup to enable the option. I got to know, the elinks port on NetBSD does
> not provide this option.
>
> Can this option be enabled for elinks NetBSD port?
I didn't test it, but maybe try:
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/www/elinks/options.mk,v
retrieving revision 1.11
diff -u -r1.11 options.mk
--- options.mk 1 Apr 2010 09:32:13 -0000 1.11
+++ options.mk 20 Aug 2011 19:45:47 -0000
@@ -5,6 +5,7 @@
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 @@
.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
Then make clean and then build with:
make PKG_OPTIONS.elinks=python
Home |
Main Index |
Thread Index |
Old Index