summaryrefslogtreecommitdiff
path: root/chat/icb
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-06-02 01:41:19 +0000
committerschmonz <schmonz>2002-06-02 01:41:19 +0000
commit04dc6f932c79a84d849335b4733231081316c286 (patch)
treeb1321e04ebbd29efe1f3bd0a2bf75200f0ca38c5 /chat/icb
parent281e7f4d4f7b4611f4da286d9268bc2714231102 (diff)
downloadpkgsrc-04dc6f932c79a84d849335b4733231081316c286.tar.gz
Darwinize.
Diffstat (limited to 'chat/icb')
-rw-r--r--chat/icb/Makefile9
-rw-r--r--chat/icb/distinfo6
-rw-r--r--chat/icb/patches/patch-ae12
-rw-r--r--chat/icb/patches/patch-ao4
4 files changed, 24 insertions, 7 deletions
diff --git a/chat/icb/Makefile b/chat/icb/Makefile
index 2404bc5c97a..ad70887c725 100644
--- a/chat/icb/Makefile
+++ b/chat/icb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/06/26 16:36:50 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/06/02 01:41:19 schmonz Exp $
#
# Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way
@@ -15,9 +15,16 @@ COMMENT= Internet CB - a mostly-defunct chat client
NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL"
USE_BUILDLINK_ONLY= # defined
+.include "../../mk/bsd.prefs.mk"
+
do-configure:
@cd ${WRKSRC}; \
${SED} -e s,@PREFIX@,${PREFIX},g ${FILESDIR}/config >${WRKSRC}/config
+. if (${OPSYS} == "Darwin")
+ @${SED} -e s,-ltermcap,,g ${WRKSRC}/config >${WRKSRC}/config.new; \
+ ${MV} -f ${WRKSRC}/config.new ${WRKSRC}/config
+. endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
diff --git a/chat/icb/distinfo b/chat/icb/distinfo
index 8522d698c52..52c11070b1f 100644
--- a/chat/icb/distinfo
+++ b/chat/icb/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 11:07:17 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/06/02 01:41:19 schmonz Exp $
SHA1 (icb-5.0.9.tar.gz) = 151430ad7fe3e9787627b31f6551bf1f398b1bd8
Size (icb-5.0.9.tar.gz) = 357565 bytes
@@ -6,7 +6,7 @@ SHA1 (patch-aa) = 1790a2c85ec28fc6b741d56299dc287c29f6bf90
SHA1 (patch-ab) = 6a5970e1443834e9370c29ace56811f0ba35fa4e
SHA1 (patch-ac) = 87bc593c9678ca32d1d87d89ccd4c361bb1a8b53
SHA1 (patch-ad) = 8724940ed0a768298948b183c5573f11b0b5be1f
-SHA1 (patch-ae) = 533f5cad7a3004eb721eff193aa9eb89b2265ca0
+SHA1 (patch-ae) = 817514ee1ba9dd82a9790a403ed7028aa505e7d3
SHA1 (patch-af) = e168e171a08246264ebc616f160117f42caf0294
SHA1 (patch-ag) = 9e438a0a3911d08437feb6e4a08a7a8dd93bc461
SHA1 (patch-ah) = c116aecd6f7337c7df89807a62857252847c4917
@@ -16,7 +16,7 @@ SHA1 (patch-ak) = 0bd3aa7b872ae1248586f8f2726b0c6a4bb0b462
SHA1 (patch-al) = d61dcc6fda72137645a23ebeb2aef2e3bfa9a184
SHA1 (patch-am) = 1804aec297fa86f2a47cc7cf095783fedafbd9e5
SHA1 (patch-an) = bdf9ca0b1d791bd25f4bdb532a395146315c0d4d
-SHA1 (patch-ao) = 2694ea6016115441b6a4b29c1ff4df113f8e2c42
+SHA1 (patch-ao) = 6a0c0c9cfba5739edd707324e5ac3944444f3796
SHA1 (patch-ap) = 525a8f22f92444ef19612e657396d2b485b7e180
SHA1 (patch-aq) = ea21f5fcae657e0287892bba359977c66b272f7a
SHA1 (patch-ar) = 013c19ac1746e0af1a11cbc9161a38640fc2c990
diff --git a/chat/icb/patches/patch-ae b/chat/icb/patches/patch-ae
index c692985cebb..99912b09880 100644
--- a/chat/icb/patches/patch-ae
+++ b/chat/icb/patches/patch-ae
@@ -1,8 +1,18 @@
-$NetBSD: patch-ae,v 1.1.1.1 2000/12/15 00:36:38 wiz Exp $
+$NetBSD: patch-ae,v 1.2 2002/06/02 01:41:19 schmonz Exp $
diff -x *.orig -urN ./icb/icb.h /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/icb/icb.h
--- ./icb/icb.h Fri Feb 24 22:20:23 1995
+++ /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/icb/icb.h Fri Nov 26 22:56:30 1999
+@@ -9,7 +9,9 @@
+ #include <ctype.h>
+ #endif
+
++#ifndef __APPLE__
+ char *malloc();
++#endif
+
+ /* command usage information */
+
@@ -38,6 +38,7 @@
int beeps; /* whether beeps are audible */
char *editmode; /* input editing mode */
diff --git a/chat/icb/patches/patch-ao b/chat/icb/patches/patch-ao
index dea0259c490..de166c1e3a8 100644
--- a/chat/icb/patches/patch-ao
+++ b/chat/icb/patches/patch-ao
@@ -1,4 +1,4 @@
-$NetBSD: patch-ao,v 1.1.1.1 2000/12/15 00:36:39 wiz Exp $
+$NetBSD: patch-ao,v 1.2 2002/06/02 01:41:19 schmonz Exp $
diff -x *.orig -urN ./tcl/strerror.c /usr/pkgsrc/net/icb/work.i386.unpatched/icb-5.0.9/tcl/strerror.c
--- ./tcl/strerror.c Fri Feb 24 22:19:50 1995
@@ -7,7 +7,7 @@ diff -x *.orig -urN ./tcl/strerror.c /usr/pkgsrc/net/icb/work.i386.unpatched/icb
#include <stdio.h>
#include <string.h>
-+#if !defined(BSD4_4) && !defined(__linux__)
++#if !defined(BSD4_4) && !defined(__linux__) && !defined(__APPLE__)
/*
* List of known errors:
*/