diff options
author | reed <reed> | 2006-05-27 03:22:32 +0000 |
---|---|---|
committer | reed <reed> | 2006-05-27 03:22:32 +0000 |
commit | 46c5e1a2a894e325f9da36476d2656da158b51df (patch) | |
tree | bab9f820b6a25d969cc53bdc49da9dfd3f5f0909 /www/dillo/options.mk | |
parent | c03bf95448bb0f6f3524a1b2b56e56900432a762 (diff) | |
download | pkgsrc-46c5e1a2a894e325f9da36476d2656da158b51df.tar.gz |
Move options to separate options.mk file.
And add new option: dillo-ssl
The openssl buildlink3.mk is only used when that is enabled.
The package didn't use openssl and the https was disabled in the
code. The new option which is off by default can be used to
enable ssl. Note that is experimental for dillo and does not
appear to work very good.
No change to default package except on systems where it had an
un-needed dependency on openssl package -- so bump PKGREVISION
for that.
Diffstat (limited to 'www/dillo/options.mk')
-rw-r--r-- | www/dillo/options.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/dillo/options.mk b/www/dillo/options.mk new file mode 100644 index 00000000000..d93feaa2e81 --- /dev/null +++ b/www/dillo/options.mk @@ -0,0 +1,17 @@ +# $NetBSD: options.mk,v 1.1 2006/05/27 03:22:32 reed Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.dillo +PKG_SUPPORTED_OPTIONS= inet6 dillo-ssl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +.if !empty(PKG_OPTIONS:Mdillo-ssl) +CONFIGURE_ARGS+= --enable-ssl +.include "../../security/openssl/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-ssl +.endif |