diff options
author | wiz <wiz@pkgsrc.org> | 2006-12-23 10:18:39 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-12-23 10:18:39 +0000 |
commit | c14474c73979a8c5657e5c2d292a3913268f2982 (patch) | |
tree | 3a54a8039207c39737905da8e92b3ce5c186d8ab /www/elinks | |
parent | 286b463f167c301d2bd1ef828d923a75604bd974 (diff) | |
download | pkgsrc-c14474c73979a8c5657e5c2d292a3913268f2982.tar.gz |
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 (limited to 'www/elinks')
-rw-r--r-- | www/elinks/Makefile | 3 | ||||
-rw-r--r-- | www/elinks/options.mk | 70 |
2 files changed, 58 insertions, 15 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile index 938c5170d3e..f7c6541ffae 100644 --- a/www/elinks/Makefile +++ b/www/elinks/Makefile @@ -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 @@ CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q} .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 --git a/www/elinks/options.mk b/www/elinks/options.mk index 33f041f5597..6ca151a6ffd 100644 --- a/www/elinks/options.mk +++ b/www/elinks/options.mk @@ -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 @@ CONFIGURE_ARGS+= --disable-ipv6 .endif .if !empty(PKG_OPTIONS:Mx11) -CONFIGURE_ARGS+= --with-x + .include "../../mk/x11.buildlink3.mk" + +CONFIGURE_ARGS+= --with-x .else CONFIGURE_ARGS+= --without-x .endif @@ -35,30 +38,38 @@ CONFIGURE_ARGS+= --disable-nntp .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 @@ CONFIGURE_ARGS+= --enable-gopher .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 |