summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 07:06:20 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 07:06:20 +0000
commit94cf4505bd25632cc4556afcde422481b9773f37 (patch)
tree5cb003386cc96a615a4242906400c45f1d8897ed
parent1a6a15a039fad004ff6d4dee93975e9aa3d2f91b (diff)
downloadpkgsrc-94cf4505bd25632cc4556afcde422481b9773f37.tar.gz
+ Add termcap.buildlink3.mk to get proper termcap support across
platforms. + Remove -lcurses from link command -- icb only needs termcap support, and then only for the embedded readline library. Bump the PKGREVISION to 4.
-rw-r--r--chat/icb/Makefile11
-rw-r--r--chat/icb/files/config4
2 files changed, 5 insertions, 10 deletions
diff --git a/chat/icb/Makefile b/chat/icb/Makefile
index 8eda7c65f11..08aff3c8c24 100644
--- a/chat/icb/Makefile
+++ b/chat/icb/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.17 2008/03/01 04:17:29 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/02 07:06:20 jlam 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= 3
+PKGREVISION= 4
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -18,12 +18,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
NO_SRC_ON_FTP= already in MASTER_SITE_LOCAL
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-ltermcap
-.endif
-
INSTALLATION_DIRS= bin ${ICBLIBDIR} ${EGDIR}
EGDIR= ${PREFIX}/share/examples/icb
ICBLIBDIR= ${PREFIX}/libdata/icb
@@ -44,4 +38,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/icbserverdb ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${DESTDIR}${EGDIR}
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/icb/files/config b/chat/icb/files/config
index 765076a8244..e159164cdc9 100644
--- a/chat/icb/files/config
+++ b/chat/icb/files/config
@@ -1,4 +1,4 @@
-# $NetBSD: config,v 1.1.1.1 2000/12/15 00:36:37 wiz Exp $
+# $NetBSD: config,v 1.2 2008/03/02 07:06:20 jlam Exp $
#
# THIS IS AN AUTOMATICALLY GENERATED FILE
#
@@ -30,7 +30,7 @@ LFLAGS = -u -DNO_LRAND48 -DSTRINGS_H -DTIME_H -DVOID_SIGHANDLER=1
SYSDEP =sysdep.bsd
# Other libraries to include.
-OTHERLIBS =-lcurses -ltermcap
+OTHERLIBS =-ltermcap
# Resolver library
RESOLVLIB =