summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
committerjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
commit2761568ac280270d3e97f7e38922103a7a4ff840 (patch)
tree090b4461321e87c968b099c0a26b69c4da29ff20 /news
parent48bbc6ce1f67bf684a69a2ea4678cd6f17f128e9 (diff)
downloadpkgsrc-2761568ac280270d3e97f7e38922103a7a4ff840.tar.gz
Convert to use the features framework.
Diffstat (limited to 'news')
-rw-r--r--news/cg/Makefile13
-rw-r--r--news/leafnode/Makefile7
-rw-r--r--news/suck/Makefile7
3 files changed, 7 insertions, 20 deletions
diff --git a/news/cg/Makefile b/news/cg/Makefile
index b6bae7a3877..c11506f09b6 100644
--- a/news/cg/Makefile
+++ b/news/cg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/09/06 21:51:53 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2007/09/08 21:57:58 jlam Exp $
#
DISTNAME= cg-0.4
@@ -11,16 +11,7 @@ COMMENT= Semi-automatic newsgroup binary downloader
GNU_CONFIGURE= YES
USE_TOOLS+= lex
+USE_FEATURES= regcomp
TEST_TARGET= check
-.include "../../mk/bsd.prefs.mk"
-
-.if !empty(LOWER_OPSYS:Mirix5*)
-. include "../../pkgtools/libnbcompat/inplace.mk" # <regex.h>
-SUBST_CLASSES+= regex_h
-SUBST_STAGE.regex_h= post-patch
-SUBST_FILES.regex_h= checkgroup.c
-SUBST_SED.regex_h= -e "s,<regex\.h>,<nbcompat/regex.h>,"
-.endif
-
.include "../../mk/bsd.pkg.mk"
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index 39f7fb9b031..8f148608e3e 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2007/09/07 22:12:21 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2007/09/08 21:57:58 jlam Exp $
DISTNAME= leafnode-1.11.3.rel
PKGNAME= ${DISTNAME:S/.rel//}
@@ -39,6 +39,8 @@ FILES_SUBST+= LEAFNODE_LOCKDIR=${LEAFNODE_LOCKDIR:Q}
FILES_SUBST+= LEAFNODE_HOME=${LEAFNODE_HOME:Q}
MESSAGE_SUBST+= LEAFNODE_CONFDIR=${LEAFNODE_CONFDIR}
+USE_FEATURES= snprintf vsnprintf
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-spooldir=${LEAFNODE_SPOOL:Q}
CONFIGURE_ARGS+= --with-lockfile=${LEAFNODE_LOCKDIR}/fetchnews.lck
@@ -71,8 +73,5 @@ post-install:
${WRKSRC}/README-daemontools \
${WRKSRC}/README.FIRST ${PREFIX}/share/doc/leafnode
-.if !empty(LOWER_OPSYS:Mirix5*)
-. include "../../pkgtools/libnbcompat/inplace.mk" # {,v}snprintf()
-.endif
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/news/suck/Makefile b/news/suck/Makefile
index b2ececb5f4f..2ae247f0ff8 100644
--- a/news/suck/Makefile
+++ b/news/suck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/09/06 21:51:53 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2007/09/08 21:57:59 jlam Exp $
#
DISTNAME= suck-4.3.2
@@ -13,8 +13,8 @@ HOMEPAGE= http://home.comcast.net/~bobyetman/
COMMENT= Feed a local news server without a dedicated newsfeed
GNU_CONFIGURE= yes
+USE_FEATURES= snprintf
-.include "../../mk/bsd.prefs.mk"
.include "options.mk"
post-patch:
@@ -27,8 +27,5 @@ post-install:
${CP} ${WRKSRC}/sample/* ${PREFIX}/share/examples/suck
${CHMOD} 644 ${PREFIX}/share/examples/suck/*
-.if !empty(LOWER_OPSYS:Mirix5*)
-. include "../../pkgtools/libnbcompat/inplace.mk" # snprintf()
-.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"