From 5fff88a4fc88f0718b32d4575a7147b7e7b0a927 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 2 Jun 2005 18:11:34 +0000 Subject: Convert to options framework. --- www/dillo/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'www/dillo') diff --git a/www/dillo/Makefile b/www/dillo/Makefile index c6a3727bb51..d400a3a58fc 100644 --- a/www/dillo/Makefile +++ b/www/dillo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2005/06/01 18:03:26 jlam Exp $ +# $NetBSD: Makefile,v 1.28 2005/06/02 18:11:34 wiz Exp $ DISTNAME= dillo-0.8.4 CATEGORIES= www @@ -18,10 +18,12 @@ EGDIR= ${PREFIX}/share/examples/dillo CONF_FILES= ${EGDIR}/dillorc.default ${PKG_SYSCONFDIR}/dillorc CONF_FILES+= ${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc -.include "../../mk/bsd.prefs.mk" +PKG_OPTIONS_VAR= PKG_OPTIONS.dillo +PKG_SUPPORTED_OPTIONS= inet6 -.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss]) -BUILD_DEFS+= USE_INET6 +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .endif -- cgit v1.2.3