pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/scrollz Convert to options framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8dd22162ea1
branches:  trunk
changeset: 495122:b8dd22162ea1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 02 21:21:12 2005 +0000

description:
Convert to options framework.

diffstat:

 chat/scrollz/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 618e2ffd7b78 -r b8dd22162ea1 chat/scrollz/Makefile
--- a/chat/scrollz/Makefile     Thu Jun 02 21:03:32 2005 +0000
+++ b/chat/scrollz/Makefile     Thu Jun 02 21:21:12 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/04/11 21:45:05 tv Exp $
+# $NetBSD: Makefile,v 1.10 2005/06/02 21:21:12 wiz Exp $
 #
 
 DISTNAME=      ScrollZ-1.9
@@ -10,13 +10,14 @@
 HOMEPAGE=      http://www.scrollz.com/
 COMMENT=       Advanced IRC client based on ircII client
 
-BUILD_DEFS+=   USE_INET6
-
 GNU_CONFIGURE= yes
 
-.include "../../mk/bsd.prefs.mk"
+PKG_OPTIONS_VAR=       PKG_OPTIONS.scrollz
+PKG_SUPPORTED_OPTIONS= inet6
 
-.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=       --enable-ipv6
 .endif
 



Home | Main Index | Thread Index | Old Index