pkgsrc/www/dillo/options.mk
reed 10468e2523 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.
2006-05-27 03:22:32 +00:00

17 lines
398 B
Makefile

# $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