diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-14 13:53:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-14 13:53:24 +0000 |
commit | 118ae0283c81520cf52b041f6918bced219ea6ef (patch) | |
tree | 6ffead8acb194ec1fbac48ce0775c37129785ba2 /chat/icb/Makefile | |
parent | 65bbc02ee05417987d6710ac03145905e1fac08b (diff) | |
download | pkgsrc-118ae0283c81520cf52b041f6918bced219ea6ef.tar.gz |
Teach the backbone of NetBSD communication some ISO C tricks.
- no errno, use errno.h
- no redefinition of function parameters as local variables
[how did this ever work?!]
- malloc comes from stdlib.h
- NAME_MAX is prefered when available, it is POSIX
- strchr, strpbrk, strspn, strstr, strtol and strtoul can and
should be used from libc.
- remove tcl version of string.h, system header is good enough
(and if it doesn't have index, it would have been broken anyway)
Diffstat (limited to 'chat/icb/Makefile')
-rw-r--r-- | chat/icb/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chat/icb/Makefile b/chat/icb/Makefile index c62dd6bf1fc..6ce33807cfa 100644 --- a/chat/icb/Makefile +++ b/chat/icb/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.11 2005/04/11 21:45:04 tv Exp $ +# $NetBSD: Makefile,v 1.12 2005/12/14 13:53:24 joerg Exp $ # # Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way # older than this here. It's got no readline support, tcl, ... - HF DISTNAME= icb-5.0.9 PKGNAME= icb-5.0.9pl1 +PKGREVISION= 1 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -24,6 +25,9 @@ BUILDLINK_TRANSFORM+= rm:-ltermcap INSTALLATION_DIRS= bin libdata libdata/icb +post-extract: + ${RM} ${WRKSRC}/tcl/string.h + do-configure: ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/config >${WRKSRC}/config |