pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/dillo Convert to options framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89efd524e001
branches:  trunk
changeset: 495103:89efd524e001
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 02 18:11:34 2005 +0000

description:
Convert to options framework.

diffstat:

 www/dillo/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 2b849814ecc2 -r 89efd524e001 www/dillo/Makefile
--- a/www/dillo/Makefile        Thu Jun 02 18:10:48 2005 +0000
+++ b/www/dillo/Makefile        Thu Jun 02 18:11:34 2005 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index