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 | 21320c56858c351e2e73c27218b145f537ce5eca (patch) | |
tree | 6ffead8acb194ec1fbac48ce0775c37129785ba2 /chat/icb/Makefile | |
parent | f288b33132eb60bc118bfe9876728638af40ffe9 (diff) | |
download | pkgsrc-21320c56858c351e2e73c27218b145f537ce5eca.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 |