summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-08-26 15:39:07 +0000
committerschwarz <schwarz@pkgsrc.org>2006-08-26 15:39:07 +0000
commit79d60be97eddd2cb77e23d7f3867b56a115b0332 (patch)
tree4bbd4791d43ab182583d90cad473cad4930580f5 /pkgtools
parent610bedcae98132feefb7ddd69e4d3ec2edd690c8 (diff)
downloadpkgsrc-79d60be97eddd2cb77e23d7f3867b56a115b0332.tar.gz
include libnbcompat on IRIX 5 in order to provide snprintf()
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/digest/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/digest/Makefile b/pkgtools/digest/Makefile
index 9e5c1bf85b3..49b1c7418b5 100644
--- a/pkgtools/digest/Makefile
+++ b/pkgtools/digest/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2006/07/18 23:06:41 jlam Exp $
+# $NetBSD: Makefile,v 1.50 2006/08/26 15:39:07 schwarz Exp $
#
# When adding new digest algorithms, please use rmd160 as the template,
# and bump the VERSION definition.
@@ -40,4 +40,8 @@ do-test:
@cd ${WRKSRC} && ${SETENV} DIGESTDIR=${WRKSRC} ${SH} ./regress.sh
@${ECHO} "All tests completed"
+.if !empty(LOWER_OPSYS:Mirix5*)
+# digest uses snprintf()
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"