pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/hpack + Add termcap.buildlink3.mk to get pro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/86ee34ca1536
branches:  trunk
changeset: 539243:86ee34ca1536
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Mar 02 07:05:46 2008 +0000

description:
+ Add termcap.buildlink3.mk to get proper termcap support across
  platforms.

Bump the PKGREVISION to 1.

diffstat:

 archivers/hpack/Makefile |  13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diffs (35 lines):

diff -r 90e025c3eb41 -r 86ee34ca1536 archivers/hpack/Makefile
--- a/archivers/hpack/Makefile  Sun Mar 02 07:05:28 2008 +0000
+++ b/archivers/hpack/Makefile  Sun Mar 02 07:05:46 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2008/03/01 03:58:10 jlam Exp $
+# $NetBSD: Makefile,v 1.36 2008/03/02 07:05:46 jlam Exp $
 
 DISTNAME=      hpack79src
 PKGNAME=       hpack-0.79
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    archivers
 MASTER_SITES=  ftp://ftp.franken.de/pub/crypt/misc/
 
@@ -29,13 +29,7 @@
 .endif
 HPACK_CFLAGS+= -c -D__UNIX__ -DPREFIX="\"${PREFIX}\"" -I. -Icrypt
 HPACK_CFLAGS+= ${CPPFLAGS} ${CFLAGS}
-
-HPACK_LDFLAGS= ${LDFLAGS}
-.if ${OPSYS} == "Darwin"
-HPACK_LDFLAGS+=        -lcurses
-.else
-HPACK_LDFLAGS+=        -ltermcap
-.endif
+HPACK_LDFLAGS= ${LDFLAGS} ${BUILDLINK_LDADD.termcap}
 
 CONF_FILES=    ${PREFIX}/share/hpack/hpack.cfg.example         \
                ${PKG_SYSCONFDIR}/hpack.cfg
@@ -59,4 +53,5 @@
        ${INSTALL_DATA} ${WRKSRC}/docs/hpackext.doc \
                ${DESTDIR}${PREFIX}/share/doc/hpack
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index