pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/icb + Add termcap.buildlink3.mk to get proper ter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2215dafa6060
branches:  trunk
changeset: 539244:2215dafa6060
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Mar 02 07:06:20 2008 +0000

description:
+ 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.

diffstat:

 chat/icb/Makefile     |  11 +++--------
 chat/icb/files/config |   4 ++--
 2 files changed, 5 insertions(+), 10 deletions(-)

diffs (54 lines):

diff -r 86ee34ca1536 -r 2215dafa6060 chat/icb/Makefile
--- a/chat/icb/Makefile Sun Mar 02 07:05:46 2008 +0000
+++ b/chat/icb/Makefile Sun Mar 02 07:06:20 2008 +0000
@@ -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 @@
 
 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 @@
        ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${DESTDIR}${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${DESTDIR}${EGDIR}
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 86ee34ca1536 -r 2215dafa6060 chat/icb/files/config
--- a/chat/icb/files/config     Sun Mar 02 07:05:46 2008 +0000
+++ b/chat/icb/files/config     Sun Mar 02 07:06:20 2008 +0000
@@ -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 @@
 SYSDEP         =sysdep.bsd
 
 # Other libraries to include.
-OTHERLIBS      =-lcurses -ltermcap
+OTHERLIBS      =-ltermcap
 
 # Resolver library
 RESOLVLIB      =



Home | Main Index | Thread Index | Old Index