pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/elinks Add more options. Only include openssl/bl3....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/804cc8aee9c5
branches:  trunk
changeset: 522803:804cc8aee9c5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Dec 23 10:18:39 2006 +0000

description:
Add more options. Only include openssl/bl3.mk if ssl option is chosen
(no change for default options). From Blair Sadewitz in private mail.

diffstat:

 www/elinks/Makefile   |   3 +-
 www/elinks/options.mk |  70 +++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 58 insertions(+), 15 deletions(-)

diffs (129 lines):

diff -r 94bb59e71d50 -r 804cc8aee9c5 www/elinks/Makefile
--- a/www/elinks/Makefile       Sat Dec 23 09:35:01 2006 +0000
+++ b/www/elinks/Makefile       Sat Dec 23 10:18:39 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/12/06 22:28:58 reed Exp $
+# $NetBSD: Makefile,v 1.31 2006/12/23 10:18:39 wiz Exp $
 
 DISTNAME=              elinks-0.11.2
 CATEGORIES=            www
@@ -23,6 +23,5 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/lua/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 94bb59e71d50 -r 804cc8aee9c5 www/elinks/options.mk
--- a/www/elinks/options.mk     Sat Dec 23 09:35:01 2006 +0000
+++ b/www/elinks/options.mk     Sat Dec 23 10:18:39 2006 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: options.mk,v 1.3 2006/12/16 11:23:45 wiz Exp $
+# $NetBSD: options.mk,v 1.4 2006/12/23 10:18:39 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.elinks
-PKG_SUPPORTED_OPTIONS+=        bittorrent nntp spidermonkey fsp finger gopher
-PKG_SUPPORTED_OPTIONS+=        inet6 x11
+PKG_SUPPORTED_OPTIONS+=        bittorrent nntp spidermonkey finger gopher
+PKG_SUPPORTED_OPTIONS+=        inet6 x11 elinks-fastmem elinks-exmode expat
+PKG_SUPPORTED_OPTIONS+= elinks-html-highlight elinks-root-exec ssl
 PKG_OPTIONS_GROUP.tls= gnutls ssl
 PKG_OPTIONS_REQUIRED_GROUPS=   tls
 PKG_SUGGESTED_OPTIONS= ssl
@@ -16,8 +17,10 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mx11)
+
+.include "../../mk/x11.buildlink3.mk"
+
 CONFIGURE_ARGS+=       --with-x
-.include "../../mk/x11.buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --without-x
 .endif
@@ -35,30 +38,38 @@
 .endif
 
 .if !empty(PKG_OPTIONS:Mspidermonkey)
+
+.include "../../lang/spidermonkey/buildlink3.mk"
+
 CONFIGURE_ARGS+=       --with-spidermonkey
 CONFIGURE_ARGS+=       --enable-sm-scripting
-.include "../../lang/spidermonkey/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --without-spidermonkey
 CONFIGURE_ARGS+=       --disable-sm-scripting
 .endif
 
 .if !empty (PKG_OPTIONS:Mssl)
-CONFIGURE_ARGS+=       --with-openssl
+
 .include "../../security/openssl/buildlink3.mk"
-CONFIGURE_ARGS+=       --without-openssl
+
+CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
+
 .elif !empty(PKG_OPTIONS:Mgnutls)
+
+.include "../../security/gnutls/buildlink3.mk"
+
 CONFIGURE_ARGS+= --with-gnutls-includes=${BUILDLINK_PREFIX.gnutls}/include
 CONFIGURE_ARGS+= --with-gnutls-libs=${BUILDLINK_PREFIX.gnutls}/lib
 CONFIGURE_ARGS+= --without-openssl
-.include "../../security/gnutls/buildlink3.mk"
 .endif
 
-.if !empty(PKG_OPTIONS:Mfsp)
-CONFIGURE_ARGS+=       --enable-fsp
-.else
-CONFIGURE_ARGS+=       --disable-fsp
-.endif
+# Requires fsplib, which is not currently in pkgsrc.
+#
+#.if !empty(PKG_OPTIONS:Mfsp)
+#CONFIGURE_ARGS+=      --enable-fsp
+#.else
+#CONFIGURE_ARGS+=      --disable-fsp
+#.endif
 
 .if !empty(PKG_OPTIONS:Mfinger)
 CONFIGURE_ARGS+=       --enable-finger
@@ -71,3 +82,36 @@
 .else
 CONFIGURE_ARGS+=       --disable-gopher
 .endif
+
+.if !empty(PKG_OPTIONS:Mexpat)
+
+.include "../../textproc/expat/buildlink3.mk"
+
+CONFIGURE_ARGS+=       --enable-xbel
+.else
+CONFIGURE_ARGS+=       --disable-xbel
+.endif
+
+.if !empty(PKG_OPTIONS:Melinks-fastmem)
+CONFIGURE_ARGS+=       --enable-fastmem
+.else
+CONFIGURE_ARGS+=       --disable-fastmem
+.endif
+
+.if !empty(PKG_OPTIONS:Melinks-html-highlight)
+CONFIGURE_ARGS+=       --enable-html-highlight
+.else
+CONFIGURE_ARGS+=       --disable-html-hightlight
+.endif
+
+.if !empty(PKG_OPTIONS:Melinks-exmode)
+CONFIGURE_ARGS+=       --enable-exmode
+.else
+CONFIGURE_ARGS+=       --disable-exmode
+.endif
+
+.if !empty(PKG_OPTIONS:Melinks-root-exec)
+CONFIGURE_ARGS+=       --disable-no-root
+.else
+CONFIGURE_ARGS+=       --enable-no-root
+.endif



Home | Main Index | Thread Index | Old Index