summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 07:05:46 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 07:05:46 +0000
commit1a6a15a039fad004ff6d4dee93975e9aa3d2f91b (patch)
treeee28a3c4c855960c78cdc65881ca19ffb76936e4
parent9b49134ee18634b5916315d7e45816557c23cff5 (diff)
downloadpkgsrc-1a6a15a039fad004ff6d4dee93975e9aa3d2f91b.tar.gz
+ Add termcap.buildlink3.mk to get proper termcap support across
platforms. Bump the PKGREVISION to 1.
-rw-r--r--archivers/hpack/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/archivers/hpack/Makefile b/archivers/hpack/Makefile
index 54650666092..5f441f9d200 100644
--- a/archivers/hpack/Makefile
+++ b/archivers/hpack/Makefile
@@ -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 @@ HPACK_CFLAGS= -DBSD386
.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 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/docs/hpackext.doc \
${DESTDIR}${PREFIX}/share/doc/hpack
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"