pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/cucipop Finish conversion to options framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d54ad31b0a9c
branches:  trunk
changeset: 494994:d54ad31b0a9c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jun 01 14:37:31 2005 +0000

description:
Finish conversion to options framework.

diffstat:

 mail/cucipop/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r c7e26ff7b6ea -r d54ad31b0a9c mail/cucipop/Makefile
--- a/mail/cucipop/Makefile     Wed Jun 01 14:37:14 2005 +0000
+++ b/mail/cucipop/Makefile     Wed Jun 01 14:37:31 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2005/04/11 21:46:18 tv Exp $
+# $NetBSD: Makefile,v 1.20 2005/06/01 14:37:31 wiz Exp $
 #
 
 DISTNAME=      cucipop-1.31
@@ -17,8 +17,6 @@
 
 LICENSE=       shareware
 
-BUILD_DEFS+=   USE_INET6
-
 MAKE_ENV+=     ROOT_USER="${ROOT_USER}"
 MAKE_ENV+=     ROOT_GROUP="${ROOT_GROUP}"
 
@@ -26,7 +24,7 @@
 SPECIAL_PERMS+=        ${PREFIX}/sbin/cucipop ${ROOT_USER} ${ROOT_GROUP} 2755
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.cucipop
-PKG_SUPPORTED_OPTIONS= db
+PKG_SUPPORTED_OPTIONS= db inet6
 
 .include "../../mk/bsd.prefs.mk"
 .include "../../mk/bsd.options.mk"
@@ -38,8 +36,7 @@
 .  include "../../mk/bdb.buildlink3.mk"
 .endif
 
-# to be friendly with pre-1.5 systems
-.if defined(USE_INET6) && (${USE_INET6} == "YES")
+.if !empty(PKG_OPTIONS:Minet6)
 MAKE_ENV+=     CFLAGS_INET6=-DINET6
 .endif
 



Home | Main Index | Thread Index | Old Index